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 cb20ed151..50bd2412b 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 @@ -18729,6 +18729,422 @@ } } }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-paginated" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/orgs/{org}/copilot/content_exclusion": { "get": { "summary": "Get Copilot content exclusion rules for an organization", @@ -103723,6 +104139,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", 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 3b3aa0a8b..37cef552a 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 @@ -13627,6 +13627,334 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + required: + - total_count + - repositories + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -74762,6 +75090,13 @@ components: to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access token to view and + manage Copilot coding agent settings for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access token to view and diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index a4624d91a..9f4d8ea90 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -18687,6 +18687,422 @@ } } }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-paginated" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/orgs/{org}/copilot/content_exclusion": { "get": { "summary": "Get Copilot content exclusion rules for an organization", @@ -103552,6 +103968,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 589bebc1a..041ef4e57 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -13593,6 +13593,334 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + required: + - total_count + - repositories + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -74626,6 +74954,13 @@ components: to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access token to view and + manage Copilot coding agent settings for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access token to view and diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 45f755a11..e99ad5a2e 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -18831,6 +18831,422 @@ } } }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-paginated" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/orgs/{org}/copilot/content_exclusion": { "get": { "summary": "Get Copilot content exclusion rules for an organization", @@ -104201,6 +104617,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index c742fcee2..7817b0f71 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -13681,6 +13681,334 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + required: + - total_count + - repositories + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: No Content + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -75049,6 +75377,13 @@ components: to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access token to view and + manage Copilot coding agent settings for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access token to view and 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 da594eaff..7c7884306 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 @@ -5695,6 +5695,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -6827,6 +6835,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -7732,6 +7748,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -8202,6 +8226,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -10557,1170 +10589,1186 @@ "write" ] }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": [ - "read" - ] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": [ - "read", - "write" - ] - }, - "email_addresses": { - "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": [ - "read", - "write" - ] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": [ - "read", - "write" - ] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": [ - "write" - ] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", - "enum": [ - "read", - "write", - "admin" - ] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - }, - "single_file_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "config.yaml" - ] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [ - true - ] - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "account": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ] - } - ] - }, - "expires_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - } - }, - "required": [ - "app", - "id", - "note", - "note_url", - "scopes", - "token", - "hashed_token", - "token_last_eight", - "fingerprint", - "url", - "created_at", - "updated_at", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo", - "user" - ], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "Iv1.8a61f9b3a7aba766" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678", - "expires_at": "2011-09-08T17:26:27Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - } - } - }, - "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" - } - } - ] - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "apps", - "subcategory": "oauth-applications" - } - }, - "patch": { - "summary": "Reset a token", - "description": "OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.", - "tags": [ - "apps" - ], - "operationId": "apps/reset-token", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/apps/oauth-applications#reset-a-token" - }, - "parameters": [ - { - "name": "client_id", - "in": "path", - "required": true, - "description": "The client ID of the GitHub app.", - "schema": { - "type": "string" - }, - "examples": { - "default": { - "value": "Iv1.8a61f9b3a7aba766" - } - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "access_token": { - "description": "The access_token of the OAuth or GitHub application.", - "type": "string" - } - }, - "required": [ - "access_token" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Authorization", - "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "url": { - "type": "string", - "format": "uri" - }, - "scopes": { - "description": "A list of scopes that this authorization is in.", - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "token": { - "type": "string" - }, - "token_last_eight": { - "type": [ - "string", - "null" - ] - }, - "hashed_token": { - "type": [ - "string", - "null" - ] - }, - "app": { - "type": "object", - "properties": { - "client_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "client_id", - "name", - "url" - ] - }, - "note": { - "type": [ - "string", - "null" - ] - }, - "note_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "fingerprint": { - "type": [ - "string", - "null" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "installation": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Scoped Installation", - "type": "object", - "properties": { - "permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": [ - "read", - "write" - ] - }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, - "attestations": { - "type": "string", - "description": "The level of permission to create and retrieve the access token for repository attestations.", - "enum": [ - "read", - "write" - ] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": [ - "read", - "write" - ] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": [ - "read", - "write" - ] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": [ - "read", - "write" - ] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - "discussions": { - "type": "string", - "description": "The level of permission to grant the access token for discussions and related comments and labels.", - "enum": [ - "read", - "write" - ] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - "issues": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "single_file_name": { + "type": [ + "string", + "null" + ], + "examples": [ + "config.yaml" + ] + }, + "has_multiple_single_files": { + "type": "boolean", + "examples": [ + true + ] + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "account": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ] + } + ] + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "app", + "id", + "note", + "note_url", + "scopes", + "token", + "hashed_token", + "token_last_eight", + "fingerprint", + "url", + "created_at", + "updated_at", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "url": "https://api.github.com/authorizations/1", + "scopes": [ + "public_repo", + "user" + ], + "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", + "token_last_eight": "Ae178B4a", + "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "app": { + "url": "http://my-github-app.com", + "name": "my github app", + "client_id": "Iv1.8a61f9b3a7aba766" + }, + "note": "optional note", + "note_url": "http://optional/note/url", + "updated_at": "2011-09-06T20:39:23Z", + "created_at": "2011-09-06T17:26:27Z", + "fingerprint": "jklmnop12345678", + "expires_at": "2011-09-08T17:26:27Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "apps", + "subcategory": "oauth-applications" + } + }, + "patch": { + "summary": "Reset a token", + "description": "OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.", + "tags": [ + "apps" + ], + "operationId": "apps/reset-token", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/apps/oauth-applications#reset-a-token" + }, + "parameters": [ + { + "name": "client_id", + "in": "path", + "required": true, + "description": "The client ID of the GitHub app.", + "schema": { + "type": "string" + }, + "examples": { + "default": { + "value": "Iv1.8a61f9b3a7aba766" + } + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "properties": { + "access_token": { + "description": "The access_token of the OAuth or GitHub application.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + }, + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Authorization", + "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "url": { + "type": "string", + "format": "uri" + }, + "scopes": { + "description": "A list of scopes that this authorization is in.", + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "type": [ + "string", + "null" + ] + }, + "hashed_token": { + "type": [ + "string", + "null" + ] + }, + "app": { + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "client_id", + "name", + "url" + ] + }, + "note": { + "type": [ + "string", + "null" + ] + }, + "note_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "fingerprint": { + "type": [ + "string", + "null" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "installation": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Scoped Installation", + "type": "object", + "properties": { + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "artifact_metadata": { + "type": "string", + "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", + "enum": [ + "read", + "write" + ] + }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "enum": [ "read", "write" ] }, - "merge_queues": { - "type": "string", - "description": "The level of permission to grant the access token to manage the merge queues for a repository.", - "enum": [ - "read", - "write" - ] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": [ - "read", - "write" - ] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": [ - "read", - "write" - ] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": [ - "read", - "write" - ] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": [ - "read", - "write" - ] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - "custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": [ - "write" - ] - }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -12749,6 +12797,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13480,6 +13536,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -124780,8 +124844,2464 @@ } } }, - "401": { - "description": "Requires authentication", + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-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", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-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": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "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", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "has_commit_comments": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "template_repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "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": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -124806,8 +127326,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -124832,8 +127352,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -124859,26 +127379,98 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "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": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -124889,71 +127481,49 @@ "schema": { "type": "string" } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } } } }, - "500": { - "description": "Internal Error", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -124978,8 +127548,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -125004,8 +127574,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -125030,8 +127600,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -125055,16 +127625,13 @@ } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } } }, @@ -149499,6 +152066,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -150646,6 +153221,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -419779,6 +422362,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -699505,6 +702096,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -789594,6 +792193,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1020955,6 +1023562,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1024086,6 +1026701,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1027122,6 +1029745,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1030158,6 +1032789,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1033328,6 +1035967,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1036505,6 +1039152,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1041701,6 +1044356,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", 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 ad67e23a4..db4032f6a 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 @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &308 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &624 + - &625 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &198 + - &199 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &199 + items: &200 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &200 + default: &201 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &202 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &202 + default: &203 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2576,6 +2576,14 @@ paths: This property is in public preview and is subject to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access + token to view and manage Copilot coding agent settings + for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access @@ -9308,7 +9316,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &184 + - &185 name: state in: query description: |- @@ -9317,7 +9325,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &185 + - &186 name: severity in: query description: |- @@ -9326,7 +9334,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &186 + - &187 name: ecosystem in: query description: |- @@ -9335,14 +9343,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &187 + - &188 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &188 + - &189 name: epss_percentage in: query description: |- @@ -9354,7 +9362,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &464 + - &465 name: has in: query description: |- @@ -9368,7 +9376,7 @@ paths: type: string enum: - patch - - &189 + - &190 name: assignee in: query description: |- @@ -9377,7 +9385,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &190 + - &191 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9387,7 +9395,7 @@ paths: enum: - development - runtime - - &191 + - &192 name: sort in: query description: |- @@ -9413,7 +9421,7 @@ paths: application/json: schema: type: array - items: &192 + items: &193 type: object description: A Dependabot alert. properties: @@ -9483,7 +9491,7 @@ paths: - direct - transitive - - security_advisory: &465 + security_advisory: &466 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9751,7 +9759,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &466 + auto_dismissed_at: &467 type: - string - 'null' @@ -9759,7 +9767,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &467 + dismissal_request: &468 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9822,7 +9830,7 @@ paths: - repository additionalProperties: false examples: - default: &193 + default: &194 value: - number: 2 state: dismissed @@ -11687,7 +11695,7 @@ paths: milestone: anyOf: - type: 'null' - - &259 + - &260 title: Milestone description: A collection of related issues and pull requests. @@ -11859,7 +11867,7 @@ paths: timeline_url: type: string format: uri - type: &223 + type: &224 title: Issue Type description: The type of issue. type: @@ -11970,7 +11978,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &636 + sub_issues_summary: &637 title: Sub-issues Summary type: object properties: @@ -12054,7 +12062,7 @@ paths: pin: anyOf: - type: 'null' - - &537 + - &538 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -12081,7 +12089,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &637 + issue_dependencies_summary: &638 title: Issue Dependencies Summary type: object properties: @@ -12100,7 +12108,7 @@ paths: - total_blocking issue_field_values: type: array - items: &522 + items: &523 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12883,7 +12891,7 @@ paths: type: string release: allOf: - - &569 + - &570 title: Release description: A release. type: object @@ -12965,7 +12973,7 @@ paths: author: *4 assets: type: array - items: &570 + items: &571 title: Release Asset description: Data related to a release. type: object @@ -13568,7 +13576,7 @@ paths: url: type: string format: uri - user: &643 + user: &644 title: Public User description: Public User type: object @@ -15465,7 +15473,7 @@ paths: - closed - all default: open - - &226 + - &227 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15516,7 +15524,7 @@ paths: type: array items: *75 examples: - default: &227 + default: &228 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16928,14 +16936,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &318 + - &319 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &320 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16997,7 +17005,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &323 description: Moved permanently content: application/json: @@ -17019,7 +17027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &545 + - &546 name: all description: If `true`, show notifications marked as read. in: query @@ -17027,7 +17035,7 @@ paths: schema: type: boolean default: false - - &546 + - &547 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17037,7 +17045,7 @@ paths: type: boolean default: false - *80 - - &547 + - &548 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: @@ -17421,7 +17429,7 @@ paths: type: boolean examples: - false - security_and_analysis: &274 + security_and_analysis: &275 type: - object - 'null' @@ -17625,7 +17633,7 @@ paths: - url - subscription_url examples: - default: &548 + default: &549 value: - id: '1' repository: @@ -20440,7 +20448,7 @@ paths: type: integer repository_cache_usages: type: array - items: &329 + items: &330 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21792,7 +21800,7 @@ paths: - all - local_only - selected - selected_actions_url: &335 + selected_actions_url: &336 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` @@ -21875,7 +21883,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &340 type: object properties: days: @@ -21917,7 +21925,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &341 type: object properties: days: @@ -21974,7 +21982,7 @@ paths: required: - approval_policy examples: - default: &341 + default: &342 value: approval_policy: first_time_contributors '404': *6 @@ -22033,7 +22041,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 type: object required: - run_workflows_from_fork_pull_requests @@ -22087,7 +22095,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &344 type: object required: - run_workflows_from_fork_pull_requests @@ -22722,7 +22730,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &345 type: object properties: default_workflow_permissions: &141 @@ -22773,7 +22781,7 @@ paths: required: false content: application/json: - schema: &345 + schema: &346 type: object properties: default_workflow_permissions: *141 @@ -23266,7 +23274,7 @@ paths: type: array items: *148 examples: - default: &646 + default: &184 value: total_count: 1 repositories: @@ -23913,7 +23921,7 @@ paths: application/json: schema: type: array - items: &346 + items: &347 title: Runner Application description: Runner Application type: object @@ -23938,7 +23946,7 @@ paths: - download_url - filename examples: - default: &347 + default: &348 value: - os: osx architecture: x64 @@ -24024,7 +24032,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &348 + '201': &349 description: Response content: application/json: @@ -24139,7 +24147,7 @@ paths: - token - expires_at examples: - default: &349 + default: &350 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -24178,7 +24186,7 @@ paths: application/json: schema: *152 examples: - default: &350 + default: &351 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -24212,7 +24220,7 @@ paths: application/json: schema: *150 examples: - default: &351 + default: &352 value: id: 23 name: MBP @@ -24438,7 +24446,7 @@ paths: - *67 - *149 responses: - '200': &352 + '200': &353 description: Response content: application/json: @@ -24495,7 +24503,7 @@ paths: parameters: - *67 - *149 - - &353 + - &354 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24627,7 +24635,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &366 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24662,7 +24670,7 @@ paths: - key_id - key examples: - default: &366 + default: &367 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25075,7 +25083,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *67 - - &334 + - &335 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)." @@ -26665,7 +26673,7 @@ paths: initiator: type: string examples: - default: &379 + default: &380 value: attestations: - bundle: @@ -27018,7 +27026,7 @@ paths: parent: anyOf: - type: 'null' - - &238 + - &239 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27621,7 +27629,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *67 - - &403 + - &404 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`, @@ -27631,7 +27639,7 @@ paths: schema: &173 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &405 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 @@ -27655,7 +27663,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &407 type: string description: State of a code scanning alert. enum: @@ -27678,7 +27686,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &408 type: string description: Severity of a code scanning alert. enum: @@ -27712,7 +27720,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: &408 + instances_url: &409 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27734,7 +27742,7 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: &409 + dismissed_reason: &410 type: - string - 'null' @@ -27745,14 +27753,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &410 + dismissed_comment: &411 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &411 + rule: &412 type: object properties: id: @@ -27813,7 +27821,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &413 type: object properties: name: *173 @@ -27824,26 +27832,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *174 - most_recent_instance: &413 + most_recent_instance: &414 type: object properties: - ref: &405 + ref: &406 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &424 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &424 + environment: &425 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &425 + category: &426 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27857,7 +27865,7 @@ paths: properties: text: type: string - location: &426 + location: &427 type: object description: Describe a region within a file for the alert. properties: @@ -27878,7 +27886,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &427 + items: &428 type: - string - 'null' @@ -29168,7 +29176,7 @@ paths: type: integer codespaces: type: array - items: &228 + items: &229 type: object title: Codespace description: A codespace. @@ -29203,7 +29211,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &440 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29490,7 +29498,7 @@ paths: - pulls_url - recent_folders examples: - default: &229 + default: &230 value: total_count: 3 codespaces: @@ -30155,7 +30163,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &441 value: total_count: 2 secrets: @@ -30193,7 +30201,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &442 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30228,7 +30236,7 @@ paths: - key_id - key examples: - default: &442 + default: &443 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30260,7 +30268,7 @@ paths: application/json: schema: *182 examples: - default: &444 + default: &445 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30727,7 +30735,7 @@ paths: currently being billed. seats: type: array - items: &231 + items: &232 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -31202,6 +31210,301 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - *67 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': *107 + '401': *23 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - *67 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *148 + required: + - total_count + - repositories + examples: + default: *184 + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *137 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *137 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -31403,7 +31706,7 @@ paths: application/json: schema: type: array - items: &311 + items: &312 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31718,7 +32021,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &313 value: - date: '2024-06-24' total_active_users: 24 @@ -31820,7 +32123,7 @@ paths: '500': *107 '403': *27 '404': *6 - '422': &313 + '422': &314 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31848,11 +32151,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *67 - - *184 - *185 - *186 - *187 - *188 + - *189 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31882,7 +32185,7 @@ paths: enum: - patch - deployment - - *189 + - *190 - name: runtime_risk in: query description: |- @@ -31891,8 +32194,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *190 - *191 + - *192 - *53 - *45 - *46 @@ -31904,9 +32207,9 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: - default: *193 + default: *194 '304': *35 '400': *14 '403': *27 @@ -31950,7 +32253,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &195 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32029,7 +32332,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32048,7 +32351,7 @@ paths: - key_id - key examples: - default: &471 + default: &472 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32078,7 +32381,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *195 examples: default: value: @@ -32377,7 +32680,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Package description: A software package type: object @@ -32448,7 +32751,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &242 value: - id: 197 name: hello_docker @@ -32618,7 +32921,7 @@ paths: application/json: schema: type: array - items: &217 + items: &218 title: Organization Invitation description: Organization Invitation type: object @@ -32672,7 +32975,7 @@ paths: - invitation_teams_url - node_id examples: - default: &218 + default: &219 value: - id: 1 login: monalisa @@ -32739,7 +33042,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Org Hook description: Org Hook type: object @@ -32924,9 +33227,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &196 + default: &197 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32974,7 +33277,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *67 - - &197 + - &198 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -32987,9 +33290,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -33017,7 +33320,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *67 - - *197 + - *198 requestBody: required: false content: @@ -33063,7 +33366,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -33105,7 +33408,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *67 - - *197 + - *198 responses: '204': description: Response @@ -33133,7 +33436,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *67 - - *197 + - *198 responses: '200': description: Response @@ -33164,7 +33467,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *67 - - *197 + - *198 requestBody: required: false content: @@ -33215,9 +33518,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *67 - - *197 - - *17 - *198 + - *17 + - *199 responses: '200': description: Response @@ -33225,9 +33528,9 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: - default: *200 + default: *201 '400': *14 '422': *15 x-github: @@ -33253,16 +33556,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *67 - - *197 + - *198 - *16 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 '400': *14 '422': *15 x-github: @@ -33288,7 +33591,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *67 - - *197 + - *198 - *16 responses: '202': *37 @@ -33318,7 +33621,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *67 - - *197 + - *198 responses: '204': description: Response @@ -33341,7 +33644,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *67 - - &207 + - &208 name: actor_type in: path description: The type of the actor @@ -33354,14 +33657,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &208 + - &209 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &203 + - &204 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -33369,7 +33672,7 @@ paths: required: true schema: type: string - - &204 + - &205 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33464,12 +33767,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *67 - - *203 - *204 + - *205 - *19 - *17 - *53 - - &213 + - &214 name: sort description: The property to sort the results by. in: query @@ -33548,14 +33851,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *67 - - *203 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: &205 + schema: &206 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33571,7 +33874,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &207 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33592,23 +33895,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *67 - - &209 + - &210 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *203 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *206 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -33627,18 +33930,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *67 - - *203 - *204 - - *207 + - *205 - *208 + - *209 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *206 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -33656,9 +33959,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *67 - - *203 - *204 - - &210 + - *205 + - &211 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33671,7 +33974,7 @@ paths: description: Response content: application/json: - schema: &211 + schema: &212 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33687,7 +33990,7 @@ paths: type: integer format: int64 examples: - default: &212 + default: &213 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33724,18 +34027,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *67 - - *209 - - *203 - - *204 - *210 + - *204 + - *205 + - *211 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 x-github: enabledForGitHubApps: true category: orgs @@ -33753,19 +34056,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *67 - - *207 - *208 - - *203 + - *209 - *204 - - *210 + - *205 + - *211 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 x-github: enabledForGitHubApps: true category: orgs @@ -33783,13 +34086,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *67 - - *209 - - *203 + - *210 - *204 + - *205 - *19 - *17 - *53 - - *213 + - *214 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33873,7 +34176,7 @@ paths: application/json: schema: *20 examples: - default: &509 + default: &510 value: id: 1 account: @@ -34039,12 +34342,12 @@ paths: application/json: schema: anyOf: - - &215 + - &216 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &214 + limit: &215 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34072,7 +34375,7 @@ paths: properties: {} additionalProperties: false examples: - default: &216 + default: &217 value: limit: collaborators_only origin: organization @@ -34101,13 +34404,13 @@ paths: required: true content: application/json: - schema: &510 + schema: &511 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *214 + limit: *215 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34132,9 +34435,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *216 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -34210,9 +34513,9 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 '404': *6 @@ -34289,7 +34592,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -34344,7 +34647,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *67 - - &219 + - &220 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34375,7 +34678,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *67 - - *219 + - *220 - *17 - *19 responses: @@ -34387,7 +34690,7 @@ paths: type: array items: *183 examples: - default: &239 + default: &240 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34430,7 +34733,7 @@ paths: application/json: schema: type: array - items: &220 + items: &221 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34673,9 +34976,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: &221 + default: &222 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34731,7 +35034,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *67 - - &222 + - &223 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34832,9 +35135,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *221 + default: *222 '404': *6 '422': *7 x-github: @@ -34859,7 +35162,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *67 - - *222 + - *223 responses: '204': *179 '404': *6 @@ -34889,7 +35192,7 @@ paths: application/json: schema: type: array - items: *223 + items: *224 examples: default: value: @@ -34977,9 +35280,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: &224 + default: &225 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35012,7 +35315,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *67 - - &225 + - &226 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35068,9 +35371,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '404': *6 '422': *7 x-github: @@ -35095,7 +35398,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *67 - - *225 + - *226 responses: '204': description: Response @@ -35158,7 +35461,7 @@ paths: - closed - all default: open - - *226 + - *227 - name: type description: Can be the name of an issue type. in: query @@ -35189,7 +35492,7 @@ paths: type: array items: *75 examples: - default: *227 + default: *228 headers: Link: *59 '404': *6 @@ -35348,9 +35651,9 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 '304': *35 '500': *107 '401': *23 @@ -35377,7 +35680,7 @@ paths: parameters: - *67 - *63 - - &230 + - &231 name: codespace_name in: path required: true @@ -35412,15 +35715,15 @@ paths: parameters: - *67 - *63 - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &438 + default: &439 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35600,7 +35903,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *231 + schema: *232 examples: default: value: @@ -35676,7 +35979,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &233 title: Org Membership description: Org Membership type: object @@ -35745,7 +36048,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &233 + response-if-user-has-an-active-admin-membership-with-organization: &234 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35846,9 +36149,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - response-if-user-already-had-membership-with-organization: *233 + response-if-user-already-had-membership-with-organization: *234 '422': *15 '403': *27 x-github: @@ -35920,7 +36223,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Migration description: A migration. type: object @@ -36258,7 +36561,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -36437,7 +36740,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *67 - - &235 + - &236 name: migration_id description: The unique identifier of the migration. in: path @@ -36465,7 +36768,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -36635,7 +36938,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *67 - - *235 + - *236 responses: '302': description: Response @@ -36657,7 +36960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *67 - - *235 + - *236 responses: '204': description: Response @@ -36681,7 +36984,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *67 - - *235 + - *236 - &658 name: repo_name description: repo_name parameter @@ -36710,7 +37013,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *67 - - *235 + - *236 - *17 - *19 responses: @@ -36722,7 +37025,7 @@ paths: type: array items: *148 examples: - default: &246 + default: &247 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36877,7 +37180,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &237 + items: &238 title: Organization Role description: Organization roles type: object @@ -37054,7 +37357,7 @@ paths: parameters: - *67 - *69 - - &236 + - &237 name: role_id description: The unique identifier of the role. in: path @@ -37091,7 +37394,7 @@ paths: parameters: - *67 - *69 - - *236 + - *237 responses: '204': description: Response @@ -37144,7 +37447,7 @@ paths: parameters: - *67 - *63 - - *236 + - *237 responses: '204': description: Response @@ -37176,7 +37479,7 @@ paths: parameters: - *67 - *63 - - *236 + - *237 responses: '204': description: Response @@ -37205,13 +37508,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *67 - - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -37262,7 +37565,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *67 - - *236 + - *237 - *17 - *19 responses: @@ -37341,7 +37644,7 @@ paths: parent: anyOf: - type: 'null' - - *238 + - *239 type: description: The ownership type of the team type: string @@ -37374,7 +37677,7 @@ paths: - type - parent examples: - default: *239 + default: *240 headers: Link: *59 '404': @@ -37404,7 +37707,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *67 - - *236 + - *237 - *17 - *19 responses: @@ -37433,7 +37736,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *238 + items: *239 name: type: - string @@ -37779,9 +38082,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '403': *27 '401': *23 '400': &661 @@ -37806,7 +38109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &242 + - &243 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -37824,7 +38127,7 @@ paths: - docker - nuget - container - - &243 + - &244 name: package_name description: The name of the package. in: path @@ -37837,7 +38140,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: value: @@ -37889,8 +38192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *242 - *243 + - *244 - *67 responses: '204': @@ -37923,8 +38226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - name: token description: package token @@ -37957,8 +38260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *242 - *243 + - *244 - *67 - *19 - *17 @@ -37979,7 +38282,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Package Version description: A version of a software package type: object @@ -38114,10 +38417,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - &245 + - &246 name: package_version_id description: Unique identifier of the package version. in: path @@ -38129,7 +38432,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -38165,10 +38468,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - *245 + - *246 responses: '204': description: Response @@ -38200,10 +38503,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - *245 + - *246 responses: '204': description: Response @@ -38233,7 +38536,7 @@ paths: - *67 - *17 - *19 - - &247 + - &248 name: sort description: The property by which to sort the results. in: query @@ -38244,7 +38547,7 @@ paths: - created_at default: created_at - *53 - - &248 + - &249 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38256,7 +38559,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &249 + - &250 name: repository description: The name of the repository to use to filter the results. in: query @@ -38265,7 +38568,7 @@ paths: type: string examples: - Hello-World - - &250 + - &251 name: permission description: The permission to use to filter the results. in: query @@ -38274,7 +38577,7 @@ paths: type: string examples: - issues_read - - &251 + - &252 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38284,7 +38587,7 @@ paths: schema: type: string format: date-time - - &252 + - &253 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38294,7 +38597,7 @@ paths: schema: type: string format: date-time - - &253 + - &254 name: token_id description: The ID of the token in: query @@ -38613,7 +38916,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -38639,14 +38942,14 @@ paths: - *67 - *17 - *19 - - *247 - - *53 - *248 + - *53 - *249 - *250 - *251 - *252 - *253 + - *254 responses: '500': *107 '422': *15 @@ -38930,7 +39233,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -38972,7 +39275,7 @@ paths: type: integer configurations: type: array - items: &254 + items: &255 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39268,7 +39571,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &255 + org-private-registry-with-selected-visibility: &256 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39366,9 +39669,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 '404': *6 x-github: githubCloudOnly: false @@ -39536,7 +39839,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Projects v2 Project description: A projects v2 project type: object @@ -39695,7 +39998,7 @@ paths: - deleted_at - deleted_by examples: - default: &257 + default: &258 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39798,7 +40101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &258 + - &259 name: project_number description: The project's number. in: path @@ -39811,9 +40114,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -39836,7 +40139,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true description: Details of the draft item to create in the project. @@ -39870,7 +40173,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &264 title: Projects v2 Item description: An item belonging to a project type: object @@ -39884,7 +40187,7 @@ paths: content: oneOf: - *75 - - &453 + - &454 title: Pull Request Simple description: Pull Request Simple type: object @@ -40004,7 +40307,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 active_lock_reason: type: - string @@ -40097,7 +40400,7 @@ paths: _links: type: object properties: - comments: &260 + comments: &261 title: Link description: Hypermedia Link type: object @@ -40106,13 +40409,13 @@ paths: type: string required: - href - commits: *260 - statuses: *260 - html: *260 - issue: *260 - review_comments: *260 - review_comment: *260 - self: *260 + commits: *261 + statuses: *261 + html: *261 + issue: *261 + review_comments: *261 + review_comment: *261 + self: *261 required: - comments - commits @@ -40123,7 +40426,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &555 + auto_merge: &556 title: Auto merge description: The status of auto merging a pull request. type: @@ -40225,7 +40528,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &262 + content_type: &263 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -40269,7 +40572,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &264 + draft_issue: &265 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40343,7 +40646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *258 + - *259 - *67 - *17 - *45 @@ -40355,7 +40658,7 @@ paths: application/json: schema: type: array - items: &261 + items: &262 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -40638,7 +40941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *258 + - *259 - *67 requestBody: required: true @@ -40823,7 +41126,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *261 + schema: *262 examples: text_field: &685 value: @@ -40931,7 +41234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *258 + - *259 - &690 name: field_id description: The unique identifier of the field. @@ -40945,7 +41248,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: &691 value: @@ -41003,7 +41306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *258 + - *259 - *67 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -41036,7 +41339,7 @@ paths: application/json: schema: type: array - items: &265 + items: &266 title: Projects v2 Item description: An item belonging to a project type: object @@ -41053,7 +41356,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *262 + content_type: *263 content: type: - object @@ -41103,7 +41406,7 @@ paths: - updated_at - archived_at examples: - default: &266 + default: &267 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41801,7 +42104,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -41871,22 +42174,22 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *264 + value: *265 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *264 + value: *265 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *264 + value: *265 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *264 + value: *265 '304': *35 '403': *27 '401': *23 @@ -41906,9 +42209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *258 + - *259 - *67 - - &267 + - &268 name: item_id description: The unique identifier of the project item. in: path @@ -41934,9 +42237,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -41957,9 +42260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *258 + - *259 - *67 - - *267 + - *268 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -42032,13 +42335,13 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - text_field: *266 - number_field: *266 - date_field: *266 - single_select_field: *266 - iteration_field: *266 + text_field: *267 + number_field: *267 + date_field: *267 + single_select_field: *267 + iteration_field: *267 '401': *23 '403': *27 '404': *6 @@ -42058,9 +42361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *258 + - *259 - *67 - - *267 + - *268 responses: '204': description: Response @@ -42084,7 +42387,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true content: @@ -42262,7 +42565,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &268 + value: &269 value: id: 1 number: 1 @@ -42308,10 +42611,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *268 + value: *269 roadmap_view: summary: Response for creating a roadmap view - value: *268 + value: *269 '304': *35 '403': *27 '401': *23 @@ -42339,7 +42642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *258 + - *259 - *67 - &692 name: view_number @@ -42373,9 +42676,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -42408,7 +42711,7 @@ paths: application/json: schema: type: array - items: &269 + items: &270 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -42486,7 +42789,7 @@ paths: - property_name - value_type examples: - default: &270 + default: &271 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42546,7 +42849,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *269 + items: *270 minItems: 1 maxItems: 100 required: @@ -42576,9 +42879,9 @@ paths: application/json: schema: type: array - items: *269 + items: *270 examples: - default: *270 + default: *271 '403': *27 '404': *6 x-github: @@ -42600,7 +42903,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *67 - - &271 + - &272 name: custom_property_name description: The custom property name in: path @@ -42612,9 +42915,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: &272 + default: &273 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42649,7 +42952,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *67 - - *271 + - *272 requestBody: required: true content: @@ -42729,9 +43032,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *272 + default: *273 '403': *27 '404': *6 x-github: @@ -42755,7 +43058,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *67 - - *271 + - *272 responses: '204': *179 '403': *27 @@ -42819,7 +43122,7 @@ paths: - octocat/Hello-World properties: type: array - items: &273 + items: &274 title: Custom Property Value description: Custom property name and associated value type: object @@ -42909,7 +43212,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *273 + items: *274 required: - repository_names - properties @@ -43101,7 +43404,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -43304,7 +43607,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Repository description: Full Repository type: object @@ -43786,7 +44089,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &458 + code_of_conduct: &459 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -43816,7 +44119,7 @@ paths: - key - name - html_url - security_and_analysis: *274 + security_and_analysis: *275 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43900,7 +44203,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &324 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44421,7 +44724,7 @@ paths: - *67 - *17 - *19 - - &577 + - &578 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44440,7 +44743,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -44475,7 +44778,7 @@ paths: source: type: string description: The name of the source - enforcement: &277 + enforcement: &278 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -44488,7 +44791,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &278 + items: &279 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -44559,7 +44862,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &275 + - &276 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -44583,7 +44886,7 @@ paths: match. items: type: string - - &279 + - &280 title: Organization ruleset conditions type: object description: |- @@ -44597,7 +44900,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -44631,7 +44934,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -44653,7 +44956,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -44666,7 +44969,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &276 + items: &277 title: Repository ruleset property targeting definition type: object @@ -44699,7 +45002,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *276 + items: *277 required: - repository_property type: @@ -44707,12 +45010,12 @@ paths: - object rules: type: array - items: &578 + items: &579 title: Repository Rule type: object description: A repository rule. oneOf: - - &280 + - &281 title: creation description: Only allow users with bypass permission to create matching refs. @@ -44724,7 +45027,7 @@ paths: type: string enum: - creation - - &281 + - &282 title: update description: Only allow users with bypass permission to update matching refs. @@ -44745,7 +45048,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &282 + - &283 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -44757,7 +45060,7 @@ paths: type: string enum: - deletion - - &283 + - &284 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44769,7 +45072,7 @@ paths: type: string enum: - required_linear_history - - &576 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -44847,7 +45150,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &284 + - &285 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -44871,7 +45174,7 @@ paths: type: string required: - required_deployment_environments - - &285 + - &286 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -44883,7 +45186,7 @@ paths: type: string enum: - required_signatures - - &286 + - &287 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44989,7 +45292,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &287 + - &288 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -45037,7 +45340,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &288 + - &289 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -45049,7 +45352,7 @@ paths: type: string enum: - non_fast_forward - - &289 + - &290 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -45086,7 +45389,7 @@ paths: required: - operator - pattern - - &290 + - &291 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -45123,7 +45426,7 @@ paths: required: - operator - pattern - - &291 + - &292 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -45160,7 +45463,7 @@ paths: required: - operator - pattern - - &292 + - &293 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -45197,7 +45500,7 @@ paths: required: - operator - pattern - - &293 + - &294 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -45234,7 +45537,7 @@ paths: required: - operator - pattern - - &294 + - &295 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -45259,7 +45562,7 @@ paths: type: string required: - restricted_file_paths - - &295 + - &296 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -45283,7 +45586,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &296 + - &297 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -45306,7 +45609,7 @@ paths: type: string required: - restricted_file_extensions - - &297 + - &298 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -45331,7 +45634,7 @@ paths: maximum: 100 required: - max_file_size - - &298 + - &299 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -45381,7 +45684,7 @@ paths: - repository_id required: - workflows - - &299 + - &300 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -45442,7 +45745,7 @@ paths: - tool required: - code_scanning_tools - - &300 + - &301 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -45541,21 +45844,20 @@ paths: - push - repository default: branch - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *279 + items: *279 + conditions: *280 rules: type: array description: An array of rules within the ruleset. - items: &303 + items: &304 title: Repository Rule type: object description: A repository rule. oneOf: - - *280 - *281 - *282 - *283 @@ -45576,6 +45878,7 @@ paths: - *298 - *299 - *300 + - *301 required: - name - enforcement @@ -45613,9 +45916,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 21 name: super cool ruleset @@ -45671,7 +45974,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *67 - - &579 + - &580 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 @@ -45686,7 +45989,7 @@ paths: in: query schema: type: string - - &580 + - &581 name: time_period description: |- The time period to filter by. @@ -45702,14 +46005,14 @@ paths: - week - month default: day - - &581 + - &582 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 - - &582 + - &583 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45729,7 +46032,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &584 title: Rule Suites description: Response type: array @@ -45785,7 +46088,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &584 + default: &585 value: - id: 21 actor_id: 12 @@ -45829,7 +46132,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *67 - - &585 + - &586 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45845,7 +46148,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &587 title: Rule Suite description: Response type: object @@ -45952,7 +46255,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &587 + default: &588 value: id: 21 actor_id: 12 @@ -46025,9 +46328,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '404': *6 '500': *107 put: @@ -46071,16 +46374,16 @@ paths: - tag - push - repository - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *279 + items: *279 + conditions: *280 rules: description: An array of rules within the ruleset. type: array - items: *303 + items: *304 examples: default: value: @@ -46115,9 +46418,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '404': *6 '422': *15 '500': *107 @@ -46175,7 +46478,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Ruleset version type: object description: The historical version of a ruleset @@ -46199,7 +46502,7 @@ paths: type: string format: date-time examples: - default: &589 + default: &590 value: - version_id: 3 actor: @@ -46252,9 +46555,9 @@ paths: description: Response content: application/json: - schema: &590 + schema: &591 allOf: - - *304 + - *305 - type: object required: - state @@ -46324,7 +46627,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *67 - - &591 + - &592 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -46335,7 +46638,7 @@ paths: enum: - open - resolved - - &592 + - &593 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -46345,7 +46648,7 @@ paths: required: false schema: type: string - - &593 + - &594 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -46354,7 +46657,7 @@ paths: required: false schema: type: string - - &594 + - &595 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -46373,7 +46676,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &595 + - &596 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. @@ -46388,7 +46691,7 @@ paths: - *53 - *19 - *17 - - &596 + - &597 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 @@ -46398,7 +46701,7 @@ paths: required: false schema: type: string - - &597 + - &598 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 @@ -46408,7 +46711,7 @@ paths: required: false schema: type: string - - &598 + - &599 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -46417,7 +46720,7 @@ paths: required: false schema: type: string - - &599 + - &600 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -46426,7 +46729,7 @@ paths: schema: type: boolean default: false - - &600 + - &601 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -46435,7 +46738,7 @@ paths: schema: type: boolean default: false - - &601 + - &602 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -46467,14 +46770,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &602 + state: &603 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: &603 + resolution: &604 type: - string - 'null' @@ -46581,14 +46884,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &604 + - &605 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &606 + - &607 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -46645,7 +46948,7 @@ paths: - blob_url - commit_sha - commit_url - - &607 + - &608 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -46706,7 +47009,7 @@ paths: - page_url - commit_sha - commit_url - - &608 + - &609 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -46721,7 +47024,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &609 + - &610 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -46736,7 +47039,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &610 + - &611 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -46751,7 +47054,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &611 + - &612 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -46766,7 +47069,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &612 + - &613 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -46781,7 +47084,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &613 + - &614 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -46796,7 +47099,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &614 + - &615 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -46811,7 +47114,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &615 + - &616 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -46826,7 +47129,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &616 + - &617 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -46841,7 +47144,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &617 + - &618 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -46856,7 +47159,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &618 + - &619 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -47096,7 +47399,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &307 type: - string - 'null' @@ -47106,7 +47409,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &306 type: object properties: token_type: @@ -47175,7 +47478,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *306 examples: default: value: @@ -47232,7 +47535,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *307 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -47258,7 +47561,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *307 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -47356,7 +47659,7 @@ paths: application/json: schema: type: array - items: &622 + items: &623 description: A repository security advisory. type: object properties: @@ -47600,7 +47903,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 credits_detailed: type: - array @@ -47611,7 +47914,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *308 state: type: string description: The state of the user's acceptance of the @@ -47675,7 +47978,7 @@ paths: - private_fork additionalProperties: false examples: - default: &623 + default: &624 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -48062,7 +48365,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: value: @@ -48417,7 +48720,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &309 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -48557,9 +48860,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: &309 + default: &310 value: id: 123456789ABCDEF name: My network configuration @@ -48588,7 +48891,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - &310 + - &311 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -48600,9 +48903,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 headers: Link: *59 x-github: @@ -48624,7 +48927,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - *310 + - *311 requestBody: required: true content: @@ -48664,9 +48967,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48686,7 +48989,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *67 - - *310 + - *311 responses: '204': description: Response @@ -48831,13 +49134,13 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: - default: *312 + default: *313 '500': *107 '403': *27 '404': *6 - '422': *313 + '422': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48879,7 +49182,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 headers: Link: *59 '403': *27 @@ -48973,7 +49276,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -49047,7 +49350,7 @@ paths: parent: anyOf: - type: 'null' - - *238 + - *239 members_count: type: integer examples: @@ -49372,7 +49675,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &316 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49449,9 +49752,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -49536,16 +49839,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '201': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': *15 '403': *27 @@ -49575,7 +49878,7 @@ paths: responses: '204': description: Response - '422': &316 + '422': &317 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -49609,12 +49912,12 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 - '422': *316 + '422': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49696,7 +49999,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: Team Membership description: Team Membership type: object @@ -49724,7 +50027,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &639 + response-if-user-is-a-team-maintainer: &640 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49787,9 +50090,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-users-membership-with-team-is-now-pending: &640 + response-if-users-membership-with-team-is-now-pending: &641 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49865,7 +50168,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -49896,14 +50199,14 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &641 + schema: &642 title: Team Repository description: A team's access to a repository. type: object @@ -50546,8 +50849,8 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 requestBody: required: false content: @@ -50594,8 +50897,8 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 responses: '204': description: Response @@ -50632,7 +50935,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: &642 + response-if-child-teams-exist: &643 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50786,7 +51089,7 @@ paths: resources: type: object properties: - core: &320 + core: &321 title: Rate Limit type: object properties: @@ -50803,21 +51106,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *321 + search: *321 + code_search: *321 + source_import: *321 + integration_manifest: *321 + code_scanning_upload: *321 + actions_runner_registration: *321 + scim: *321 + dependency_snapshots: *321 + dependency_sbom: *321 + code_scanning_autofix: *321 required: - core - search - rate: *320 + rate: *321 required: - rate - resources @@ -50922,14 +51225,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default-response: summary: Default response @@ -51434,7 +51737,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51452,8 +51755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -51745,10 +52048,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 - '307': &324 + default: *324 + '307': &325 description: Temporary Redirect content: application/json: @@ -51777,8 +52080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -51800,7 +52103,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *325 '404': *6 '409': *52 x-github: @@ -51824,11 +52127,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 - - &357 + - &358 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51851,7 +52154,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &326 title: Artifact description: An artifact type: object @@ -51946,7 +52249,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 artifacts: @@ -52007,9 +52310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *318 - *319 - - &326 + - *320 + - &327 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52021,7 +52324,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -52059,9 +52362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *318 - *319 - - *326 + - *320 + - *327 responses: '204': description: Response @@ -52085,9 +52388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *318 - *319 - - *326 + - *320 + - *327 - name: archive_format in: path required: true @@ -52101,7 +52404,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': &513 + '410': &514 description: Gone content: application/json: @@ -52126,14 +52429,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &327 + schema: &328 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -52167,13 +52470,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *327 + schema: *328 examples: selected_actions: *40 responses: @@ -52202,14 +52505,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &328 + schema: &329 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -52243,13 +52546,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *328 + schema: *329 examples: selected_actions: *42 responses: @@ -52280,14 +52583,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -52313,11 +52616,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 - - &330 + - &331 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 @@ -52351,7 +52654,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Repository actions caches description: Repository actions caches type: object @@ -52401,7 +52704,7 @@ paths: - total_count - actions_caches examples: - default: &332 + default: &333 value: total_count: 1 actions_caches: @@ -52433,23 +52736,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: - - *318 - *319 + - *320 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52469,8 +52772,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: - - *318 - *319 + - *320 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52501,9 +52804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *318 - *319 - - &333 + - *320 + - &334 name: job_id description: The unique identifier of the job. in: path @@ -52515,7 +52818,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 title: Job description: Information of a job execution in a workflow run type: object @@ -52862,9 +53165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *318 - *319 - - *333 + - *320 + - *334 responses: '302': description: Response @@ -52892,9 +53195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *318 - *319 - - *333 + - *320 + - *334 requestBody: required: false content: @@ -52940,8 +53243,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: - - *318 - *319 + - *320 responses: '200': description: Status response @@ -52991,8 +53294,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -53055,8 +53358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -53074,7 +53377,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &364 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53095,7 +53398,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 secrets: @@ -53128,9 +53431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *318 - *319 - - *334 + - *320 + - *335 - *19 responses: '200': @@ -53147,7 +53450,7 @@ paths: type: integer variables: type: array - items: &367 + items: &368 title: Actions Variable type: object properties: @@ -53181,7 +53484,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &369 value: total_count: 2 variables: @@ -53214,8 +53517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53224,11 +53527,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &337 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *133 - selected_actions_url: *335 + selected_actions_url: *336 sha_pinning_required: *134 required: - enabled @@ -53257,8 +53560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -53269,7 +53572,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *337 allowed_actions: *133 sha_pinning_required: *134 required: @@ -53301,14 +53604,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: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: access_level: @@ -53325,7 +53628,7 @@ paths: required: - access_level examples: - default: &338 + default: &339 value: access_level: organization x-github: @@ -53349,15 +53652,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: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 responses: '204': description: Response @@ -53381,14 +53684,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *339 + schema: *340 examples: default: value: @@ -53412,8 +53715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Empty response for successful settings update @@ -53423,7 +53726,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *341 examples: default: summary: Set retention days @@ -53447,8 +53750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53456,7 +53759,7 @@ paths: application/json: schema: *135 examples: - default: *341 + default: *342 '404': *6 x-github: enabledForGitHubApps: true @@ -53475,8 +53778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -53510,14 +53813,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default: *136 '403': *27 @@ -53539,13 +53842,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: default: *136 responses: @@ -53571,8 +53874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53599,8 +53902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -53632,14 +53935,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *344 + schema: *345 examples: default: *143 x-github: @@ -53662,8 +53965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Success response @@ -53674,7 +53977,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *346 examples: default: *143 x-github: @@ -53703,8 +54006,8 @@ paths: in: query schema: type: string - - *318 - *319 + - *320 - *17 - *19 responses: @@ -53748,8 +54051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53757,9 +54060,9 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: - default: *347 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53781,8 +54084,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -53825,7 +54128,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *348 + '201': *349 '404': *6 '422': *7 '409': *52 @@ -53856,8 +54159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -53865,7 +54168,7 @@ paths: application/json: schema: *152 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53893,8 +54196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -53902,7 +54205,7 @@ paths: application/json: schema: *152 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53924,8 +54227,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: - - *318 - *319 + - *320 - *149 responses: '200': @@ -53934,7 +54237,7 @@ paths: application/json: schema: *150 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53955,8 +54258,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: - - *318 - *319 + - *320 - *149 responses: '204': @@ -53983,8 +54286,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: - - *318 - *319 + - *320 - *149 responses: '200': *154 @@ -54009,8 +54312,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: - - *318 - *319 + - *320 - *149 requestBody: required: true @@ -54059,8 +54362,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: - - *318 - *319 + - *320 - *149 requestBody: required: true @@ -54110,11 +54413,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: - - *318 - *319 + - *320 - *149 responses: - '200': *352 + '200': *353 '404': *6 x-github: githubCloudOnly: false @@ -54141,10 +54444,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: - - *318 - *319 + - *320 - *149 - - *353 + - *354 responses: '200': *154 '404': *6 @@ -54172,9 +54475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *318 - *319 - - &371 + - *320 + - &372 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. @@ -54182,7 +54485,7 @@ paths: required: false schema: type: string - - &372 + - &373 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54190,7 +54493,7 @@ paths: required: false schema: type: string - - &373 + - &374 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54199,7 +54502,7 @@ paths: required: false schema: type: string - - &374 + - &375 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 @@ -54226,7 +54529,7 @@ paths: - pending - *17 - *19 - - &375 + - &376 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)." @@ -54235,7 +54538,7 @@ paths: schema: type: string format: date-time - - &354 + - &355 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54244,13 +54547,13 @@ paths: schema: type: boolean default: false - - &376 + - &377 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &378 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54273,7 +54576,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &356 title: Workflow Run description: An invocation of a workflow type: object @@ -54451,7 +54754,7 @@ paths: head_commit: anyOf: - type: 'null' - - &399 + - &400 title: Simple Commit description: A commit. type: object @@ -54566,7 +54869,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &379 value: total_count: 1 workflow_runs: @@ -54802,24 +55105,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - *319 - - &356 + - *320 + - &357 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &359 + default: &360 value: id: 30433642 name: Build @@ -55060,9 +55363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '204': description: Response @@ -55085,9 +55388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -55215,9 +55518,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: - - *318 - *319 - - *356 + - *320 + - *357 responses: '201': description: Response @@ -55250,12 +55553,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - *319 - - *356 + - *320 + - *357 - *17 - *19 - - *357 + - *358 - *53 responses: '200': @@ -55272,9 +55575,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *326 examples: - default: *358 + default: *359 headers: Link: *59 x-github: @@ -55298,25 +55601,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - *319 - - *356 - - &360 + - *320 + - *357 + - &361 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55339,10 +55642,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *318 - *319 - - *356 - - *360 + - *320 + - *357 + - *361 - *17 - *19 responses: @@ -55360,9 +55663,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *362 examples: - default: &362 + default: &363 value: total_count: 1 jobs: @@ -55475,10 +55778,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - *319 - - *356 - - *360 + - *320 + - *357 + - *361 responses: '302': description: Response @@ -55506,9 +55809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '202': description: Response @@ -55541,9 +55844,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: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: true content: @@ -55610,9 +55913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '202': description: Response @@ -55645,9 +55948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 - 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 @@ -55677,9 +55980,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *59 x-github: @@ -55704,9 +56007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '302': description: Response @@ -55733,9 +56036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '204': description: Response @@ -55762,9 +56065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -55833,7 +56136,7 @@ paths: items: type: object properties: - type: &479 + type: &480 type: string description: The type of reviewer. enum: @@ -55919,9 +56222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: true content: @@ -55971,7 +56274,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56083,7 +56386,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56139,9 +56442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: false content: @@ -56186,9 +56489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: false content: @@ -56242,9 +56545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -56381,8 +56684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -56400,9 +56703,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -56427,16 +56730,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56458,17 +56761,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: &492 + default: &493 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56494,8 +56797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -56553,8 +56856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -56580,9 +56883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *318 - *319 - - *334 + - *320 + - *335 - *19 responses: '200': @@ -56599,9 +56902,9 @@ paths: type: integer variables: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -56624,8 +56927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -56677,17 +56980,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &493 + default: &494 value: name: USERNAME value: octocat @@ -56713,8 +57016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 requestBody: required: true @@ -56757,8 +57060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 responses: '204': @@ -56784,8 +57087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -56803,7 +57106,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &370 title: Workflow description: A GitHub Actions workflow type: object @@ -56921,9 +57224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *318 - *319 - - &370 + - *320 + - &371 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56938,7 +57241,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -56971,9 +57274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Response @@ -56998,9 +57301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -57087,9 +57390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Response @@ -57116,19 +57419,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *318 - *319 - - *370 + - *320 - *371 - *372 - *373 - *374 + - *375 - *17 - *19 - - *375 - - *354 - *376 + - *355 - *377 + - *378 responses: '200': description: Response @@ -57144,9 +57447,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *356 examples: - default: *378 + default: *379 headers: Link: *59 x-github: @@ -57178,9 +57481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '200': description: Response @@ -57241,8 +57544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *318 - *319 + - *320 - *53 - *17 - *45 @@ -57410,8 +57713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -57448,8 +57751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *318 - *319 + - *320 - name: assignee in: path required: true @@ -57485,8 +57788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -57598,8 +57901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *318 - *319 + - *320 - *17 - *45 - *46 @@ -57656,7 +57959,7 @@ paths: initiator: type: string examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57676,8 +57979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -57685,7 +57988,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Autolink reference description: An autolink reference. type: object @@ -57744,8 +58047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -57784,9 +58087,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *381 examples: - default: &381 + default: &382 value: id: 1 key_prefix: TICKET- @@ -57817,9 +58120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *318 - *319 - - &382 + - *320 + - &383 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57831,9 +58134,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '404': *6 x-github: githubCloudOnly: false @@ -57853,9 +58156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *318 - *319 - - *382 + - *320 + - *383 responses: '204': description: Response @@ -57879,8 +58182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response if Dependabot is enabled @@ -57930,8 +58233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -57952,8 +58255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -57973,8 +58276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *318 - *319 + - *320 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58012,7 +58315,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &385 title: Branch Protection description: Branch Protection type: object @@ -58055,7 +58358,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &388 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58072,7 +58375,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &390 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58156,7 +58459,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &387 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58449,9 +58752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *318 - *319 - - &385 + - *320 + - &386 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). @@ -58465,14 +58768,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &449 + commit: &450 title: Commit description: Commit type: object @@ -58511,7 +58814,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &384 title: Git User description: Metaproperties for Git author/committer information. @@ -58533,7 +58836,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 message: type: string examples: @@ -58557,7 +58860,7 @@ paths: required: - sha - url - verification: &499 + verification: &500 title: Verification type: object properties: @@ -58637,7 +58940,7 @@ paths: type: integer files: type: array - items: &460 + items: &461 title: Diff Entry description: Diff Entry type: object @@ -58733,7 +59036,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *385 protection_url: type: string format: uri @@ -58842,7 +59145,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *323 '404': *6 x-github: githubCloudOnly: false @@ -58864,15 +59167,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -59066,9 +59369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -59328,7 +59631,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &393 title: Status Check Policy description: Status Check Policy type: object @@ -59487,7 +59790,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *387 required_conversation_resolution: type: object properties: @@ -59599,9 +59902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59626,17 +59929,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59658,17 +59961,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59687,9 +59990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59714,17 +60017,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &390 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59820,9 +60123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -59920,9 +60223,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *390 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -59943,9 +60246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59972,17 +60275,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60005,17 +60308,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -60035,9 +60338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60062,17 +60365,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &393 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60098,9 +60401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60152,9 +60455,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 '404': *6 '422': *15 x-github: @@ -60176,9 +60479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60202,9 +60505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60238,9 +60541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60307,9 +60610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60373,9 +60676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: content: application/json: @@ -60441,15 +60744,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -60540,9 +60843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60565,9 +60868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60577,7 +60880,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &395 value: - id: 1 slug: octoapp @@ -60634,9 +60937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60670,7 +60973,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -60691,9 +60994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60727,7 +61030,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -60748,9 +61051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60784,7 +61087,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -60806,9 +61109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60818,7 +61121,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -60838,9 +61141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60878,7 +61181,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -60899,9 +61202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60939,7 +61242,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -60960,9 +61263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: content: application/json: @@ -60999,7 +61302,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -61021,9 +61324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -61057,9 +61360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61117,9 +61420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61177,9 +61480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61239,9 +61542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61263,7 +61566,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -61379,8 +61682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -61659,7 +61962,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &397 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62082,9 +62385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *318 - *319 - - &397 + - *320 + - &398 name: check_run_id description: The unique identifier of the check run. in: path @@ -62096,9 +62399,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &398 + default: &399 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62198,9 +62501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *318 - *319 - - *397 + - *320 + - *398 requestBody: required: true content: @@ -62440,9 +62743,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62462,9 +62765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *318 - *319 - - *397 + - *320 + - *398 - *17 - *19 responses: @@ -62574,9 +62877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *318 - *319 - - *397 + - *320 + - *398 responses: '201': description: Response @@ -62620,8 +62923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -62643,7 +62946,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &401 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62741,7 +63044,7 @@ paths: - string - 'null' format: date-time - head_commit: *399 + head_commit: *400 latest_check_runs_count: type: integer check_runs_url: @@ -62769,7 +63072,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &402 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63060,9 +63363,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63081,8 +63384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -63391,9 +63694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *318 - *319 - - &402 + - *320 + - &403 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63405,9 +63708,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63430,17 +63733,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *318 - *319 - - *402 - - &455 + - *320 + - *403 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &456 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -63479,9 +63782,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *397 examples: - default: &457 + default: &458 value: total_count: 1 check_runs: @@ -63583,9 +63886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - *319 - - *402 + - *320 + - *403 responses: '201': description: Response @@ -63618,21 +63921,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *318 - *319 - - *403 + - *320 - *404 + - *405 - *19 - *17 - - &421 + - &422 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: *405 - - &422 + schema: *406 + - &423 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63657,13 +63960,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *407 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *408 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -63687,7 +63990,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: *408 + instances_url: *409 state: *175 fixed_at: *171 dismissed_by: @@ -63695,11 +63998,11 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *410 + dismissed_comment: *411 + rule: *412 + tool: *413 + most_recent_instance: *414 dismissal_approved_by: anyOf: - type: 'null' @@ -63822,7 +64125,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &414 + '403': &415 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63849,9 +64152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *318 - *319 - - &415 + - *320 + - &416 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63865,7 +64168,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 type: object properties: number: *166 @@ -63873,7 +64176,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: *408 + instances_url: *409 state: *175 fixed_at: *171 dismissed_by: @@ -63881,8 +64184,8 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *410 + dismissed_comment: *411 rule: type: object properties: @@ -63944,8 +64247,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *413 + most_recent_instance: *414 dismissal_approved_by: anyOf: - type: 'null' @@ -64041,7 +64344,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64061,9 +64364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: true content: @@ -64078,8 +64381,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *410 + dismissed_comment: *411 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64107,7 +64410,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -64183,7 +64486,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &421 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64210,15 +64513,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: - - *318 - *319 - - *415 + - *320 + - *416 responses: '200': description: Response content: application/json: - schema: &417 + schema: &418 type: object properties: status: @@ -64245,13 +64548,13 @@ paths: - description - started_at examples: - default: &418 + default: &419 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &420 description: Bad Request content: application/json: @@ -64262,7 +64565,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': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64287,29 +64590,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: - - *318 - *319 - - *415 + - *320 + - *416 responses: '200': description: OK content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 '202': description: Accepted content: application/json: - schema: *417 + schema: *418 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *420 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64341,9 +64644,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: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: false content: @@ -64389,8 +64692,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *420 + '403': *421 '404': *6 '422': description: Unprocessable Entity @@ -64414,13 +64717,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 - *19 - *17 - - *421 - *422 + - *423 responses: '200': description: Response @@ -64431,10 +64734,10 @@ paths: items: type: object properties: - ref: *405 - analysis_key: *423 - environment: *424 - category: *425 + ref: *406 + analysis_key: *424 + environment: *425 + category: *426 state: type: - string @@ -64451,7 +64754,7 @@ paths: properties: text: type: string - location: *426 + location: *427 html_url: type: string classifications: @@ -64459,7 +64762,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *427 + items: *428 examples: default: value: @@ -64496,7 +64799,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64530,25 +64833,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *318 - *319 - - *403 + - *320 - *404 + - *405 - *19 - *17 - - *422 + - *423 - 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: *405 + schema: *406 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &429 type: string description: An identifier for the upload. examples: @@ -64570,23 +64873,23 @@ paths: application/json: schema: type: array - items: &429 + items: &430 type: object properties: - ref: *405 - commit_sha: &437 + ref: *406 + commit_sha: &438 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: *423 + analysis_key: *424 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *425 + category: *426 error: type: string examples: @@ -64611,8 +64914,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *412 + sarif_id: *429 + tool: *413 deletable: type: boolean warning: @@ -64674,7 +64977,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64710,8 +65013,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: - - *318 - *319 + - *320 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64724,7 +65027,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: response: summary: application/json response @@ -64778,7 +65081,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *415 '404': *6 '422': description: Response if analysis could not be processed @@ -64865,8 +65168,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: - - *318 - *319 + - *320 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64922,7 +65225,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': *420 + '403': *421 '404': *6 '503': *108 x-github: @@ -64944,8 +65247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -64953,7 +65256,7 @@ paths: application/json: schema: type: array - items: &430 + items: &431 title: CodeQL Database description: A CodeQL database. type: object @@ -65065,7 +65368,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': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65094,8 +65397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *318 - *319 + - *320 - name: language in: path description: The language of the CodeQL database. @@ -65107,7 +65410,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -65139,9 +65442,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': &462 + '302': &463 description: Found - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65163,8 +65466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - *319 + - *320 - name: language in: path description: The language of the CodeQL database. @@ -65174,7 +65477,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *421 '404': *6 '503': *108 x-github: @@ -65202,8 +65505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -65212,7 +65515,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &432 type: string description: The language targeted by the CodeQL query enum: @@ -65292,7 +65595,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &436 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65302,7 +65605,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *431 + query_language: *432 query_pack_url: type: string description: The download url for the query pack. @@ -65350,7 +65653,7 @@ paths: items: type: object properties: - repository: &432 + repository: &433 title: Repository Identifier description: Repository Identifier type: object @@ -65392,7 +65695,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &437 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65424,7 +65727,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: &434 type: object properties: repository_count: @@ -65439,7 +65742,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: *433 required: - repository_count - repositories @@ -65462,8 +65765,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *434 + over_limit_repos: *434 required: - access_mismatch_repos - not_found_repos @@ -65479,7 +65782,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &435 summary: Default response value: id: 1 @@ -65625,10 +65928,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *435 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *435 '404': *6 '422': description: Unable to process variant analysis submission @@ -65656,8 +65959,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: - - *318 - *319 + - *320 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65669,9 +65972,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *434 + default: *435 '404': *6 '503': *108 x-github: @@ -65694,7 +65997,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: - - *318 + - *319 - name: repo in: path description: The name of the controller repository. @@ -65729,7 +66032,7 @@ paths: type: object properties: repository: *58 - analysis_status: *436 + analysis_status: *437 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65854,8 +66157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -65948,7 +66251,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65969,8 +66272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -66064,7 +66367,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *421 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66135,8 +66438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -66144,7 +66447,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *438 ref: type: string description: |- @@ -66204,7 +66507,7 @@ paths: schema: type: object properties: - id: *428 + id: *429 url: type: string description: The REST API URL for checking the status of the upload. @@ -66218,7 +66521,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': *420 + '403': *421 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66241,8 +66544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *318 - *319 + - *320 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66290,7 +66593,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': *414 + '403': *415 '404': description: Not Found if the sarif id does not match any upload '503': *108 @@ -66315,8 +66618,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: - - *318 - *319 + - *320 responses: '200': description: Response @@ -66397,8 +66700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *318 - *319 + - *320 - 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 @@ -66526,8 +66829,8 @@ paths: parameters: - *17 - *19 - - *318 - *319 + - *320 responses: '200': description: Response @@ -66543,7 +66846,7 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: default: value: @@ -66841,8 +67144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -66906,17 +67209,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '400': *14 '401': *23 '403': *27 @@ -66945,8 +67248,8 @@ paths: parameters: - *17 - *19 - - *318 - *319 + - *320 responses: '200': description: Response @@ -67010,8 +67313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *318 - *319 + - *320 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67048,7 +67351,7 @@ paths: type: integer machines: type: array - items: *439 + items: *440 examples: default: &649 value: @@ -67090,8 +67393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - *319 + - *320 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67178,8 +67481,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: - - *318 - *319 + - *320 - 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 @@ -67248,8 +67551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -67267,7 +67570,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &444 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67288,7 +67591,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *441 headers: Link: *59 x-github: @@ -67311,16 +67614,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67340,17 +67643,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67370,8 +67673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -67424,8 +67727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -67454,8 +67757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - *319 + - *320 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67493,7 +67796,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Collaborator description: Collaborator type: object @@ -67686,8 +67989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 responses: '204': @@ -67734,8 +68037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 requestBody: required: false @@ -67762,7 +68065,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &512 + schema: &513 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67990,8 +68293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 responses: '204': @@ -68023,8 +68326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - *319 + - *320 - *63 responses: '200': @@ -68045,7 +68348,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *446 required: - permission - role_name @@ -68099,8 +68402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -68110,7 +68413,7 @@ paths: application/json: schema: type: array - items: &446 + items: &447 title: Commit Comment description: Commit Comment type: object @@ -68168,7 +68471,7 @@ paths: - created_at - updated_at examples: - default: &451 + 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 @@ -68227,17 +68530,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: &452 + default: &453 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68294,8 +68597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -68318,7 +68621,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -68369,8 +68672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -68392,8 +68695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -68420,7 +68723,7 @@ paths: application/json: schema: type: array - items: &447 + items: &448 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -68464,7 +68767,7 @@ paths: - content - created_at examples: - default: &515 + default: &516 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68509,8 +68812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -68543,9 +68846,9 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: &448 + default: &449 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68574,9 +68877,9 @@ paths: description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -68598,10 +68901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - &516 + - &517 name: reaction_id description: The unique identifier of the reaction. in: path @@ -68656,8 +68959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *318 - *319 + - *320 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68713,9 +69016,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: &562 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68809,9 +69112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - *319 - - &450 + - *320 + - &451 name: commit_sha description: The SHA of the commit. in: path @@ -68883,9 +69186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *318 - *319 - - *450 + - *320 + - *451 - *17 - *19 responses: @@ -68895,9 +69198,9 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: - default: *451 + default: *452 headers: Link: *59 x-github: @@ -68925,9 +69228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *318 - *319 - - *450 + - *320 + - *451 requestBody: required: true content: @@ -68962,9 +69265,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: *452 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68992,9 +69295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *318 - *319 - - *450 + - *320 + - *451 - *17 - *19 responses: @@ -69004,9 +69307,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: &554 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69543,11 +69846,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *318 - *319 + - *320 - *19 - *17 - - &454 + - &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)" @@ -69562,9 +69865,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: &542 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69677,11 +69980,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *318 - *319 - - *454 + - *320 - *455 - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69715,9 +70018,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *397 examples: - default: *457 + default: *458 headers: Link: *59 x-github: @@ -69742,9 +70045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69752,7 +70055,7 @@ paths: schema: type: integer example: 1 - - *455 + - *456 - *17 - *19 responses: @@ -69770,7 +70073,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *401 examples: default: value: @@ -69970,9 +70273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - *17 - *19 responses: @@ -70174,9 +70477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - *17 - *19 responses: @@ -70186,7 +70489,7 @@ paths: application/json: schema: type: array - items: &627 + items: &628 title: Status description: The status of a commit. type: object @@ -70267,7 +70570,7 @@ paths: site_admin: false headers: Link: *59 - '301': *322 + '301': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70295,8 +70598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -70329,11 +70632,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *458 + - *459 code_of_conduct_file: anyOf: - type: 'null' - - &459 + - &460 title: Community Health File type: object properties: @@ -70353,19 +70656,19 @@ paths: contributing: anyOf: - type: 'null' - - *459 + - *460 readme: anyOf: - type: 'null' - - *459 + - *460 issue_template: anyOf: - type: 'null' - - *459 + - *460 pull_request_template: anyOf: - type: 'null' - - *459 + - *460 required: - code_of_conduct - code_of_conduct_file @@ -70494,8 +70797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *318 - *319 + - *320 - *19 - *17 - name: basehead @@ -70543,8 +70846,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *449 - merge_base_commit: *449 + base_commit: *450 + merge_base_commit: *450 status: type: string enum: @@ -70568,10 +70871,10 @@ paths: - 6 commits: type: array - items: *449 + items: *450 files: type: array - items: *460 + items: *461 required: - url - html_url @@ -70857,8 +71160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -71028,7 +71331,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &461 + response-if-content-is-a-file-github-object: &462 summary: Response if content is a file value: type: file @@ -71165,7 +71468,7 @@ paths: - size - type - url - - &567 + - &568 title: Content File description: Content File type: object @@ -71383,7 +71686,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *461 + 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 @@ -71452,7 +71755,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *462 + '302': *463 '304': *35 x-github: githubCloudOnly: false @@ -71475,8 +71778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -71571,7 +71874,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &464 title: File Commit description: File Commit type: object @@ -71727,7 +72030,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: example-for-creating-a-file: value: @@ -71781,7 +72084,7 @@ paths: schema: oneOf: - *3 - - &494 + - &495 description: Repository rule violation was detected type: object properties: @@ -71802,7 +72105,7 @@ paths: items: type: object properties: - placeholder_id: &619 + placeholder_id: &620 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71834,8 +72137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -71896,7 +72199,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: default: value: @@ -71951,8 +72254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *318 - *319 + - *320 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72076,23 +72379,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - *319 - - *184 + - *320 - *185 - *186 - *187 + - *188 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *188 - - *464 - *189 + - *465 - *190 - *191 + - *192 - *53 - *45 - *46 @@ -72104,7 +72407,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 type: object description: A Dependabot alert. properties: @@ -72154,7 +72457,7 @@ paths: - direct - transitive - - security_advisory: *465 + security_advisory: *466 security_vulnerability: *57 url: *169 html_url: *170 @@ -72185,8 +72488,8 @@ paths: dismissal. maxLength: 280 fixed_at: *171 - auto_dismissed_at: *466 - dismissal_request: *467 + auto_dismissed_at: *467 + dismissal_request: *468 assignees: type: array description: The users assigned to this alert. @@ -72441,9 +72744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - *319 - - &469 + - *320 + - &470 name: alert_number in: path description: |- @@ -72458,7 +72761,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72590,9 +72893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - *319 - - *469 + - *320 + - *470 requestBody: required: true content: @@ -72648,7 +72951,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72778,8 +73081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -72797,7 +73100,7 @@ paths: type: integer secrets: type: array - items: &472 + items: &473 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72851,16 +73154,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72880,15 +73183,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -72914,8 +73217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -72968,8 +73271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -72992,8 +73295,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: - - *318 - *319 + - *320 - 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 @@ -73167,8 +73470,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: - - *318 - *319 + - *320 responses: '200': description: Response @@ -73428,8 +73731,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -73512,7 +73815,7 @@ paths: - version - url additionalProperties: false - metadata: &473 + metadata: &474 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73551,7 +73854,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *473 + metadata: *474 resolved: type: object description: A collection of resolved package dependencies. @@ -73565,7 +73868,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *473 + metadata: *474 relationship: type: string description: A notation of whether a dependency is requested @@ -73698,8 +74001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *318 - *319 + - *320 - name: sha description: The SHA recorded at creation time. in: query @@ -73740,9 +74043,9 @@ paths: application/json: schema: type: array - items: *474 + items: *475 examples: - default: *475 + default: *476 headers: Link: *59 x-github: @@ -73808,8 +74111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -73891,7 +74194,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: simple-example: summary: Simple example @@ -73964,9 +74267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *318 - *319 - - &476 + - *320 + - &477 name: deployment_id description: deployment_id parameter in: path @@ -73978,7 +74281,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -74043,9 +74346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *318 - *319 - - *476 + - *320 + - *477 responses: '204': description: Response @@ -74067,9 +74370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - *319 - - *476 + - *320 + - *477 - *17 - *19 responses: @@ -74079,7 +74382,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Deployment Status description: The status of a deployment. type: object @@ -74243,9 +74546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - *319 - - *476 + - *320 + - *477 requestBody: required: true content: @@ -74320,9 +74623,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74378,9 +74681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - *319 - - *476 + - *320 + - *477 - name: status_id in: path required: true @@ -74391,9 +74694,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -74418,8 +74721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -74476,8 +74779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -74495,7 +74798,7 @@ paths: - 5 environments: type: array - items: &480 + items: &481 title: Environment description: Details of a deployment environment type: object @@ -74557,7 +74860,7 @@ paths: type: string examples: - wait_timer - wait_timer: &482 + wait_timer: &483 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74599,7 +74902,7 @@ paths: items: type: object properties: - type: *479 + type: *480 reviewer: anyOf: - *4 @@ -74626,7 +74929,7 @@ paths: - id - node_id - type - deployment_branch_policy: &483 + deployment_branch_policy: &484 type: - object - 'null' @@ -74743,9 +75046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *318 - *319 - - &481 + - *320 + - &482 name: environment_name in: path required: true @@ -74758,9 +75061,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: &484 + default: &485 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74844,9 +75147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: false content: @@ -74856,7 +75159,7 @@ paths: - object - 'null' properties: - wait_timer: *482 + wait_timer: *483 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -74875,14 +75178,14 @@ paths: items: type: object properties: - type: *479 + type: *480 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *483 + deployment_branch_policy: *484 additionalProperties: false examples: default: @@ -74902,9 +75205,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *484 + default: *485 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74928,9 +75231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *318 - *319 - - *481 + - *320 + - *482 responses: '204': description: Default response @@ -74955,9 +75258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *17 - *19 responses: @@ -74976,7 +75279,7 @@ paths: - 2 branch_policies: type: array - items: &485 + items: &486 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75037,9 +75340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: true content: @@ -75087,9 +75390,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - example-wildcard: &486 + example-wildcard: &487 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75131,10 +75434,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - &487 + - *320 + - *482 + - &488 name: branch_policy_id in: path required: true @@ -75146,9 +75449,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75167,10 +75470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - *487 + - *320 + - *482 + - *488 requestBody: required: true content: @@ -75199,9 +75502,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75220,10 +75523,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - *487 + - *320 + - *482 + - *488 responses: '204': description: Response @@ -75248,9 +75551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *481 + - *482 + - *320 - *319 - - *318 responses: '200': description: List of deployment protection rules @@ -75267,7 +75570,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &488 + items: &489 title: Deployment protection rule description: Deployment protection rule type: object @@ -75289,7 +75592,7 @@ paths: for the environment. examples: - true - app: &489 + app: &490 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75392,9 +75695,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: - - *481 + - *482 + - *320 - *319 - - *318 requestBody: content: application/json: @@ -75415,9 +75718,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *488 + schema: *489 examples: - default: &490 + default: &491 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75452,9 +75755,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: - - *481 + - *482 + - *320 - *319 - - *318 - *19 - *17 responses: @@ -75474,7 +75777,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *489 + items: *490 examples: default: value: @@ -75509,10 +75812,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *318 - *319 - - *481 - - &491 + - *320 + - *482 + - &492 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75524,9 +75827,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75547,10 +75850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *481 + - *482 + - *320 - *319 - - *318 - - *491 + - *492 responses: '204': description: Response @@ -75576,9 +75879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *17 - *19 responses: @@ -75596,9 +75899,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -75623,17 +75926,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - *319 - - *481 + - *320 + - *482 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75655,18 +75958,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *492 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75688,9 +75991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 requestBody: required: true @@ -75748,9 +76051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 responses: '204': @@ -75776,10 +76079,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *318 - *319 - - *481 - - *334 + - *320 + - *482 + - *335 - *19 responses: '200': @@ -75796,9 +76099,9 @@ paths: type: integer variables: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -75821,9 +76124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: true content: @@ -75875,18 +76178,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *159 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75907,10 +76210,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *318 - *319 + - *320 - *159 - - *481 + - *482 requestBody: required: true content: @@ -75952,10 +76255,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *318 - *319 + - *320 - *159 - - *481 + - *482 responses: '204': description: Response @@ -75977,8 +76280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -76046,8 +76349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *318 - *319 + - *320 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76206,8 +76509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -76240,9 +76543,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 '400': *14 '422': *15 '403': *27 @@ -76263,8 +76566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -76324,7 +76627,7 @@ paths: schema: oneOf: - *116 - - *494 + - *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76349,8 +76652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *318 - *319 + - *320 - name: file_sha in: path required: true @@ -76450,8 +76753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -76560,7 +76863,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &496 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76787,15 +77090,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *318 - *319 - - *450 + - *320 + - *451 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -76851,9 +77154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *318 - *319 - - &496 + - *320 + - &497 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. @@ -76870,7 +77173,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Git Reference description: Git references within a repository type: object @@ -76946,17 +77249,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 responses: '200': description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: &498 + default: &499 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76985,8 +77288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77015,9 +77318,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: *498 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77043,9 +77346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 requestBody: required: true content: @@ -77074,9 +77377,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: *498 + default: *499 '422': *15 '409': *52 x-github: @@ -77094,9 +77397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 responses: '204': description: Response @@ -77151,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77219,7 +77522,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &501 title: Git Tag description: Metadata for a Git tag type: object @@ -77275,7 +77578,7 @@ paths: - sha - type - url - verification: *499 + verification: *500 required: - sha - url @@ -77285,7 +77588,7 @@ paths: - tag - message examples: - default: &501 + default: &502 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77358,8 +77661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *318 - *319 + - *320 - name: tag_sha in: path required: true @@ -77370,9 +77673,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '404': *6 '409': *52 x-github: @@ -77396,8 +77699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77471,7 +77774,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77573,8 +77876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *318 - *319 + - *320 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77597,7 +77900,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default-response: summary: Default response @@ -77656,8 +77959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -77667,7 +77970,7 @@ paths: application/json: schema: type: array - items: &503 + items: &504 title: Webhook description: Webhooks for repositories. type: object @@ -77807,8 +78110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -77861,9 +78164,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: Repository id: 12345678 @@ -77911,17 +78214,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -77941,9 +78244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 requestBody: required: true content: @@ -77988,9 +78291,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '422': *15 '404': *6 x-github: @@ -78011,9 +78314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -78037,9 +78340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '200': description: Response @@ -78066,9 +78369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *318 - *319 - - *197 + - *320 + - *198 requestBody: required: false content: @@ -78112,11 +78415,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - *319 - - *197 - - *17 + - *320 - *198 + - *17 + - *199 responses: '200': description: Response @@ -78124,9 +78427,9 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: - default: *200 + default: *201 '400': *14 '422': *15 x-github: @@ -78145,18 +78448,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 - *16 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 '400': *14 '422': *15 x-github: @@ -78175,9 +78478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 - *16 responses: '202': *37 @@ -78200,9 +78503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -78227,9 +78530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -78252,8 +78555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response if immutable releases are enabled @@ -78301,8 +78604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *318 - *319 + - *320 responses: '204': *179 '409': *52 @@ -78322,8 +78625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *318 - *319 + - *320 responses: '204': *179 '409': *52 @@ -78380,14 +78683,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &505 + schema: &506 title: Import description: A repository import from an external source. type: object @@ -78494,7 +78797,7 @@ paths: - html_url - authors_url examples: - default: &508 + default: &509 value: vcs: subversion use_lfs: true @@ -78510,7 +78813,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': &506 + '503': &507 description: Unavailable due to service under maintenance. content: application/json: @@ -78539,8 +78842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -78588,7 +78891,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: default: value: @@ -78613,7 +78916,7 @@ paths: type: string '422': *15 '404': *6 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78641,8 +78944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -78694,7 +78997,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: example-1: summary: Example 1 @@ -78742,7 +79045,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': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78765,12 +79068,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *318 - *319 + - *320 responses: '204': description: Response - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78796,8 +79099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *318 - *319 + - *320 - &670 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -78812,7 +79115,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Porter Author description: Porter Author type: object @@ -78866,7 +79169,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': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78891,8 +79194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - *319 + - *320 - name: author_id in: path required: true @@ -78922,7 +79225,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -78935,7 +79238,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78959,8 +79262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -79001,7 +79304,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79029,8 +79332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -79057,11 +79360,11 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *508 + default: *509 '422': *15 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79084,8 +79387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -79093,8 +79396,8 @@ paths: application/json: schema: *20 examples: - default: *509 - '301': *322 + default: *510 + '301': *323 '404': *6 x-github: githubCloudOnly: false @@ -79114,8 +79417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -79123,12 +79426,12 @@ paths: application/json: schema: anyOf: - - *215 + - *216 - type: object properties: {} additionalProperties: false examples: - default: &511 + default: &512 value: limit: collaborators_only origin: repository @@ -79153,13 +79456,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *510 + schema: *511 examples: default: summary: Example request body @@ -79171,9 +79474,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *511 + default: *512 '409': description: Response x-github: @@ -79195,8 +79498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -79219,8 +79522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -79230,7 +79533,7 @@ paths: application/json: schema: type: array - items: *512 + items: *513 examples: default: &663 value: @@ -79363,9 +79666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - *319 - - *219 + - *320 + - *220 requestBody: required: false content: @@ -79394,7 +79697,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: default: value: @@ -79525,9 +79828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - *319 - - *219 + - *320 + - *220 responses: '204': description: Response @@ -79558,8 +79861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *318 - *319 + - *320 - 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 @@ -79607,7 +79910,7 @@ paths: required: false schema: type: string - - *226 + - *227 - name: sort description: What to sort results by. in: query @@ -79632,7 +79935,7 @@ paths: type: array items: *75 examples: - default: &521 + default: &522 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79781,7 +80084,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *322 + '301': *323 '422': *15 '404': *6 x-github: @@ -79810,8 +80113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -79903,7 +80206,7 @@ paths: application/json: schema: *75 examples: - default: &518 + default: &519 value: id: 1 node_id: MDU6SXNzdWUx @@ -80060,7 +80363,7 @@ paths: '422': *15 '503': *108 '404': *6 - '410': *513 + '410': *514 x-github: triggersNotification: true githubCloudOnly: false @@ -80088,8 +80391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - *319 + - *320 - *97 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -80112,7 +80415,7 @@ paths: type: array items: *76 examples: - default: &520 + default: &521 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80170,8 +80473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': @@ -80180,7 +80483,7 @@ paths: application/json: schema: *76 examples: - default: &514 + default: &515 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80235,8 +80538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -80261,7 +80564,7 @@ paths: application/json: schema: *76 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -80279,8 +80582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -80309,8 +80612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': @@ -80373,7 +80676,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -80390,8 +80693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -80399,7 +80702,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 '503': *108 x-github: githubCloudOnly: false @@ -80417,8 +80720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -80445,9 +80748,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -80468,8 +80771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -80502,16 +80805,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -80533,10 +80836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - *516 + - *517 responses: '204': description: Response @@ -80556,8 +80859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -80567,7 +80870,7 @@ paths: application/json: schema: type: array - items: &517 + items: &518 title: Issue Event description: Issue Event type: object @@ -80907,8 +81210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *318 - *319 + - *320 - name: event_id in: path required: true @@ -80919,7 +81222,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -81112,7 +81415,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *513 + '410': *514 '403': *27 x-github: githubCloudOnly: false @@ -81146,9 +81449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *318 - *319 - - &519 + - *320 + - &520 name: issue_number description: The number that identifies the issue. in: path @@ -81164,7 +81467,7 @@ paths: examples: default: summary: Issue - value: *518 + value: *519 pinned_comment: summary: Issue with pinned comment value: @@ -81363,9 +81666,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 '304': *35 x-github: githubCloudOnly: false @@ -81390,9 +81693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -81533,13 +81836,13 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 '422': *15 '503': *108 '403': *27 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81557,9 +81860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -81587,7 +81890,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81603,9 +81906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: content: application/json: @@ -81632,7 +81935,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81654,9 +81957,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: - - *318 - *319 - - *519 + - *320 + - *520 - name: assignee in: path required: true @@ -81696,9 +81999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *80 - *17 - *19 @@ -81711,11 +82014,11 @@ paths: type: array items: *76 examples: - default: *520 + default: *521 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81744,9 +82047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -81770,14 +82073,14 @@ paths: application/json: schema: *76 examples: - default: *514 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -81805,9 +82108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -81819,12 +82122,12 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81852,9 +82155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -81878,15 +82181,15 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *323 '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -81917,9 +82220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -81933,13 +82236,13 @@ paths: application/json: schema: *75 examples: - default: *518 - '301': *322 + default: *519 + '301': *323 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 x-github: triggersNotification: true githubCloudOnly: false @@ -81965,9 +82268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -81979,12 +82282,12 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82001,9 +82304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82017,7 +82320,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &524 + - &525 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -82066,7 +82369,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82194,7 +82497,7 @@ paths: - performed_via_github_app - assignee - assigner - - &526 + - &527 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82240,7 +82543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82286,7 +82589,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82335,7 +82638,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &530 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82377,7 +82680,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &531 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82419,7 +82722,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &532 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82475,7 +82778,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &532 + - &533 title: Locked Issue Event description: Locked Issue Event type: object @@ -82520,7 +82823,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82581,7 +82884,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &535 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82642,7 +82945,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82703,7 +83006,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82796,7 +83099,7 @@ paths: color: red headers: Link: *59 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82813,9 +83116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82825,9 +83128,9 @@ paths: application/json: schema: type: array - items: *522 + items: *523 examples: - default: &633 + default: &634 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -82851,9 +83154,9 @@ paths: value: '2025-12-25' headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82870,9 +83173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82884,7 +83187,7 @@ paths: type: array items: *74 examples: - default: &523 + default: &524 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82902,9 +83205,9 @@ paths: default: false headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82920,9 +83223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -82967,10 +83270,10 @@ paths: type: array items: *74 examples: - default: *523 - '301': *322 + default: *524 + '301': *323 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -82987,9 +83290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -83051,10 +83354,10 @@ paths: type: array items: *74 examples: - default: *523 - '301': *322 + default: *524 + '301': *323 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -83071,15 +83374,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '204': description: Response - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83098,9 +83401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - name: name in: path required: true @@ -83124,9 +83427,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83146,9 +83449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -83177,7 +83480,7 @@ paths: '204': description: Response '403': *27 - '410': *513 + '410': *514 '404': *6 '422': *15 x-github: @@ -83195,9 +83498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '204': description: Response @@ -83227,9 +83530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '200': description: Response @@ -83237,10 +83540,10 @@ paths: application/json: schema: *75 examples: - default: *518 - '301': *322 + default: *519 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83257,9 +83560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - 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. @@ -83285,13 +83588,13 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83309,9 +83612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -83343,16 +83646,16 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -83374,10 +83677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - *319 - - *519 - - *516 + - *320 + - *520 + - *517 responses: '204': description: Response @@ -83406,9 +83709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -83432,7 +83735,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83465,9 +83768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -83479,11 +83782,11 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83511,9 +83814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -83542,14 +83845,14 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -83569,9 +83872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -83604,7 +83907,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 '403': *27 '404': *6 '422': *7 @@ -83626,9 +83929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -83643,7 +83946,6 @@ paths: description: Timeline Event type: object anyOf: - - *524 - *525 - *526 - *527 @@ -83656,6 +83958,7 @@ paths: - *534 - *535 - *536 + - *537 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83712,7 +84015,7 @@ paths: pin: anyOf: - type: 'null' - - *537 + - *538 required: - event - actor @@ -83988,7 +84291,7 @@ paths: type: string comments: type: array - items: &556 + items: &557 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84229,7 +84532,7 @@ paths: type: string comments: type: array - items: *446 + items: *447 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84504,7 +84807,7 @@ paths: headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84521,8 +84824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -84532,7 +84835,7 @@ paths: application/json: schema: type: array - items: &538 + items: &539 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84600,8 +84903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84637,9 +84940,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &539 + default: &540 value: id: 1 key: ssh-rsa AAA... @@ -84673,9 +84976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - *319 - - &540 + - *320 + - &541 name: key_id description: The unique identifier of the key. in: path @@ -84687,9 +84990,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -84707,9 +85010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - *319 - - *540 + - *320 + - *541 responses: '204': description: Response @@ -84729,8 +85032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -84742,7 +85045,7 @@ paths: type: array items: *74 examples: - default: *523 + default: *524 headers: Link: *59 '404': *6 @@ -84763,8 +85066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84802,7 +85105,7 @@ paths: application/json: schema: *74 examples: - default: &541 + default: &542 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84834,8 +85137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -84848,7 +85151,7 @@ paths: application/json: schema: *74 examples: - default: *541 + default: *542 '404': *6 x-github: githubCloudOnly: false @@ -84865,8 +85168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -84931,8 +85234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -84958,8 +85261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -84998,9 +85301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - *319 - - *421 + - *320 + - *422 responses: '200': description: Response @@ -85147,8 +85450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85213,8 +85516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85248,9 +85551,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *449 + schema: *450 examples: - default: *542 + default: *543 '204': description: Response when already merged '404': @@ -85275,8 +85578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *318 - *319 + - *320 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85317,7 +85620,7 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: default: value: @@ -85373,8 +85676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85414,9 +85717,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85475,9 +85778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *318 - *319 - - &544 + - *320 + - &545 name: milestone_number description: The number that identifies the milestone. in: path @@ -85489,9 +85792,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *543 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -85508,9 +85811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 requestBody: required: false content: @@ -85548,9 +85851,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85566,9 +85869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 responses: '204': description: Response @@ -85589,9 +85892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 - *17 - *19 responses: @@ -85603,7 +85906,7 @@ paths: type: array items: *74 examples: - default: *523 + default: *524 headers: Link: *59 x-github: @@ -85622,12 +85925,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *318 - *319 - - *545 + - *320 - *546 - - *80 - *547 + - *80 + - *548 - *17 - *19 responses: @@ -85639,7 +85942,7 @@ paths: type: array items: *100 examples: - default: *548 + default: *549 headers: Link: *59 x-github: @@ -85663,8 +85966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -85722,14 +86025,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &549 + schema: &550 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85873,7 +86176,7 @@ paths: - custom_404 - public examples: - default: &550 + default: &551 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85914,8 +86217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85970,9 +86273,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *550 + default: *551 '422': *15 '409': *52 x-github: @@ -85995,8 +86298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86096,8 +86399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -86123,8 +86426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -86134,7 +86437,7 @@ paths: application/json: schema: type: array - items: &551 + items: &552 title: Page Build description: Page Build type: object @@ -86226,8 +86529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -86274,16 +86577,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: &552 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86331,8 +86634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *318 - *319 + - *320 - name: build_id in: path required: true @@ -86343,9 +86646,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86365,8 +86668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86474,9 +86777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *318 - *319 - - &553 + - *320 + - &554 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86534,9 +86837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - *319 - - *553 + - *320 + - *554 responses: '204': *179 '404': *6 @@ -86563,8 +86866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -86859,8 +87162,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: - - *318 - *319 + - *320 responses: '200': description: Private vulnerability reporting status @@ -86897,8 +87200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': *179 '422': *14 @@ -86919,8 +87222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': *179 '422': *14 @@ -86942,8 +87245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -86951,7 +87254,7 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: default: value: @@ -86982,8 +87285,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86995,7 +87298,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *273 + items: *274 required: - properties examples: @@ -87045,8 +87348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *318 - *319 + - *320 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87106,9 +87409,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: *554 + default: *555 headers: Link: *59 '304': *35 @@ -87140,8 +87443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -87208,7 +87511,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &559 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87337,7 +87640,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 active_lock_reason: type: - string @@ -87386,7 +87689,7 @@ paths: items: *4 requested_teams: type: array - items: *238 + items: *239 head: type: object properties: @@ -87424,14 +87727,14 @@ paths: _links: type: object properties: - comments: *260 - commits: *260 - statuses: *260 - html: *260 - issue: *260 - review_comments: *260 - review_comment: *260 - self: *260 + comments: *261 + commits: *261 + statuses: *261 + html: *261 + issue: *261 + review_comments: *261 + review_comment: *261 + self: *261 required: - comments - commits @@ -87442,7 +87745,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *555 + auto_merge: *556 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -87544,7 +87847,7 @@ paths: - merged_by - review_comments examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88071,8 +88374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - *319 + - *320 - name: sort in: query required: false @@ -88101,9 +88404,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: &561 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88180,17 +88483,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 responses: '200': description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88265,8 +88568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -88289,9 +88592,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88307,8 +88610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -88330,8 +88633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -88358,9 +88661,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -88381,8 +88684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -88415,16 +88718,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -88446,10 +88749,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - *516 + - *517 responses: '204': description: Response @@ -88492,9 +88795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *318 - *319 - - &560 + - *320 + - &561 name: pull_number description: The number that identifies the pull request. in: path @@ -88507,9 +88810,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '304': *35 '404': *6 '406': @@ -88544,9 +88847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -88588,9 +88891,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '422': *15 '403': *27 x-github: @@ -88612,9 +88915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -88675,17 +88978,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -88715,9 +89018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *97 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88738,9 +89041,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -88773,9 +89076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -88881,7 +89184,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: example-for-a-multi-line-comment: value: @@ -88969,9 +89272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *89 requestBody: required: true @@ -88994,7 +89297,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -89080,9 +89383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -89092,9 +89395,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: *562 + default: *563 headers: Link: *59 x-github: @@ -89124,9 +89427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -89136,7 +89439,7 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: default: value: @@ -89174,9 +89477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *318 - *319 - - *560 + - *320 + - *561 responses: '204': description: Response if pull request has been merged @@ -89199,9 +89502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -89313,9 +89616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 responses: '200': description: Response @@ -89390,9 +89693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -89429,7 +89732,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -89965,9 +90268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -90001,7 +90304,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -90506,9 +90809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -90518,7 +90821,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90674,9 +90977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -90766,9 +91069,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &565 + default: &566 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90831,10 +91134,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - &564 + - *320 + - *561 + - &565 name: review_id description: The unique identifier of the review. in: path @@ -90846,9 +91149,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &566 + default: &567 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90907,10 +91210,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -90933,7 +91236,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -90995,18 +91298,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *565 + default: *566 '422': *7 '404': *6 x-github: @@ -91033,10 +91336,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 - *17 - *19 responses: @@ -91134,9 +91437,9 @@ paths: _links: type: object properties: - self: *260 - html: *260 - pull_request: *260 + self: *261 + html: *261 + pull_request: *261 required: - self - html @@ -91294,10 +91597,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -91326,7 +91629,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -91389,10 +91692,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -91427,9 +91730,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *566 + default: *567 '404': *6 '422': *7 '403': *27 @@ -91451,9 +91754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -91517,8 +91820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *318 - *319 + - *320 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91531,9 +91834,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: &568 + default: &569 value: type: file encoding: base64 @@ -91575,8 +91878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *318 - *319 + - *320 - name: dir description: The alternate path to look for a README file in: path @@ -91596,9 +91899,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: *568 + default: *569 '404': *6 '422': *15 x-github: @@ -91620,8 +91923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -91631,7 +91934,7 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: default: value: @@ -91725,8 +92028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -91802,9 +92105,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &573 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91909,9 +92212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *318 - *319 - - &571 + - *320 + - &572 name: asset_id description: The unique identifier of the asset. in: path @@ -91923,9 +92226,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &572 + default: &573 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 @@ -91960,7 +92263,7 @@ paths: type: User site_admin: false '404': *6 - '302': *462 + '302': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91976,9 +92279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *318 - *319 - - *571 + - *320 + - *572 requestBody: required: false content: @@ -92007,9 +92310,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *572 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92025,9 +92328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *318 - *319 - - *571 + - *320 + - *572 responses: '204': description: Response @@ -92051,8 +92354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -92138,16 +92441,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92164,8 +92467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - *319 + - *320 - name: tag description: tag parameter in: path @@ -92178,9 +92481,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -92202,9 +92505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *318 - *319 - - &574 + - *320 + - &575 name: release_id description: The unique identifier of the release. in: path @@ -92218,9 +92521,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: *569 + schema: *570 examples: - default: *573 + default: *574 '401': description: Unauthorized x-github: @@ -92238,9 +92541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 requestBody: required: false content: @@ -92304,9 +92607,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 '404': description: Not Found if the discussion category name is invalid content: @@ -92327,9 +92630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 responses: '204': description: Response @@ -92349,9 +92652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *318 - *319 - - *574 + - *320 + - *575 - *17 - *19 responses: @@ -92361,7 +92664,7 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: default: value: @@ -92442,9 +92745,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: - - *318 - *319 - - *574 + - *320 + - *575 - name: name in: query required: true @@ -92470,7 +92773,7 @@ paths: description: Response for successful upload content: application/json: - schema: *570 + schema: *571 examples: response-for-successful-upload: value: @@ -92525,9 +92828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 - 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. @@ -92551,9 +92854,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -92574,9 +92877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 requestBody: required: true content: @@ -92606,16 +92909,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -92637,10 +92940,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - *319 - - *574 - - *516 + - *320 + - *575 + - *517 responses: '204': description: Response @@ -92664,9 +92967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 - *17 - *19 responses: @@ -92682,8 +92985,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *280 - - &575 + - *281 + - &576 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92702,69 +93005,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *281 - - *575 - allOf: - *282 - - *575 + - *576 - allOf: - *283 - - *575 - - allOf: - *576 - - *575 - allOf: - *284 - - *575 + - *576 + - allOf: + - *577 + - *576 - allOf: - *285 - - *575 + - *576 - allOf: - *286 - - *575 + - *576 - allOf: - *287 - - *575 + - *576 - allOf: - *288 - - *575 + - *576 - allOf: - *289 - - *575 + - *576 - allOf: - *290 - - *575 + - *576 - allOf: - *291 - - *575 + - *576 - allOf: - *292 - - *575 + - *576 - allOf: - *293 - - *575 + - *576 - allOf: - *294 - - *575 + - *576 - allOf: - *295 - - *575 + - *576 - allOf: - *296 - - *575 + - *576 - allOf: - *297 - - *575 + - *576 - allOf: - *298 - - *575 + - *576 - allOf: - *299 - - *575 + - *576 - allOf: - *300 - - *575 + - *576 + - allOf: + - *301 + - *576 examples: default: value: @@ -92803,8 +93106,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - *17 - *19 - name: includes_parents @@ -92815,7 +93118,7 @@ paths: schema: type: boolean default: true - - *577 + - *578 responses: '200': description: Response @@ -92823,7 +93126,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: value: @@ -92870,8 +93173,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 requestBody: description: Request body required: true @@ -92891,16 +93194,16 @@ paths: - tag - push default: branch - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *275 + items: *279 + conditions: *276 rules: type: array description: An array of rules within the ruleset. - items: *578 + items: *579 required: - name - enforcement @@ -92931,9 +93234,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &588 + default: &589 value: id: 42 name: super cool ruleset @@ -92981,12 +93284,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - *319 - - *579 + - *320 - *580 - *581 - *582 + - *583 - *17 - *19 responses: @@ -92994,9 +93297,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *584 + default: *585 '404': *6 '500': *107 x-github: @@ -93017,17 +93320,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - *319 - - *585 + - *320 + - *586 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '404': *6 '500': *107 x-github: @@ -93055,8 +93358,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93076,9 +93379,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *588 + default: *589 '404': *6 '500': *107 put: @@ -93096,8 +93399,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93122,16 +93425,16 @@ paths: - branch - tag - push - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *275 + items: *279 + conditions: *276 rules: description: An array of rules within the ruleset. type: array - items: *578 + items: *579 examples: default: value: @@ -93159,9 +93462,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *588 + default: *589 '404': *6 '422': *15 '500': *107 @@ -93180,8 +93483,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93204,8 +93507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *318 - *319 + - *320 - *17 - *19 - name: ruleset_id @@ -93221,9 +93524,9 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: - default: *589 + default: *590 '404': *6 '500': *107 x-github: @@ -93242,8 +93545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93261,7 +93564,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -93316,22 +93619,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *318 - *319 - - *591 + - *320 - *592 - *593 - *594 - *595 + - *596 - *53 - *19 - *17 - - *596 - *597 - *598 - *599 - *600 - *601 + - *602 responses: '200': description: Response @@ -93339,7 +93642,7 @@ paths: application/json: schema: type: array - items: &605 + items: &606 type: object properties: number: *166 @@ -93355,8 +93658,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *602 - resolution: *603 + state: *603 + resolution: *604 resolved_at: type: - string @@ -93450,7 +93753,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *604 + - *605 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -93595,16 +93898,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 - - *601 + - *320 + - *416 + - *602 responses: '200': description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -93658,9 +93961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: true content: @@ -93668,8 +93971,8 @@ paths: schema: type: object properties: - state: *602 - resolution: *603 + state: *603 + resolution: *604 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93705,7 +94008,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -93800,9 +94103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 - *19 - *17 responses: @@ -93840,7 +94143,6 @@ paths: - commit details: oneOf: - - *606 - *607 - *608 - *609 @@ -93853,6 +94155,7 @@ paths: - *616 - *617 - *618 + - *619 examples: default: value: @@ -93938,8 +94241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -93947,14 +94250,14 @@ paths: schema: type: object properties: - reason: &620 + reason: &621 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *619 + placeholder_id: *620 required: - reason - placeholder_id @@ -93971,7 +94274,7 @@ paths: schema: type: object properties: - reason: *620 + reason: *621 expire_at: type: - string @@ -94018,8 +94321,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: - - *318 - *319 + - *320 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -94034,7 +94337,7 @@ paths: properties: incremental_scans: type: array - items: &621 + items: &622 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94062,15 +94365,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *621 + items: *622 backfill_scans: type: array - items: *621 + items: *622 custom_pattern_backfill_scans: type: array items: allOf: - - *621 + - *622 - type: object properties: pattern_name: @@ -94140,8 +94443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - *319 + - *320 - *53 - name: sort description: The property to sort the results by. @@ -94185,9 +94488,9 @@ paths: application/json: schema: type: array - items: *622 + items: *623 examples: - default: *623 + default: *624 '400': *14 '404': *6 x-github: @@ -94210,8 +94513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -94291,7 +94594,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 required: - login - type @@ -94381,9 +94684,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: &625 + default: &626 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94616,8 +94919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -94730,7 +95033,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: default: value: @@ -94877,17 +95180,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *318 - *319 - - *624 + - *320 + - *625 responses: '200': description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: *625 + default: *626 '403': *27 '404': *6 x-github: @@ -94911,9 +95214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *318 - *319 - - *624 + - *320 + - *625 requestBody: required: true content: @@ -94993,7 +95296,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 required: - login - type @@ -95084,10 +95387,10 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: *625 - add_credit: *625 + default: *626 + add_credit: *626 '403': *27 '404': *6 '422': @@ -95125,9 +95428,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: - - *318 - *319 - - *624 + - *320 + - *625 responses: '202': *37 '400': *14 @@ -95154,17 +95457,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *318 - *319 - - *624 + - *320 + - *625 responses: '202': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 '400': *14 '422': *15 '403': *27 @@ -95190,8 +95493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -95287,8 +95590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95297,7 +95600,7 @@ paths: application/json: schema: type: array - items: &626 + items: &627 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95330,8 +95633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -95409,8 +95712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -95504,8 +95807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - *319 + - *320 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95659,8 +95962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *318 - *319 + - *320 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95670,7 +95973,7 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: default: value: @@ -95703,8 +96006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *318 - *319 + - *320 - name: sha in: path required: true @@ -95760,7 +96063,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: default: value: @@ -95814,8 +96117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -95847,14 +96150,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *318 - *319 + - *320 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &628 + schema: &629 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95927,8 +96230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -95954,7 +96257,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -95981,8 +96284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -96002,8 +96305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -96085,8 +96388,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - *319 + - *320 - name: ref in: path required: true @@ -96122,8 +96425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -96135,7 +96438,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 headers: Link: *59 '404': *6 @@ -96155,8 +96458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *318 - *319 + - *320 - *19 - *17 responses: @@ -96164,7 +96467,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96176,7 +96479,7 @@ paths: required: - names examples: - default: &630 + default: &631 value: names: - octocat @@ -96199,8 +96502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -96231,9 +96534,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '422': *7 x-github: @@ -96254,9 +96557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *318 - *319 - - &631 + - *320 + - &632 name: per description: The time frame to display results for. in: query @@ -96287,7 +96590,7 @@ paths: - 128 clones: type: array - items: &632 + items: &633 title: Traffic type: object properties: @@ -96374,8 +96677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -96469,8 +96772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -96533,9 +96836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *318 - *319 - - *631 + - *320 + - *632 responses: '200': description: Response @@ -96556,7 +96859,7 @@ paths: - 3782 views: type: array - items: *632 + items: *633 required: - uniques - count @@ -96633,8 +96936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -96908,8 +97211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96932,8 +97235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -96955,8 +97258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -96982,8 +97285,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - *319 + - *320 - name: ref in: path required: true @@ -97075,9 +97378,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97225,7 +97528,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *137 - - *519 + - *520 requestBody: required: true content: @@ -97291,9 +97594,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *522 + items: *523 examples: - default: *633 + default: *634 '400': *14 '403': *27 '404': *6 @@ -97330,7 +97633,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *137 - - *519 + - *520 requestBody: required: true content: @@ -97397,9 +97700,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *522 + items: *523 examples: - default: *633 + default: *634 '400': *14 '403': *27 '404': *6 @@ -97431,8 +97734,8 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *137 - - *519 - - *222 + - *520 + - *223 responses: '204': description: Issue field value deleted successfully @@ -97572,7 +97875,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &634 + text_matches: &635 title: Search Result Text Matches type: array items: @@ -97735,7 +98038,7 @@ paths: enum: - author-date - committer-date - - &635 + - &636 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 @@ -97804,7 +98107,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 comment_count: type: integer message: @@ -97823,7 +98126,7 @@ paths: url: type: string format: uri - verification: *499 + verification: *500 required: - author - committer @@ -97838,7 +98141,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 parents: type: array items: @@ -97855,7 +98158,7 @@ paths: type: number node_id: type: string - text_matches: *634 + text_matches: *635 required: - sha - node_id @@ -98047,7 +98350,7 @@ paths: - interactions - created - updated - - *635 + - *636 - *17 - *19 - name: advanced_search @@ -98144,11 +98447,11 @@ paths: type: - string - 'null' - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: type: string state_reason: @@ -98162,7 +98465,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 comments: type: integer created_at: @@ -98176,7 +98479,7 @@ paths: - string - 'null' format: date-time - text_matches: *634 + text_matches: *635 pull_request: type: object properties: @@ -98225,7 +98528,7 @@ paths: timeline_url: type: string format: uri - type: *223 + type: *224 performed_via_github_app: anyOf: - type: 'null' @@ -98403,7 +98706,7 @@ paths: enum: - created - updated - - *635 + - *636 - *17 - *19 responses: @@ -98448,7 +98751,7 @@ paths: - 'null' score: type: number - text_matches: *634 + text_matches: *635 required: - id - node_id @@ -98533,7 +98836,7 @@ paths: - forks - help-wanted-issues - updated - - *635 + - *636 - *17 - *19 responses: @@ -98781,7 +99084,7 @@ paths: - admin - pull - push - text_matches: *634 + text_matches: *635 temp_clone_token: type: string allow_merge_commit: @@ -99089,7 +99392,7 @@ paths: - string - 'null' format: uri - text_matches: *634 + text_matches: *635 related: type: - array @@ -99282,7 +99585,7 @@ paths: - followers - repositories - joined - - *635 + - *636 - *17 - *19 responses: @@ -99392,7 +99695,7 @@ paths: type: - boolean - 'null' - text_matches: *634 + text_matches: *635 blog: type: - string @@ -99474,7 +99777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &638 + - &639 name: team_id description: The unique identifier of the team. in: path @@ -99486,9 +99789,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -99515,7 +99818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *638 + - *639 requestBody: required: true content: @@ -99579,16 +99882,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '201': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': *15 '403': *27 @@ -99616,7 +99919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *638 + - *639 responses: '204': description: Response @@ -99645,7 +99948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -99655,9 +99958,9 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 x-github: @@ -99683,7 +99986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *638 + - *639 - name: role description: Filters members returned by their role in the team. in: query @@ -99734,7 +100037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99771,7 +100074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99811,7 +100114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99848,16 +100151,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 responses: '200': description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-user-is-a-team-maintainer: *639 + response-if-user-is-a-team-maintainer: *640 '404': *6 x-github: githubCloudOnly: false @@ -99890,7 +100193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 requestBody: required: false @@ -99916,9 +100219,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-users-membership-with-team-is-now-pending: *640 + response-if-users-membership-with-team-is-now-pending: *641 '403': description: Forbidden if team synchronization is set up '422': @@ -99952,7 +100255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99980,7 +100283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -99992,7 +100295,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 '404': *6 @@ -100022,15 +100325,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *641 + schema: *642 examples: alternative-response-with-extra-repository-information: value: @@ -100181,9 +100484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 requestBody: required: false content: @@ -100233,9 +100536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 responses: '204': description: Response @@ -100260,7 +100563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -100272,7 +100575,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: *642 + response-if-child-teams-exist: *643 headers: Link: *59 '404': *6 @@ -100305,7 +100608,7 @@ paths: application/json: schema: oneOf: - - &644 + - &645 title: Private User description: Private User type: object @@ -100555,7 +100858,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *643 + - *644 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -100715,7 +101018,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: default: value: @@ -100918,9 +101221,9 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 '304': *35 '500': *107 '401': *23 @@ -101059,17 +101362,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -101113,7 +101416,7 @@ paths: type: integer secrets: type: array - items: &645 + items: &646 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -101155,7 +101458,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *441 headers: Link: *59 x-github: @@ -101233,7 +101536,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: default: value: @@ -101379,7 +101682,7 @@ paths: type: array items: *148 examples: - default: *646 + default: *184 '401': *23 '403': *27 '404': *6 @@ -101523,15 +101826,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '304': *35 '500': *107 '401': *23 @@ -101557,7 +101860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 requestBody: required: false content: @@ -101587,9 +101890,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -101611,7 +101914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '202': *37 '304': *35 @@ -101640,7 +101943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '202': description: Response @@ -101731,7 +102034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *230 + - *231 - name: export_id in: path required: true @@ -101767,7 +102070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *230 + - *231 responses: '200': description: Response @@ -101783,7 +102086,7 @@ paths: type: integer machines: type: array - items: *439 + items: *440 examples: default: *649 '304': *35 @@ -101814,7 +102117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *230 + - *231 requestBody: required: true content: @@ -101870,11 +102173,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *322 machine: anyOf: - type: 'null' - - *439 + - *440 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -102671,15 +102974,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '304': *35 '500': *107 '400': *14 @@ -102711,15 +103014,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '500': *107 '401': *23 '403': *27 @@ -102749,7 +103052,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: &660 value: @@ -103863,12 +104166,12 @@ paths: application/json: schema: anyOf: - - *215 + - *216 - type: object properties: {} additionalProperties: false examples: - default: *216 + default: *217 '204': description: Response when there are no restrictions x-github: @@ -103892,7 +104195,7 @@ paths: required: true content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -103903,7 +104206,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -103984,7 +104287,7 @@ paths: - closed - all default: open - - *226 + - *227 - name: sort description: What to sort results by. in: query @@ -104009,7 +104312,7 @@ paths: type: array items: *75 examples: - default: *227 + default: *228 headers: Link: *59 '404': *6 @@ -104180,7 +104483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *540 + - *541 responses: '200': description: Response @@ -104211,7 +104514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *540 + - *541 responses: '204': description: Response @@ -104427,7 +104730,7 @@ paths: application/json: schema: type: array - items: *232 + items: *233 examples: default: value: @@ -104541,7 +104844,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: default: value: @@ -104628,7 +104931,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: default: value: @@ -104700,7 +105003,7 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: default: value: @@ -104962,7 +105265,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -105142,7 +105445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *235 + - *236 - name: exclude in: query required: false @@ -105155,7 +105458,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -105349,7 +105652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *235 + - *236 responses: '302': description: Response @@ -105375,7 +105678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *235 + - *236 responses: '204': description: Response @@ -105404,7 +105707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *235 + - *236 - *658 responses: '204': @@ -105429,7 +105732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *235 + - *236 - *17 - *19 responses: @@ -105441,7 +105744,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 '404': *6 @@ -105530,7 +105833,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *660 '400': *661 @@ -105553,14 +105856,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: default: &679 value: @@ -105675,8 +105978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 responses: '204': description: Response @@ -105706,8 +106009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 - name: token description: package token schema: @@ -105739,8 +106042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *242 - *243 + - *244 - *19 - *17 - name: state @@ -105760,7 +106063,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -105809,15 +106112,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -105853,9 +106156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '204': description: Response @@ -105885,9 +106188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '204': description: Response @@ -106357,9 +106660,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106397,7 +106700,7 @@ paths: application/json: schema: type: array - items: *512 + items: *513 examples: default: *663 headers: @@ -106422,7 +106725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *219 + - *220 responses: '204': description: Response @@ -106445,7 +106748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *219 + - *220 responses: '204': description: Response @@ -107016,8 +107319,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: - - *318 - *319 + - *320 responses: '204': description: Response if this repository is starred by you @@ -107045,8 +107348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -107070,8 +107373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -107106,7 +107409,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 '304': *35 @@ -107143,7 +107446,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: value: @@ -107229,8 +107532,8 @@ paths: application/json: schema: oneOf: + - *645 - *644 - - *643 examples: default-response: &673 summary: Default response @@ -107331,7 +107634,7 @@ paths: required: true schema: type: string - - *258 + - *259 requestBody: required: true description: Details of the draft item to create in the project. @@ -107365,9 +107668,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - draft_issue: *264 + draft_issue: *265 '304': *35 '403': *27 '401': *23 @@ -107426,7 +107729,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *671 - - *258 + - *259 requestBody: required: true content: @@ -107504,13 +107807,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *268 + value: *269 board_view: summary: Response for creating a board view with filter - value: *268 + value: *269 roadmap_view: summary: Response for creating a roadmap view - value: *268 + value: *269 '304': *35 '403': *27 '401': *23 @@ -107552,8 +107855,8 @@ paths: application/json: schema: oneOf: + - *645 - *644 - - *643 examples: default-response: *673 response-with-git-hub-plan-information: *674 @@ -107866,7 +108169,7 @@ paths: initiator: type: string examples: - default: *379 + default: *380 '201': description: Response content: @@ -107905,7 +108208,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *660 '403': *27 @@ -108397,7 +108700,7 @@ paths: application/json: schema: *20 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108533,7 +108836,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *660 '403': *27 @@ -108558,15 +108861,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: default: *679 x-github: @@ -108589,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '204': @@ -108623,8 +108926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 - name: token description: package token @@ -108657,8 +108960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '200': @@ -108667,7 +108970,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -108725,16 +109028,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -108769,10 +109072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *242 - *243 + - *244 - *63 - - *245 + - *246 responses: '204': description: Response @@ -108804,10 +109107,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *242 - *243 + - *244 - *63 - - *245 + - *246 responses: '204': description: Response @@ -108848,9 +109151,9 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -108872,16 +109175,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *258 + - *259 - *63 responses: '200': description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -108903,7 +109206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *258 + - *259 - *63 - *17 - *45 @@ -108915,7 +109218,7 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: default: *680 headers: @@ -108939,7 +109242,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *63 - - *258 + - *259 requestBody: required: true content: @@ -109022,7 +109325,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: text_field: *685 number_field: *686 @@ -109049,7 +109352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *258 + - *259 - *690 - *63 responses: @@ -109057,7 +109360,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: *691 headers: @@ -109082,7 +109385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *258 + - *259 - *63 - *45 - *46 @@ -109115,9 +109418,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -109139,7 +109442,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *258 + - *259 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -109209,22 +109512,22 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *264 + value: *265 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *264 + value: *265 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *264 + value: *265 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *264 + value: *265 '304': *35 '403': *27 '401': *23 @@ -109244,9 +109547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *258 + - *259 - *63 - - *267 + - *268 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -109266,9 +109569,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -109289,9 +109592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *258 + - *259 - *63 - - *267 + - *268 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -109364,13 +109667,13 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - text_field: *266 - number_field: *266 - date_field: *266 - single_select_field: *266 - iteration_field: *266 + text_field: *267 + number_field: *267 + date_field: *267 + single_select_field: *267 + iteration_field: *267 '401': *23 '403': *27 '404': *6 @@ -109390,9 +109693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *258 + - *259 - *63 - - *267 + - *268 responses: '204': description: Response @@ -109414,7 +109717,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *258 + - *259 - *63 - *692 - name: fields @@ -109442,9 +109745,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -109665,7 +109968,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -110163,7 +110466,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -115949,7 +116252,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116281,7 +116584,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116625,7 +116928,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116984,7 +117287,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117267,7 +117570,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117565,7 +117868,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117886,7 +118189,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118488,7 +118791,7 @@ webhooks: type: string enum: - created - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -118655,7 +118958,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -118735,7 +119038,7 @@ webhooks: type: string enum: - updated - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -118823,11 +119126,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *273 + items: *274 old_property_values: type: array description: The old custom property values for the repository. - items: *273 + items: *274 required: - action - repository @@ -118994,7 +119297,7 @@ webhooks: type: string enum: - assignees_changed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119078,7 +119381,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119163,7 +119466,7 @@ webhooks: type: string enum: - auto_reopened - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119248,7 +119551,7 @@ webhooks: type: string enum: - created - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119331,7 +119634,7 @@ webhooks: type: string enum: - dismissed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119414,7 +119717,7 @@ webhooks: type: string enum: - fixed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119498,7 +119801,7 @@ webhooks: type: string enum: - reintroduced - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119581,7 +119884,7 @@ webhooks: type: string enum: - reopened - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -121107,10 +121410,10 @@ webhooks: deployment: anyOf: - type: 'null' - - *474 + - *475 pull_requests: type: array - items: *558 + items: *559 repository: *703 organization: *702 installation: *701 @@ -129300,7 +129603,7 @@ webhooks: pin: anyOf: - type: 'null' - - *537 + - *538 user: title: User type: @@ -130199,8 +130502,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130217,7 +130520,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -130799,7 +131102,7 @@ webhooks: pin: anyOf: - type: 'null' - - *537 + - *538 required: - url - html_url @@ -131622,8 +131925,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131640,7 +131943,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -132892,8 +133195,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132910,7 +133213,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -134151,8 +134454,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134169,7 +134472,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -135411,8 +135714,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135429,7 +135732,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -137033,11 +137336,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137054,7 +137357,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -138055,11 +138358,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138076,7 +138379,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -139210,11 +139513,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139231,7 +139534,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -140244,11 +140547,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140265,7 +140568,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -141401,11 +141704,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141419,7 +141722,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -142418,11 +142721,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142436,7 +142739,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -143460,11 +143763,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143478,7 +143781,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -144471,11 +144774,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144492,7 +144795,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -145461,11 +145764,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145565,7 +145868,7 @@ webhooks: required: - login - id - type: *223 + type: *224 required: - id - number @@ -146869,11 +147172,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146890,7 +147193,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -147884,11 +148187,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147905,7 +148208,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -148921,11 +149224,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149022,7 +149325,7 @@ webhooks: format: uri user_view_type: type: string - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -149912,11 +150215,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149933,7 +150236,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -150617,7 +150920,7 @@ webhooks: enterprise: *700 installation: *701 issue: *727 - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -151774,11 +152077,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151795,7 +152098,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -152042,7 +152345,7 @@ webhooks: enterprise: *700 installation: *701 issue: *727 - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -154048,7 +154351,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *399 + head_commit: *400 required: - head_sha - head_ref @@ -159839,7 +160142,7 @@ webhooks: - closed installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -159922,7 +160225,7 @@ webhooks: - created installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -160005,7 +160308,7 @@ webhooks: - deleted installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -160128,7 +160431,7 @@ webhooks: type: string installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -160247,7 +160550,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *262 + content_type: *263 creator: *4 created_at: type: string @@ -161002,7 +161305,7 @@ webhooks: - reopened installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -168856,7 +169159,7 @@ webhooks: organization: *702 pull_request: &746 allOf: - - *558 + - *559 - type: object properties: allow_auto_merge: @@ -169085,7 +169388,7 @@ webhooks: enum: - demilestoned enterprise: *700 - milestone: *259 + milestone: *260 number: *745 organization: *702 pull_request: &747 @@ -181481,7 +181784,7 @@ webhooks: enum: - milestoned enterprise: *700 - milestone: *259 + milestone: *260 number: *745 organization: *702 pull_request: *747 @@ -225112,7 +225415,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_advisory: *622 + repository_advisory: *623 sender: *4 required: - action @@ -225192,7 +225495,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_advisory: *622 + repository_advisory: *623 sender: *4 required: - action @@ -226058,7 +226361,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 sender: *4 required: - action @@ -226140,7 +226443,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 sender: *4 required: - action @@ -226222,7 +226525,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 changes: type: object properties: @@ -226241,16 +226544,16 @@ webhooks: properties: added: type: array - items: *275 + items: *276 deleted: type: array - items: *275 + items: *276 updated: type: array items: type: object properties: - condition: *275 + condition: *276 changes: type: object properties: @@ -226283,16 +226586,16 @@ webhooks: properties: added: type: array - items: *578 + items: *579 deleted: type: array - items: *578 + items: *579 updated: type: array items: type: object properties: - rule: *578 + rule: *579 changes: type: object properties: @@ -228920,11 +229223,11 @@ webhooks: from: type: object properties: - security_and_analysis: *274 + security_and_analysis: *275 enterprise: *700 installation: *701 organization: *702 - repository: *321 + repository: *322 sender: *4 required: - changes @@ -234254,7 +234557,7 @@ webhooks: type: string required: - conclusion - deployment: *474 + deployment: *475 required: - action - repository @@ -234618,7 +234921,7 @@ webhooks: required: - status - steps - deployment: *474 + deployment: *475 required: - action - repository @@ -234846,7 +235149,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *474 + deployment: *475 required: - action - repository @@ -235075,7 +235378,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *474 + deployment: *475 required: - action - repository diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index dca5fe22d..614bdfd97 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -5623,6 +5623,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -6755,6 +6763,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -7660,6 +7676,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -8130,6 +8154,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -10466,1170 +10498,1186 @@ "write" ] }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": [ - "read" - ] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": [ - "read", - "write" - ] - }, - "email_addresses": { - "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": [ - "read", - "write" - ] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": [ - "read", - "write" - ] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": [ - "write" - ] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", - "enum": [ - "read", - "write", - "admin" - ] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - }, - "single_file_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "config.yaml" - ] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [ - true - ] - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "account": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ] - } - ] - }, - "expires_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - } - }, - "required": [ - "app", - "id", - "note", - "note_url", - "scopes", - "token", - "hashed_token", - "token_last_eight", - "fingerprint", - "url", - "created_at", - "updated_at", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo", - "user" - ], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "Iv1.8a61f9b3a7aba766" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678", - "expires_at": "2011-09-08T17:26:27Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - } - } - }, - "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" - } - } - ] - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "apps", - "subcategory": "oauth-applications" - } - }, - "patch": { - "summary": "Reset a token", - "description": "OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.", - "tags": [ - "apps" - ], - "operationId": "apps/reset-token", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/apps/oauth-applications#reset-a-token" - }, - "parameters": [ - { - "name": "client_id", - "in": "path", - "required": true, - "description": "The client ID of the GitHub app.", - "schema": { - "type": "string" - }, - "examples": { - "default": { - "value": "Iv1.8a61f9b3a7aba766" - } - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "access_token": { - "description": "The access_token of the OAuth or GitHub application.", - "type": "string" - } - }, - "required": [ - "access_token" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Authorization", - "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "url": { - "type": "string", - "format": "uri" - }, - "scopes": { - "description": "A list of scopes that this authorization is in.", - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "token": { - "type": "string" - }, - "token_last_eight": { - "type": [ - "string", - "null" - ] - }, - "hashed_token": { - "type": [ - "string", - "null" - ] - }, - "app": { - "type": "object", - "properties": { - "client_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "client_id", - "name", - "url" - ] - }, - "note": { - "type": [ - "string", - "null" - ] - }, - "note_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "fingerprint": { - "type": [ - "string", - "null" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "installation": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Scoped Installation", - "type": "object", - "properties": { - "permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": [ - "read", - "write" - ] - }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, - "attestations": { - "type": "string", - "description": "The level of permission to create and retrieve the access token for repository attestations.", - "enum": [ - "read", - "write" - ] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": [ - "read", - "write" - ] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": [ - "read", - "write" - ] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": [ - "read", - "write" - ] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - "discussions": { - "type": "string", - "description": "The level of permission to grant the access token for discussions and related comments and labels.", - "enum": [ - "read", - "write" - ] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - "issues": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "single_file_name": { + "type": [ + "string", + "null" + ], + "examples": [ + "config.yaml" + ] + }, + "has_multiple_single_files": { + "type": "boolean", + "examples": [ + true + ] + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "account": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ] + } + ] + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "app", + "id", + "note", + "note_url", + "scopes", + "token", + "hashed_token", + "token_last_eight", + "fingerprint", + "url", + "created_at", + "updated_at", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "url": "https://api.github.com/authorizations/1", + "scopes": [ + "public_repo", + "user" + ], + "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", + "token_last_eight": "Ae178B4a", + "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "app": { + "url": "http://my-github-app.com", + "name": "my github app", + "client_id": "Iv1.8a61f9b3a7aba766" + }, + "note": "optional note", + "note_url": "http://optional/note/url", + "updated_at": "2011-09-06T20:39:23Z", + "created_at": "2011-09-06T17:26:27Z", + "fingerprint": "jklmnop12345678", + "expires_at": "2011-09-08T17:26:27Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "apps", + "subcategory": "oauth-applications" + } + }, + "patch": { + "summary": "Reset a token", + "description": "OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.", + "tags": [ + "apps" + ], + "operationId": "apps/reset-token", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/apps/oauth-applications#reset-a-token" + }, + "parameters": [ + { + "name": "client_id", + "in": "path", + "required": true, + "description": "The client ID of the GitHub app.", + "schema": { + "type": "string" + }, + "examples": { + "default": { + "value": "Iv1.8a61f9b3a7aba766" + } + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "properties": { + "access_token": { + "description": "The access_token of the OAuth or GitHub application.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + }, + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Authorization", + "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "url": { + "type": "string", + "format": "uri" + }, + "scopes": { + "description": "A list of scopes that this authorization is in.", + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "type": [ + "string", + "null" + ] + }, + "hashed_token": { + "type": [ + "string", + "null" + ] + }, + "app": { + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "client_id", + "name", + "url" + ] + }, + "note": { + "type": [ + "string", + "null" + ] + }, + "note_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "fingerprint": { + "type": [ + "string", + "null" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "installation": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Scoped Installation", + "type": "object", + "properties": { + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "artifact_metadata": { + "type": "string", + "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", + "enum": [ + "read", + "write" + ] + }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "enum": [ "read", "write" ] }, - "merge_queues": { - "type": "string", - "description": "The level of permission to grant the access token to manage the merge queues for a repository.", - "enum": [ - "read", - "write" - ] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": [ - "read", - "write" - ] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": [ - "read", - "write" - ] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": [ - "read", - "write" - ] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": [ - "read", - "write" - ] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - "custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": [ - "write" - ] - }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -12658,6 +12706,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13389,6 +13445,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -120473,8 +120537,2461 @@ } } }, - "401": { - "description": "Requires authentication", + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-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", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-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": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "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", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "has_commit_comments": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "template_repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "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": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -120499,8 +123016,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120525,8 +123042,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -120552,26 +123069,98 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "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": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -120582,71 +123171,49 @@ "schema": { "type": "string" } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } } } }, - "500": { - "description": "Internal Error", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -120671,8 +123238,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -120697,8 +123264,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -120723,8 +123290,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -120748,16 +123315,13 @@ } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } } }, @@ -144771,6 +147335,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -145918,6 +148490,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -411295,6 +413875,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -685625,6 +688213,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -771962,6 +774558,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1000919,6 +1003523,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1004038,6 +1006650,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1007062,6 +1009682,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1010086,6 +1012714,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1013244,6 +1015880,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1016409,6 +1019053,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1021581,6 +1024233,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 2d4255145..295af1ebd 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -874,7 +874,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &308 type: string description: The type of credit the user is receiving. enum: @@ -1039,7 +1039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &624 + - &625 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1624,7 +1624,7 @@ paths: schema: type: integer default: 30 - - &198 + - &199 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1640,7 +1640,7 @@ paths: application/json: schema: type: array - items: &199 + items: &200 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1736,7 +1736,7 @@ paths: - installation_id - repository_id examples: - default: &200 + default: &201 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1871,7 +1871,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &202 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2006,7 +2006,7 @@ paths: - request - response examples: - default: &202 + default: &203 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2544,6 +2544,14 @@ paths: This property is in public preview and is subject to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access + token to view and manage Copilot coding agent settings + for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access @@ -9259,7 +9267,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &184 + - &185 name: state in: query description: |- @@ -9268,7 +9276,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &185 + - &186 name: severity in: query description: |- @@ -9277,7 +9285,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &186 + - &187 name: ecosystem in: query description: |- @@ -9286,14 +9294,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &187 + - &188 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &188 + - &189 name: epss_percentage in: query description: |- @@ -9305,7 +9313,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &464 + - &465 name: has in: query description: |- @@ -9319,7 +9327,7 @@ paths: type: string enum: - patch - - &189 + - &190 name: assignee in: query description: |- @@ -9328,7 +9336,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &190 + - &191 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9338,7 +9346,7 @@ paths: enum: - development - runtime - - &191 + - &192 name: sort in: query description: |- @@ -9364,7 +9372,7 @@ paths: application/json: schema: type: array - items: &192 + items: &193 type: object description: A Dependabot alert. properties: @@ -9434,7 +9442,7 @@ paths: - direct - transitive - - security_advisory: &465 + security_advisory: &466 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9679,7 +9687,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &466 + auto_dismissed_at: &467 type: - string - 'null' @@ -9687,7 +9695,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &467 + dismissal_request: &468 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9750,7 +9758,7 @@ paths: - repository additionalProperties: false examples: - default: &193 + default: &194 value: - number: 2 state: dismissed @@ -11611,7 +11619,7 @@ paths: milestone: anyOf: - type: 'null' - - &259 + - &260 title: Milestone description: A collection of related issues and pull requests. @@ -11788,7 +11796,7 @@ paths: timeline_url: type: string format: uri - type: &223 + type: &224 title: Issue Type description: The type of issue. type: @@ -11899,7 +11907,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &636 + sub_issues_summary: &637 title: Sub-issues Summary type: object properties: @@ -11983,7 +11991,7 @@ paths: pin: anyOf: - type: 'null' - - &537 + - &538 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -12010,7 +12018,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &637 + issue_dependencies_summary: &638 title: Issue Dependencies Summary type: object properties: @@ -12029,7 +12037,7 @@ paths: - total_blocking issue_field_values: type: array - items: &522 + items: &523 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12811,7 +12819,7 @@ paths: type: string release: allOf: - - &569 + - &570 title: Release description: A release. type: object @@ -12893,7 +12901,7 @@ paths: author: *4 assets: type: array - items: &570 + items: &571 title: Release Asset description: Data related to a release. type: object @@ -15157,7 +15165,7 @@ paths: - closed - all default: open - - &226 + - &227 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15208,7 +15216,7 @@ paths: type: array items: *75 examples: - default: &227 + default: &228 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16620,14 +16628,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &318 + - &319 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &320 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16689,7 +16697,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &323 description: Moved permanently content: application/json: @@ -16711,7 +16719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &545 + - &546 name: all description: If `true`, show notifications marked as read. in: query @@ -16719,7 +16727,7 @@ paths: schema: type: boolean default: false - - &546 + - &547 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16729,7 +16737,7 @@ paths: type: boolean default: false - *80 - - &547 + - &548 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: @@ -17111,7 +17119,7 @@ paths: type: boolean examples: - false - security_and_analysis: &274 + security_and_analysis: &275 type: - object - 'null' @@ -17315,7 +17323,7 @@ paths: - url - subscription_url examples: - default: &548 + default: &549 value: - id: '1' repository: @@ -20120,7 +20128,7 @@ paths: type: integer repository_cache_usages: type: array - items: &329 + items: &330 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21472,7 +21480,7 @@ paths: - all - local_only - selected - selected_actions_url: &335 + selected_actions_url: &336 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` @@ -21555,7 +21563,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &340 type: object properties: days: @@ -21597,7 +21605,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &341 type: object properties: days: @@ -21654,7 +21662,7 @@ paths: required: - approval_policy examples: - default: &341 + default: &342 value: approval_policy: first_time_contributors '404': *6 @@ -21713,7 +21721,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 type: object required: - run_workflows_from_fork_pull_requests @@ -21767,7 +21775,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &344 type: object required: - run_workflows_from_fork_pull_requests @@ -22402,7 +22410,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &345 type: object properties: default_workflow_permissions: &141 @@ -22453,7 +22461,7 @@ paths: required: false content: application/json: - schema: &345 + schema: &346 type: object properties: default_workflow_permissions: *141 @@ -22946,7 +22954,7 @@ paths: type: array items: *148 examples: - default: &645 + default: &184 value: total_count: 1 repositories: @@ -23593,7 +23601,7 @@ paths: application/json: schema: type: array - items: &346 + items: &347 title: Runner Application description: Runner Application type: object @@ -23618,7 +23626,7 @@ paths: - download_url - filename examples: - default: &347 + default: &348 value: - os: osx architecture: x64 @@ -23704,7 +23712,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &348 + '201': &349 description: Response content: application/json: @@ -23819,7 +23827,7 @@ paths: - token - expires_at examples: - default: &349 + default: &350 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23858,7 +23866,7 @@ paths: application/json: schema: *152 examples: - default: &350 + default: &351 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23892,7 +23900,7 @@ paths: application/json: schema: *150 examples: - default: &351 + default: &352 value: id: 23 name: MBP @@ -24118,7 +24126,7 @@ paths: - *67 - *149 responses: - '200': &352 + '200': &353 description: Response content: application/json: @@ -24175,7 +24183,7 @@ paths: parameters: - *67 - *149 - - &353 + - &354 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24307,7 +24315,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &366 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24342,7 +24350,7 @@ paths: - key_id - key examples: - default: &366 + default: &367 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24755,7 +24763,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *67 - - &334 + - &335 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)." @@ -26313,7 +26321,7 @@ paths: initiator: type: string examples: - default: &379 + default: &380 value: attestations: - bundle: @@ -26666,7 +26674,7 @@ paths: parent: anyOf: - type: 'null' - - &238 + - &239 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27269,7 +27277,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *67 - - &403 + - &404 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`, @@ -27279,7 +27287,7 @@ paths: schema: &173 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &405 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 @@ -27303,7 +27311,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &407 type: string description: State of a code scanning alert. enum: @@ -27326,7 +27334,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &408 type: string description: Severity of a code scanning alert. enum: @@ -27360,7 +27368,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: &408 + instances_url: &409 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27382,7 +27390,7 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: &409 + dismissed_reason: &410 type: - string - 'null' @@ -27393,14 +27401,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &410 + dismissed_comment: &411 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &411 + rule: &412 type: object properties: id: @@ -27461,7 +27469,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &413 type: object properties: name: *173 @@ -27472,26 +27480,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *174 - most_recent_instance: &413 + most_recent_instance: &414 type: object properties: - ref: &405 + ref: &406 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &424 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &424 + environment: &425 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &425 + category: &426 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27505,7 +27513,7 @@ paths: properties: text: type: string - location: &426 + location: &427 type: object description: Describe a region within a file for the alert. properties: @@ -27526,7 +27534,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &427 + items: &428 type: - string - 'null' @@ -28816,7 +28824,7 @@ paths: type: integer codespaces: type: array - items: &228 + items: &229 type: object title: Codespace description: A codespace. @@ -28851,7 +28859,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &440 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29138,7 +29146,7 @@ paths: - pulls_url - recent_folders examples: - default: &229 + default: &230 value: total_count: 3 codespaces: @@ -29803,7 +29811,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &441 value: total_count: 2 secrets: @@ -29841,7 +29849,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &442 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29876,7 +29884,7 @@ paths: - key_id - key examples: - default: &442 + default: &443 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29908,7 +29916,7 @@ paths: application/json: schema: *182 examples: - default: &444 + default: &445 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30375,7 +30383,7 @@ paths: currently being billed. seats: type: array - items: &231 + items: &232 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30850,6 +30858,301 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - *67 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': *107 + '401': *23 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - *67 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *148 + required: + - total_count + - repositories + examples: + default: *184 + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *137 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *137 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -31051,7 +31354,7 @@ paths: application/json: schema: type: array - items: &311 + items: &312 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31366,7 +31669,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &313 value: - date: '2024-06-24' total_active_users: 24 @@ -31468,7 +31771,7 @@ paths: '500': *107 '403': *27 '404': *6 - '422': &313 + '422': &314 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31496,11 +31799,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *67 - - *184 - *185 - *186 - *187 - *188 + - *189 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31530,7 +31833,7 @@ paths: enum: - patch - deployment - - *189 + - *190 - name: runtime_risk in: query description: |- @@ -31539,8 +31842,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *190 - *191 + - *192 - *53 - *45 - *46 @@ -31552,9 +31855,9 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: - default: *193 + default: *194 '304': *35 '400': *14 '403': *27 @@ -31598,7 +31901,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &195 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31677,7 +31980,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31696,7 +31999,7 @@ paths: - key_id - key examples: - default: &471 + default: &472 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31726,7 +32029,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *195 examples: default: value: @@ -32023,7 +32326,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Package description: A software package type: object @@ -32094,7 +32397,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &242 value: - id: 197 name: hello_docker @@ -32264,7 +32567,7 @@ paths: application/json: schema: type: array - items: &217 + items: &218 title: Organization Invitation description: Organization Invitation type: object @@ -32318,7 +32621,7 @@ paths: - invitation_teams_url - node_id examples: - default: &218 + default: &219 value: - id: 1 login: monalisa @@ -32385,7 +32688,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Org Hook description: Org Hook type: object @@ -32570,9 +32873,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &196 + default: &197 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32620,7 +32923,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *67 - - &197 + - &198 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -32633,9 +32936,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -32663,7 +32966,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *67 - - *197 + - *198 requestBody: required: false content: @@ -32709,7 +33012,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -32751,7 +33054,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *67 - - *197 + - *198 responses: '204': description: Response @@ -32779,7 +33082,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *67 - - *197 + - *198 responses: '200': description: Response @@ -32810,7 +33113,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *67 - - *197 + - *198 requestBody: required: false content: @@ -32861,9 +33164,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *67 - - *197 - - *17 - *198 + - *17 + - *199 responses: '200': description: Response @@ -32871,9 +33174,9 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: - default: *200 + default: *201 '400': *14 '422': *15 x-github: @@ -32899,16 +33202,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *67 - - *197 + - *198 - *16 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 '400': *14 '422': *15 x-github: @@ -32934,7 +33237,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *67 - - *197 + - *198 - *16 responses: '202': *37 @@ -32964,7 +33267,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *67 - - *197 + - *198 responses: '204': description: Response @@ -32987,7 +33290,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *67 - - &207 + - &208 name: actor_type in: path description: The type of the actor @@ -33000,14 +33303,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &208 + - &209 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &203 + - &204 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -33015,7 +33318,7 @@ paths: required: true schema: type: string - - &204 + - &205 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33110,12 +33413,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *67 - - *203 - *204 + - *205 - *19 - *17 - *53 - - &213 + - &214 name: sort description: The property to sort the results by. in: query @@ -33194,14 +33497,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *67 - - *203 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: &205 + schema: &206 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33217,7 +33520,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &207 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33238,23 +33541,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *67 - - &209 + - &210 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *203 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *206 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -33273,18 +33576,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *67 - - *203 - *204 - - *207 + - *205 - *208 + - *209 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *206 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -33302,9 +33605,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *67 - - *203 - *204 - - &210 + - *205 + - &211 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33317,7 +33620,7 @@ paths: description: Response content: application/json: - schema: &211 + schema: &212 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33333,7 +33636,7 @@ paths: type: integer format: int64 examples: - default: &212 + default: &213 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33370,18 +33673,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *67 - - *209 - - *203 - - *204 - *210 + - *204 + - *205 + - *211 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 x-github: enabledForGitHubApps: true category: orgs @@ -33399,19 +33702,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *67 - - *207 - *208 - - *203 + - *209 - *204 - - *210 + - *205 + - *211 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 x-github: enabledForGitHubApps: true category: orgs @@ -33429,13 +33732,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *67 - - *209 - - *203 + - *210 - *204 + - *205 - *19 - *17 - *53 - - *213 + - *214 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33519,7 +33822,7 @@ paths: application/json: schema: *20 examples: - default: &509 + default: &510 value: id: 1 account: @@ -33685,12 +33988,12 @@ paths: application/json: schema: anyOf: - - &215 + - &216 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &214 + limit: &215 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33718,7 +34021,7 @@ paths: properties: {} additionalProperties: false examples: - default: &216 + default: &217 value: limit: collaborators_only origin: organization @@ -33747,13 +34050,13 @@ paths: required: true content: application/json: - schema: &510 + schema: &511 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *214 + limit: *215 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33778,9 +34081,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *216 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -33856,9 +34159,9 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 '404': *6 @@ -33935,7 +34238,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -33990,7 +34293,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *67 - - &219 + - &220 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34021,7 +34324,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *67 - - *219 + - *220 - *17 - *19 responses: @@ -34033,7 +34336,7 @@ paths: type: array items: *183 examples: - default: &239 + default: &240 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34076,7 +34379,7 @@ paths: application/json: schema: type: array - items: &220 + items: &221 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34319,9 +34622,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: &221 + default: &222 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34377,7 +34680,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *67 - - &222 + - &223 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34478,9 +34781,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *221 + default: *222 '404': *6 '422': *7 x-github: @@ -34505,7 +34808,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *67 - - *222 + - *223 responses: '204': *179 '404': *6 @@ -34535,7 +34838,7 @@ paths: application/json: schema: type: array - items: *223 + items: *224 examples: default: value: @@ -34623,9 +34926,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: &224 + default: &225 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34658,7 +34961,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *67 - - &225 + - &226 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34714,9 +35017,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '404': *6 '422': *7 x-github: @@ -34741,7 +35044,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *67 - - *225 + - *226 responses: '204': description: Response @@ -34804,7 +35107,7 @@ paths: - closed - all default: open - - *226 + - *227 - name: type description: Can be the name of an issue type. in: query @@ -34835,7 +35138,7 @@ paths: type: array items: *75 examples: - default: *227 + default: *228 headers: Link: *59 '404': *6 @@ -34995,9 +35298,9 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 '304': *35 '500': *107 '401': *23 @@ -35024,7 +35327,7 @@ paths: parameters: - *67 - *63 - - &230 + - &231 name: codespace_name in: path required: true @@ -35059,15 +35362,15 @@ paths: parameters: - *67 - *63 - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &438 + default: &439 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35247,7 +35550,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *231 + schema: *232 examples: default: value: @@ -35323,7 +35626,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &233 title: Org Membership description: Org Membership type: object @@ -35392,7 +35695,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &233 + response-if-user-has-an-active-admin-membership-with-organization: &234 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35493,9 +35796,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - response-if-user-already-had-membership-with-organization: *233 + response-if-user-already-had-membership-with-organization: *234 '422': *15 '403': *27 '451': *15 @@ -35568,7 +35871,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Migration description: A migration. type: object @@ -35906,7 +36209,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -36085,7 +36388,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *67 - - &235 + - &236 name: migration_id description: The unique identifier of the migration. in: path @@ -36113,7 +36416,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -36283,7 +36586,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *67 - - *235 + - *236 responses: '302': description: Response @@ -36305,7 +36608,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *67 - - *235 + - *236 responses: '204': description: Response @@ -36329,7 +36632,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *67 - - *235 + - *236 - &657 name: repo_name description: repo_name parameter @@ -36358,7 +36661,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *67 - - *235 + - *236 - *17 - *19 responses: @@ -36412,7 +36715,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &237 + items: &238 title: Organization Role description: Organization roles type: object @@ -36589,7 +36892,7 @@ paths: parameters: - *67 - *69 - - &236 + - &237 name: role_id description: The unique identifier of the role. in: path @@ -36626,7 +36929,7 @@ paths: parameters: - *67 - *69 - - *236 + - *237 responses: '204': description: Response @@ -36679,7 +36982,7 @@ paths: parameters: - *67 - *63 - - *236 + - *237 responses: '204': description: Response @@ -36711,7 +37014,7 @@ paths: parameters: - *67 - *63 - - *236 + - *237 responses: '204': description: Response @@ -36740,13 +37043,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *67 - - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -36797,7 +37100,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *67 - - *236 + - *237 - *17 - *19 responses: @@ -36876,7 +37179,7 @@ paths: parent: anyOf: - type: 'null' - - *238 + - *239 type: description: The ownership type of the team type: string @@ -36909,7 +37212,7 @@ paths: - type - parent examples: - default: *239 + default: *240 headers: Link: *59 '404': @@ -36939,7 +37242,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *67 - - *236 + - *237 - *17 - *19 responses: @@ -36968,7 +37271,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *238 + items: *239 name: type: - string @@ -37314,9 +37617,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '403': *27 '401': *23 '400': &660 @@ -37341,7 +37644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &242 + - &243 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -37359,7 +37662,7 @@ paths: - docker - nuget - container - - &243 + - &244 name: package_name description: The name of the package. in: path @@ -37372,7 +37675,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: value: @@ -37424,8 +37727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *242 - *243 + - *244 - *67 responses: '204': @@ -37458,8 +37761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - name: token description: package token @@ -37492,8 +37795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *242 - *243 + - *244 - *67 - *19 - *17 @@ -37514,7 +37817,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Package Version description: A version of a software package type: object @@ -37649,10 +37952,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - &245 + - &246 name: package_version_id description: Unique identifier of the package version. in: path @@ -37664,7 +37967,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -37700,10 +38003,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - *245 + - *246 responses: '204': description: Response @@ -37735,10 +38038,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - *245 + - *246 responses: '204': description: Response @@ -37768,7 +38071,7 @@ paths: - *67 - *17 - *19 - - &246 + - &247 name: sort description: The property by which to sort the results. in: query @@ -37779,7 +38082,7 @@ paths: - created_at default: created_at - *53 - - &247 + - &248 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37791,7 +38094,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &248 + - &249 name: repository description: The name of the repository to use to filter the results. in: query @@ -37800,7 +38103,7 @@ paths: type: string examples: - Hello-World - - &249 + - &250 name: permission description: The permission to use to filter the results. in: query @@ -37809,7 +38112,7 @@ paths: type: string examples: - issues_read - - &250 + - &251 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -37819,7 +38122,7 @@ paths: schema: type: string format: date-time - - &251 + - &252 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -37829,7 +38132,7 @@ paths: schema: type: string format: date-time - - &252 + - &253 name: token_id description: The ID of the token in: query @@ -38148,7 +38451,7 @@ paths: type: array items: *148 examples: - default: &253 + default: &254 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38285,14 +38588,14 @@ paths: - *67 - *17 - *19 - - *246 - - *53 - *247 + - *53 - *248 - *249 - *250 - *251 - *252 + - *253 responses: '500': *107 '422': *15 @@ -38576,7 +38879,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 x-github: @@ -38618,7 +38921,7 @@ paths: type: integer configurations: type: array - items: &254 + items: &255 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38914,7 +39217,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &255 + org-private-registry-with-selected-visibility: &256 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39012,9 +39315,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 '404': *6 x-github: githubCloudOnly: false @@ -39182,7 +39485,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Projects v2 Project description: A projects v2 project type: object @@ -39341,7 +39644,7 @@ paths: - deleted_at - deleted_by examples: - default: &257 + default: &258 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39444,7 +39747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &258 + - &259 name: project_number description: The project's number. in: path @@ -39457,9 +39760,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -39482,7 +39785,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true description: Details of the draft item to create in the project. @@ -39516,7 +39819,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &264 title: Projects v2 Item description: An item belonging to a project type: object @@ -39530,7 +39833,7 @@ paths: content: oneOf: - *75 - - &453 + - &454 title: Pull Request Simple description: Pull Request Simple type: object @@ -39650,7 +39953,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 active_lock_reason: type: - string @@ -39733,7 +40036,7 @@ paths: _links: type: object properties: - comments: &260 + comments: &261 title: Link description: Hypermedia Link type: object @@ -39742,13 +40045,13 @@ paths: type: string required: - href - commits: *260 - statuses: *260 - html: *260 - issue: *260 - review_comments: *260 - review_comment: *260 - self: *260 + commits: *261 + statuses: *261 + html: *261 + issue: *261 + review_comments: *261 + review_comment: *261 + self: *261 required: - comments - commits @@ -39759,7 +40062,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &555 + auto_merge: &556 title: Auto merge description: The status of auto merging a pull request. type: @@ -39859,7 +40162,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &262 + content_type: &263 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39903,7 +40206,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &264 + draft_issue: &265 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39977,7 +40280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *258 + - *259 - *67 - *17 - *45 @@ -39989,7 +40292,7 @@ paths: application/json: schema: type: array - items: &261 + items: &262 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -40272,7 +40575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *258 + - *259 - *67 requestBody: required: true @@ -40457,7 +40760,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *261 + schema: *262 examples: text_field: &685 value: @@ -40565,7 +40868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *258 + - *259 - &690 name: field_id description: The unique identifier of the field. @@ -40579,7 +40882,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: &691 value: @@ -40637,7 +40940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *258 + - *259 - *67 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -40670,7 +40973,7 @@ paths: application/json: schema: type: array - items: &265 + items: &266 title: Projects v2 Item description: An item belonging to a project type: object @@ -40687,7 +40990,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *262 + content_type: *263 content: type: - object @@ -40737,7 +41040,7 @@ paths: - updated_at - archived_at examples: - default: &266 + default: &267 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41435,7 +41738,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -41505,22 +41808,22 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *264 + value: *265 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *264 + value: *265 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *264 + value: *265 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *264 + value: *265 '304': *35 '403': *27 '401': *23 @@ -41540,9 +41843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *258 + - *259 - *67 - - &267 + - &268 name: item_id description: The unique identifier of the project item. in: path @@ -41568,9 +41871,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -41591,9 +41894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *258 + - *259 - *67 - - *267 + - *268 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41666,13 +41969,13 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - text_field: *266 - number_field: *266 - date_field: *266 - single_select_field: *266 - iteration_field: *266 + text_field: *267 + number_field: *267 + date_field: *267 + single_select_field: *267 + iteration_field: *267 '401': *23 '403': *27 '404': *6 @@ -41692,9 +41995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *258 + - *259 - *67 - - *267 + - *268 responses: '204': description: Response @@ -41718,7 +42021,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true content: @@ -41896,7 +42199,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &268 + value: &269 value: id: 1 number: 1 @@ -41942,10 +42245,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *268 + value: *269 roadmap_view: summary: Response for creating a roadmap view - value: *268 + value: *269 '304': *35 '403': *27 '401': *23 @@ -41973,7 +42276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *258 + - *259 - *67 - &692 name: view_number @@ -42007,9 +42310,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -42042,7 +42345,7 @@ paths: application/json: schema: type: array - items: &269 + items: &270 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -42120,7 +42423,7 @@ paths: - property_name - value_type examples: - default: &270 + default: &271 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42180,7 +42483,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *269 + items: *270 minItems: 1 maxItems: 100 required: @@ -42210,9 +42513,9 @@ paths: application/json: schema: type: array - items: *269 + items: *270 examples: - default: *270 + default: *271 '403': *27 '404': *6 x-github: @@ -42234,7 +42537,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *67 - - &271 + - &272 name: custom_property_name description: The custom property name in: path @@ -42246,9 +42549,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: &272 + default: &273 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42283,7 +42586,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *67 - - *271 + - *272 requestBody: required: true content: @@ -42363,9 +42666,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *272 + default: *273 '403': *27 '404': *6 x-github: @@ -42389,7 +42692,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *67 - - *271 + - *272 responses: '204': *179 '403': *27 @@ -42453,7 +42756,7 @@ paths: - octocat/Hello-World properties: type: array - items: &273 + items: &274 title: Custom Property Value description: Custom property name and associated value type: object @@ -42543,7 +42846,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *273 + items: *274 required: - repository_names - properties @@ -42735,7 +43038,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 x-github: @@ -42938,7 +43241,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Repository description: Full Repository type: object @@ -43412,7 +43715,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &458 + code_of_conduct: &459 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -43442,7 +43745,7 @@ paths: - key - name - html_url - security_and_analysis: *274 + security_and_analysis: *275 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43526,7 +43829,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &324 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44048,7 +44351,7 @@ paths: - *67 - *17 - *19 - - &577 + - &578 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44067,7 +44370,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -44102,7 +44405,7 @@ paths: source: type: string description: The name of the source - enforcement: &277 + enforcement: &278 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -44115,7 +44418,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &278 + items: &279 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -44186,7 +44489,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &275 + - &276 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -44210,7 +44513,7 @@ paths: match. items: type: string - - &279 + - &280 title: Organization ruleset conditions type: object description: |- @@ -44224,7 +44527,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -44258,7 +44561,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -44280,7 +44583,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -44293,7 +44596,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &276 + items: &277 title: Repository ruleset property targeting definition type: object @@ -44326,7 +44629,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *276 + items: *277 required: - repository_property type: @@ -44334,12 +44637,12 @@ paths: - object rules: type: array - items: &578 + items: &579 title: Repository Rule type: object description: A repository rule. oneOf: - - &280 + - &281 title: creation description: Only allow users with bypass permission to create matching refs. @@ -44351,7 +44654,7 @@ paths: type: string enum: - creation - - &281 + - &282 title: update description: Only allow users with bypass permission to update matching refs. @@ -44372,7 +44675,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &282 + - &283 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -44384,7 +44687,7 @@ paths: type: string enum: - deletion - - &283 + - &284 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44396,7 +44699,7 @@ paths: type: string enum: - required_linear_history - - &576 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -44474,7 +44777,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &284 + - &285 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -44498,7 +44801,7 @@ paths: type: string required: - required_deployment_environments - - &285 + - &286 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -44510,7 +44813,7 @@ paths: type: string enum: - required_signatures - - &286 + - &287 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44616,7 +44919,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &287 + - &288 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44664,7 +44967,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &288 + - &289 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44676,7 +44979,7 @@ paths: type: string enum: - non_fast_forward - - &289 + - &290 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44713,7 +45016,7 @@ paths: required: - operator - pattern - - &290 + - &291 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44750,7 +45053,7 @@ paths: required: - operator - pattern - - &291 + - &292 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44787,7 +45090,7 @@ paths: required: - operator - pattern - - &292 + - &293 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44824,7 +45127,7 @@ paths: required: - operator - pattern - - &293 + - &294 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44861,7 +45164,7 @@ paths: required: - operator - pattern - - &294 + - &295 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44886,7 +45189,7 @@ paths: type: string required: - restricted_file_paths - - &295 + - &296 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44910,7 +45213,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &296 + - &297 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44933,7 +45236,7 @@ paths: type: string required: - restricted_file_extensions - - &297 + - &298 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44958,7 +45261,7 @@ paths: maximum: 100 required: - max_file_size - - &298 + - &299 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -45008,7 +45311,7 @@ paths: - repository_id required: - workflows - - &299 + - &300 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -45069,7 +45372,7 @@ paths: - tool required: - code_scanning_tools - - &300 + - &301 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -45168,21 +45471,20 @@ paths: - push - repository default: branch - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *279 + items: *279 + conditions: *280 rules: type: array description: An array of rules within the ruleset. - items: &303 + items: &304 title: Repository Rule type: object description: A repository rule. oneOf: - - *280 - *281 - *282 - *283 @@ -45203,6 +45505,7 @@ paths: - *298 - *299 - *300 + - *301 required: - name - enforcement @@ -45240,9 +45543,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 21 name: super cool ruleset @@ -45298,7 +45601,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *67 - - &579 + - &580 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 @@ -45313,7 +45616,7 @@ paths: in: query schema: type: string - - &580 + - &581 name: time_period description: |- The time period to filter by. @@ -45329,14 +45632,14 @@ paths: - week - month default: day - - &581 + - &582 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 - - &582 + - &583 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45356,7 +45659,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &584 title: Rule Suites description: Response type: array @@ -45412,7 +45715,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &584 + default: &585 value: - id: 21 actor_id: 12 @@ -45456,7 +45759,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *67 - - &585 + - &586 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45472,7 +45775,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &587 title: Rule Suite description: Response type: object @@ -45579,7 +45882,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &587 + default: &588 value: id: 21 actor_id: 12 @@ -45652,9 +45955,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '404': *6 '500': *107 put: @@ -45698,16 +46001,16 @@ paths: - tag - push - repository - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *279 + items: *279 + conditions: *280 rules: description: An array of rules within the ruleset. type: array - items: *303 + items: *304 examples: default: value: @@ -45742,9 +46045,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '404': *6 '422': *15 '500': *107 @@ -45802,7 +46105,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Ruleset version type: object description: The historical version of a ruleset @@ -45826,7 +46129,7 @@ paths: type: string format: date-time examples: - default: &589 + default: &590 value: - version_id: 3 actor: @@ -45879,9 +46182,9 @@ paths: description: Response content: application/json: - schema: &590 + schema: &591 allOf: - - *304 + - *305 - type: object required: - state @@ -45951,7 +46254,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *67 - - &591 + - &592 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45962,7 +46265,7 @@ paths: enum: - open - resolved - - &592 + - &593 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45972,7 +46275,7 @@ paths: required: false schema: type: string - - &593 + - &594 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45981,7 +46284,7 @@ paths: required: false schema: type: string - - &594 + - &595 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -46000,7 +46303,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &595 + - &596 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. @@ -46015,7 +46318,7 @@ paths: - *53 - *19 - *17 - - &596 + - &597 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 @@ -46025,7 +46328,7 @@ paths: required: false schema: type: string - - &597 + - &598 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 @@ -46035,7 +46338,7 @@ paths: required: false schema: type: string - - &598 + - &599 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -46044,7 +46347,7 @@ paths: required: false schema: type: string - - &599 + - &600 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -46053,7 +46356,7 @@ paths: schema: type: boolean default: false - - &600 + - &601 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -46062,7 +46365,7 @@ paths: schema: type: boolean default: false - - &601 + - &602 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -46094,14 +46397,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &602 + state: &603 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: &603 + resolution: &604 type: - string - 'null' @@ -46208,14 +46511,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &604 + - &605 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &606 + - &607 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -46272,7 +46575,7 @@ paths: - blob_url - commit_sha - commit_url - - &607 + - &608 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -46333,7 +46636,7 @@ paths: - page_url - commit_sha - commit_url - - &608 + - &609 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -46348,7 +46651,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &609 + - &610 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -46363,7 +46666,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &610 + - &611 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -46378,7 +46681,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &611 + - &612 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -46393,7 +46696,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &612 + - &613 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -46408,7 +46711,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &613 + - &614 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -46423,7 +46726,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &614 + - &615 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -46438,7 +46741,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &615 + - &616 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -46453,7 +46756,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &616 + - &617 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -46468,7 +46771,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &617 + - &618 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -46483,7 +46786,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &618 + - &619 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -46723,7 +47026,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &307 type: - string - 'null' @@ -46733,7 +47036,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &306 type: object properties: token_type: @@ -46802,7 +47105,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *306 examples: default: value: @@ -46859,7 +47162,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *307 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46885,7 +47188,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *307 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46983,7 +47286,7 @@ paths: application/json: schema: type: array - items: &622 + items: &623 description: A repository security advisory. type: object properties: @@ -47206,7 +47509,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 credits_detailed: type: - array @@ -47217,7 +47520,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *308 state: type: string description: The state of the user's acceptance of the @@ -47280,7 +47583,7 @@ paths: - private_fork additionalProperties: false examples: - default: &623 + default: &624 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47667,7 +47970,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: value: @@ -48022,7 +48325,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &309 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -48162,9 +48465,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: &309 + default: &310 value: id: 123456789ABCDEF name: My network configuration @@ -48193,7 +48496,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - &310 + - &311 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -48205,9 +48508,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 headers: Link: *59 x-github: @@ -48229,7 +48532,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - *310 + - *311 requestBody: required: true content: @@ -48269,9 +48572,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48291,7 +48594,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *67 - - *310 + - *311 responses: '204': description: Response @@ -48436,13 +48739,13 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: - default: *312 + default: *313 '500': *107 '403': *27 '404': *6 - '422': *313 + '422': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48484,7 +48787,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 headers: Link: *59 '403': *27 @@ -48570,7 +48873,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48644,7 +48947,7 @@ paths: parent: anyOf: - type: 'null' - - *238 + - *239 members_count: type: integer examples: @@ -48969,7 +49272,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &316 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49046,9 +49349,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -49133,16 +49436,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '201': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': *15 '403': *27 @@ -49172,7 +49475,7 @@ paths: responses: '204': description: Response - '422': &316 + '422': &317 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -49206,12 +49509,12 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 - '422': *316 + '422': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49293,7 +49596,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: Team Membership description: Team Membership type: object @@ -49321,7 +49624,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &639 + response-if-user-is-a-team-maintainer: &640 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49384,9 +49687,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-users-membership-with-team-is-now-pending: &640 + response-if-users-membership-with-team-is-now-pending: &641 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49462,7 +49765,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 x-github: @@ -49493,14 +49796,14 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &641 + schema: &642 title: Team Repository description: A team's access to a repository. type: object @@ -50136,8 +50439,8 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 requestBody: required: false content: @@ -50184,8 +50487,8 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 responses: '204': description: Response @@ -50222,7 +50525,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: &642 + response-if-child-teams-exist: &643 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50376,7 +50679,7 @@ paths: resources: type: object properties: - core: &320 + core: &321 title: Rate Limit type: object properties: @@ -50393,17 +50696,17 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *321 + search: *321 + code_search: *321 + source_import: *321 + integration_manifest: *321 + code_scanning_upload: *321 + actions_runner_registration: *321 + scim: *321 + dependency_snapshots: *321 + dependency_sbom: *321 + code_scanning_autofix: *321 required: - core - search @@ -50510,14 +50813,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default-response: summary: Default response @@ -51022,7 +51325,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51040,8 +51343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -51333,10 +51636,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 - '307': &324 + default: *324 + '307': &325 description: Temporary Redirect content: application/json: @@ -51365,8 +51668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -51388,7 +51691,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *325 '404': *6 '409': *52 x-github: @@ -51412,11 +51715,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 - - &357 + - &358 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51439,7 +51742,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &326 title: Artifact description: An artifact type: object @@ -51534,7 +51837,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 artifacts: @@ -51595,9 +51898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *318 - *319 - - &326 + - *320 + - &327 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51609,7 +51912,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -51647,9 +51950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *318 - *319 - - *326 + - *320 + - *327 responses: '204': description: Response @@ -51673,9 +51976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *318 - *319 - - *326 + - *320 + - *327 - name: archive_format in: path required: true @@ -51689,7 +51992,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': &513 + '410': &514 description: Gone content: application/json: @@ -51714,14 +52017,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &327 + schema: &328 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51755,13 +52058,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *327 + schema: *328 examples: selected_actions: *40 responses: @@ -51790,14 +52093,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &328 + schema: &329 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51831,13 +52134,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *328 + schema: *329 examples: selected_actions: *42 responses: @@ -51868,14 +52171,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -51901,11 +52204,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 - - &330 + - &331 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 @@ -51939,7 +52242,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Repository actions caches description: Repository actions caches type: object @@ -51989,7 +52292,7 @@ paths: - total_count - actions_caches examples: - default: &332 + default: &333 value: total_count: 1 actions_caches: @@ -52021,23 +52324,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: - - *318 - *319 + - *320 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52057,8 +52360,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: - - *318 - *319 + - *320 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52089,9 +52392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *318 - *319 - - &333 + - *320 + - &334 name: job_id description: The unique identifier of the job. in: path @@ -52103,7 +52406,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 title: Job description: Information of a job execution in a workflow run type: object @@ -52450,9 +52753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *318 - *319 - - *333 + - *320 + - *334 responses: '302': description: Response @@ -52480,9 +52783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *318 - *319 - - *333 + - *320 + - *334 requestBody: required: false content: @@ -52528,8 +52831,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: - - *318 - *319 + - *320 responses: '200': description: Status response @@ -52579,8 +52882,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -52643,8 +52946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -52662,7 +52965,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &364 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52683,7 +52986,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 secrets: @@ -52716,9 +53019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *318 - *319 - - *334 + - *320 + - *335 - *19 responses: '200': @@ -52735,7 +53038,7 @@ paths: type: integer variables: type: array - items: &367 + items: &368 title: Actions Variable type: object properties: @@ -52769,7 +53072,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &369 value: total_count: 2 variables: @@ -52802,8 +53105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -52812,11 +53115,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &337 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *133 - selected_actions_url: *335 + selected_actions_url: *336 sha_pinning_required: *134 required: - enabled @@ -52845,8 +53148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -52857,7 +53160,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *337 allowed_actions: *133 sha_pinning_required: *134 required: @@ -52889,14 +53192,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: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: access_level: @@ -52913,7 +53216,7 @@ paths: required: - access_level examples: - default: &338 + default: &339 value: access_level: organization x-github: @@ -52937,15 +53240,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: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 responses: '204': description: Response @@ -52969,14 +53272,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *339 + schema: *340 examples: default: value: @@ -53000,8 +53303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Empty response for successful settings update @@ -53011,7 +53314,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *341 examples: default: summary: Set retention days @@ -53035,8 +53338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53044,7 +53347,7 @@ paths: application/json: schema: *135 examples: - default: *341 + default: *342 '404': *6 x-github: enabledForGitHubApps: true @@ -53063,8 +53366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -53098,14 +53401,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default: *136 '403': *27 @@ -53127,13 +53430,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: default: *136 responses: @@ -53159,8 +53462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53187,8 +53490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -53220,14 +53523,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *344 + schema: *345 examples: default: *143 x-github: @@ -53250,8 +53553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Success response @@ -53262,7 +53565,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *346 examples: default: *143 x-github: @@ -53291,8 +53594,8 @@ paths: in: query schema: type: string - - *318 - *319 + - *320 - *17 - *19 responses: @@ -53336,8 +53639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53345,9 +53648,9 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: - default: *347 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53369,8 +53672,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -53413,7 +53716,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *348 + '201': *349 '404': *6 '422': *7 '409': *52 @@ -53444,8 +53747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -53453,7 +53756,7 @@ paths: application/json: schema: *152 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53481,8 +53784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -53490,7 +53793,7 @@ paths: application/json: schema: *152 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53512,8 +53815,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: - - *318 - *319 + - *320 - *149 responses: '200': @@ -53522,7 +53825,7 @@ paths: application/json: schema: *150 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53543,8 +53846,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: - - *318 - *319 + - *320 - *149 responses: '204': @@ -53571,8 +53874,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: - - *318 - *319 + - *320 - *149 responses: '200': *154 @@ -53597,8 +53900,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: - - *318 - *319 + - *320 - *149 requestBody: required: true @@ -53647,8 +53950,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: - - *318 - *319 + - *320 - *149 requestBody: required: true @@ -53698,11 +54001,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: - - *318 - *319 + - *320 - *149 responses: - '200': *352 + '200': *353 '404': *6 x-github: githubCloudOnly: false @@ -53729,10 +54032,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: - - *318 - *319 + - *320 - *149 - - *353 + - *354 responses: '200': *154 '404': *6 @@ -53760,9 +54063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *318 - *319 - - &371 + - *320 + - &372 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. @@ -53770,7 +54073,7 @@ paths: required: false schema: type: string - - &372 + - &373 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53778,7 +54081,7 @@ paths: required: false schema: type: string - - &373 + - &374 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53787,7 +54090,7 @@ paths: required: false schema: type: string - - &374 + - &375 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 @@ -53814,7 +54117,7 @@ paths: - pending - *17 - *19 - - &375 + - &376 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)." @@ -53823,7 +54126,7 @@ paths: schema: type: string format: date-time - - &354 + - &355 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53832,13 +54135,13 @@ paths: schema: type: boolean default: false - - &376 + - &377 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &378 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53861,7 +54164,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &356 title: Workflow Run description: An invocation of a workflow type: object @@ -54039,7 +54342,7 @@ paths: head_commit: anyOf: - type: 'null' - - &399 + - &400 title: Simple Commit description: A commit. type: object @@ -54154,7 +54457,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &379 value: total_count: 1 workflow_runs: @@ -54390,24 +54693,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - *319 - - &356 + - *320 + - &357 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &359 + default: &360 value: id: 30433642 name: Build @@ -54648,9 +54951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '204': description: Response @@ -54673,9 +54976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -54803,9 +55106,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: - - *318 - *319 - - *356 + - *320 + - *357 responses: '201': description: Response @@ -54838,12 +55141,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - *319 - - *356 + - *320 + - *357 - *17 - *19 - - *357 + - *358 - *53 responses: '200': @@ -54860,9 +55163,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *326 examples: - default: *358 + default: *359 headers: Link: *59 x-github: @@ -54886,25 +55189,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - *319 - - *356 - - &360 + - *320 + - *357 + - &361 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54927,10 +55230,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *318 - *319 - - *356 - - *360 + - *320 + - *357 + - *361 - *17 - *19 responses: @@ -54948,9 +55251,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *362 examples: - default: &362 + default: &363 value: total_count: 1 jobs: @@ -55063,10 +55366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - *319 - - *356 - - *360 + - *320 + - *357 + - *361 responses: '302': description: Response @@ -55094,9 +55397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '202': description: Response @@ -55129,9 +55432,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: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: true content: @@ -55198,9 +55501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '202': description: Response @@ -55233,9 +55536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 - 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 @@ -55265,9 +55568,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *59 x-github: @@ -55292,9 +55595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '302': description: Response @@ -55321,9 +55624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '204': description: Response @@ -55350,9 +55653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -55421,7 +55724,7 @@ paths: items: type: object properties: - type: &479 + type: &480 type: string description: The type of reviewer. enum: @@ -55507,9 +55810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: true content: @@ -55559,7 +55862,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55671,7 +55974,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55727,9 +56030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: false content: @@ -55774,9 +56077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: false content: @@ -55830,9 +56133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -55969,8 +56272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -55988,9 +56291,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -56015,16 +56318,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56046,17 +56349,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: &492 + default: &493 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56082,8 +56385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -56141,8 +56444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -56168,9 +56471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *318 - *319 - - *334 + - *320 + - *335 - *19 responses: '200': @@ -56187,9 +56490,9 @@ paths: type: integer variables: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -56212,8 +56515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -56265,17 +56568,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &493 + default: &494 value: name: USERNAME value: octocat @@ -56301,8 +56604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 requestBody: required: true @@ -56345,8 +56648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 responses: '204': @@ -56372,8 +56675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -56391,7 +56694,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &370 title: Workflow description: A GitHub Actions workflow type: object @@ -56509,9 +56812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *318 - *319 - - &370 + - *320 + - &371 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56526,7 +56829,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -56559,9 +56862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Response @@ -56586,9 +56889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -56669,9 +56972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Response @@ -56698,19 +57001,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *318 - *319 - - *370 + - *320 - *371 - *372 - *373 - *374 + - *375 - *17 - *19 - - *375 - - *354 - *376 + - *355 - *377 + - *378 responses: '200': description: Response @@ -56726,9 +57029,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *356 examples: - default: *378 + default: *379 headers: Link: *59 x-github: @@ -56760,9 +57063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '200': description: Response @@ -56823,8 +57126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *318 - *319 + - *320 - *53 - *17 - *45 @@ -56992,8 +57295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -57030,8 +57333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *318 - *319 + - *320 - name: assignee in: path required: true @@ -57067,8 +57370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -57180,8 +57483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *318 - *319 + - *320 - *17 - *45 - *46 @@ -57222,7 +57525,7 @@ paths: initiator: type: string examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57242,8 +57545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -57251,7 +57554,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Autolink reference description: An autolink reference. type: object @@ -57310,8 +57613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -57350,9 +57653,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *381 examples: - default: &381 + default: &382 value: id: 1 key_prefix: TICKET- @@ -57383,9 +57686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *318 - *319 - - &382 + - *320 + - &383 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57397,9 +57700,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '404': *6 x-github: githubCloudOnly: false @@ -57419,9 +57722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *318 - *319 - - *382 + - *320 + - *383 responses: '204': description: Response @@ -57445,8 +57748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response if Dependabot is enabled @@ -57496,8 +57799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -57518,8 +57821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -57539,8 +57842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *318 - *319 + - *320 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57578,7 +57881,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &385 title: Branch Protection description: Branch Protection type: object @@ -57621,7 +57924,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &388 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57638,7 +57941,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &390 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57722,7 +58025,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &387 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58015,9 +58318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *318 - *319 - - &385 + - *320 + - &386 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). @@ -58031,14 +58334,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &449 + commit: &450 title: Commit description: Commit type: object @@ -58077,7 +58380,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &384 title: Git User description: Metaproperties for Git author/committer information. @@ -58099,7 +58402,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 message: type: string examples: @@ -58123,7 +58426,7 @@ paths: required: - sha - url - verification: &499 + verification: &500 title: Verification type: object properties: @@ -58203,7 +58506,7 @@ paths: type: integer files: type: array - items: &460 + items: &461 title: Diff Entry description: Diff Entry type: object @@ -58299,7 +58602,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *385 protection_url: type: string format: uri @@ -58408,7 +58711,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *323 '404': *6 x-github: githubCloudOnly: false @@ -58430,15 +58733,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -58632,9 +58935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -58894,7 +59197,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &393 title: Status Check Policy description: Status Check Policy type: object @@ -59053,7 +59356,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *387 required_conversation_resolution: type: object properties: @@ -59165,9 +59468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59192,17 +59495,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59224,17 +59527,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59253,9 +59556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59280,17 +59583,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &390 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59386,9 +59689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -59486,9 +59789,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *390 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -59509,9 +59812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59538,17 +59841,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59571,17 +59874,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -59601,9 +59904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59628,17 +59931,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &393 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59664,9 +59967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -59718,9 +60021,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 '404': *6 '422': *15 x-github: @@ -59742,9 +60045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -59768,9 +60071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -59804,9 +60107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -59873,9 +60176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -59939,9 +60242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: content: application/json: @@ -60007,15 +60310,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -60106,9 +60409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60131,9 +60434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60143,7 +60446,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &395 value: - id: 1 slug: octoapp @@ -60200,9 +60503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60236,7 +60539,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -60257,9 +60560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60293,7 +60596,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -60314,9 +60617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60350,7 +60653,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -60372,9 +60675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60384,7 +60687,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -60404,9 +60707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60444,7 +60747,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -60465,9 +60768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60505,7 +60808,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -60526,9 +60829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: content: application/json: @@ -60565,7 +60868,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -60587,9 +60890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60623,9 +60926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60683,9 +60986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60743,9 +61046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60805,9 +61108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -60829,7 +61132,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -60945,8 +61248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -61225,7 +61528,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &397 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61648,9 +61951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *318 - *319 - - &397 + - *320 + - &398 name: check_run_id description: The unique identifier of the check run. in: path @@ -61662,9 +61965,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &398 + default: &399 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61764,9 +62067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *318 - *319 - - *397 + - *320 + - *398 requestBody: required: true content: @@ -62006,9 +62309,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62028,9 +62331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *318 - *319 - - *397 + - *320 + - *398 - *17 - *19 responses: @@ -62140,9 +62443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *318 - *319 - - *397 + - *320 + - *398 responses: '201': description: Response @@ -62186,8 +62489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -62209,7 +62512,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &401 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62307,7 +62610,7 @@ paths: - string - 'null' format: date-time - head_commit: *399 + head_commit: *400 latest_check_runs_count: type: integer check_runs_url: @@ -62335,7 +62638,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &402 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62626,9 +62929,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62647,8 +62950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -62957,9 +63260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *318 - *319 - - &402 + - *320 + - &403 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62971,9 +63274,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62996,17 +63299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *318 - *319 - - *402 - - &455 + - *320 + - *403 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &456 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -63045,9 +63348,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *397 examples: - default: &457 + default: &458 value: total_count: 1 check_runs: @@ -63149,9 +63452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - *319 - - *402 + - *320 + - *403 responses: '201': description: Response @@ -63184,21 +63487,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *318 - *319 - - *403 + - *320 - *404 + - *405 - *19 - *17 - - &421 + - &422 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: *405 - - &422 + schema: *406 + - &423 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63223,13 +63526,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *407 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *408 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -63253,7 +63556,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: *408 + instances_url: *409 state: *175 fixed_at: *171 dismissed_by: @@ -63261,11 +63564,11 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *410 + dismissed_comment: *411 + rule: *412 + tool: *413 + most_recent_instance: *414 dismissal_approved_by: anyOf: - type: 'null' @@ -63388,7 +63691,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &414 + '403': &415 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63415,9 +63718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *318 - *319 - - &415 + - *320 + - &416 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63431,7 +63734,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 type: object properties: number: *166 @@ -63439,7 +63742,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: *408 + instances_url: *409 state: *175 fixed_at: *171 dismissed_by: @@ -63447,8 +63750,8 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *410 + dismissed_comment: *411 rule: type: object properties: @@ -63510,8 +63813,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *413 + most_recent_instance: *414 dismissal_approved_by: anyOf: - type: 'null' @@ -63607,7 +63910,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -63627,9 +63930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: true content: @@ -63644,8 +63947,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *410 + dismissed_comment: *411 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63673,7 +63976,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -63749,7 +64052,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &421 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63776,15 +64079,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: - - *318 - *319 - - *415 + - *320 + - *416 responses: '200': description: Response content: application/json: - schema: &417 + schema: &418 type: object properties: status: @@ -63811,13 +64114,13 @@ paths: - description - started_at examples: - default: &418 + default: &419 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &420 description: Bad Request content: application/json: @@ -63828,7 +64131,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': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -63853,29 +64156,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: - - *318 - *319 - - *415 + - *320 + - *416 responses: '200': description: OK content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 '202': description: Accepted content: application/json: - schema: *417 + schema: *418 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *420 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63907,9 +64210,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: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: false content: @@ -63955,8 +64258,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *420 + '403': *421 '404': *6 '422': description: Unprocessable Entity @@ -63980,13 +64283,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 - *19 - *17 - - *421 - *422 + - *423 responses: '200': description: Response @@ -63997,10 +64300,10 @@ paths: items: type: object properties: - ref: *405 - analysis_key: *423 - environment: *424 - category: *425 + ref: *406 + analysis_key: *424 + environment: *425 + category: *426 state: type: - string @@ -64017,7 +64320,7 @@ paths: properties: text: type: string - location: *426 + location: *427 html_url: type: string classifications: @@ -64025,7 +64328,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *427 + items: *428 examples: default: value: @@ -64062,7 +64365,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64096,25 +64399,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *318 - *319 - - *403 + - *320 - *404 + - *405 - *19 - *17 - - *422 + - *423 - 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: *405 + schema: *406 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &429 type: string description: An identifier for the upload. examples: @@ -64136,23 +64439,23 @@ paths: application/json: schema: type: array - items: &429 + items: &430 type: object properties: - ref: *405 - commit_sha: &437 + ref: *406 + commit_sha: &438 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: *423 + analysis_key: *424 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *425 + category: *426 error: type: string examples: @@ -64177,8 +64480,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *412 + sarif_id: *429 + tool: *413 deletable: type: boolean warning: @@ -64240,7 +64543,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64276,8 +64579,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: - - *318 - *319 + - *320 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64290,7 +64593,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: response: summary: application/json response @@ -64344,7 +64647,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *415 '404': *6 '422': description: Response if analysis could not be processed @@ -64431,8 +64734,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: - - *318 - *319 + - *320 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64488,7 +64791,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': *420 + '403': *421 '404': *6 '503': *108 x-github: @@ -64510,8 +64813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -64519,7 +64822,7 @@ paths: application/json: schema: type: array - items: &430 + items: &431 title: CodeQL Database description: A CodeQL database. type: object @@ -64631,7 +64934,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': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64660,8 +64963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *318 - *319 + - *320 - name: language in: path description: The language of the CodeQL database. @@ -64673,7 +64976,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -64705,9 +65008,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': &462 + '302': &463 description: Found - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64729,8 +65032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - *319 + - *320 - name: language in: path description: The language of the CodeQL database. @@ -64740,7 +65043,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *421 '404': *6 '503': *108 x-github: @@ -64768,8 +65071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -64778,7 +65081,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &432 type: string description: The language targeted by the CodeQL query enum: @@ -64858,7 +65161,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &436 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64868,7 +65171,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *431 + query_language: *432 query_pack_url: type: string description: The download url for the query pack. @@ -64916,7 +65219,7 @@ paths: items: type: object properties: - repository: &432 + repository: &433 title: Repository Identifier description: Repository Identifier type: object @@ -64958,7 +65261,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &437 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64990,7 +65293,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: &434 type: object properties: repository_count: @@ -65005,7 +65308,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: *433 required: - repository_count - repositories @@ -65028,8 +65331,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *434 + over_limit_repos: *434 required: - access_mismatch_repos - not_found_repos @@ -65045,7 +65348,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &435 summary: Default response value: id: 1 @@ -65191,10 +65494,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *435 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *435 '404': *6 '422': description: Unable to process variant analysis submission @@ -65222,8 +65525,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: - - *318 - *319 + - *320 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65235,9 +65538,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *434 + default: *435 '404': *6 '503': *108 x-github: @@ -65260,7 +65563,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: - - *318 + - *319 - name: repo in: path description: The name of the controller repository. @@ -65295,7 +65598,7 @@ paths: type: object properties: repository: *58 - analysis_status: *436 + analysis_status: *437 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65420,8 +65723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -65512,7 +65815,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65533,8 +65836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -65628,7 +65931,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *421 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65699,8 +66002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -65708,7 +66011,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *438 ref: type: string description: |- @@ -65768,7 +66071,7 @@ paths: schema: type: object properties: - id: *428 + id: *429 url: type: string description: The REST API URL for checking the status of the upload. @@ -65782,7 +66085,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': *420 + '403': *421 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65805,8 +66108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *318 - *319 + - *320 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65854,7 +66157,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': *414 + '403': *415 '404': description: Not Found if the sarif id does not match any upload '503': *108 @@ -65879,8 +66182,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: - - *318 - *319 + - *320 responses: '200': description: Response @@ -65961,8 +66264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *318 - *319 + - *320 - 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 @@ -66090,8 +66393,8 @@ paths: parameters: - *17 - *19 - - *318 - *319 + - *320 responses: '200': description: Response @@ -66107,7 +66410,7 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: default: value: @@ -66405,8 +66708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -66470,17 +66773,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '400': *14 '401': *23 '403': *27 @@ -66509,8 +66812,8 @@ paths: parameters: - *17 - *19 - - *318 - *319 + - *320 responses: '200': description: Response @@ -66574,8 +66877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *318 - *319 + - *320 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66612,7 +66915,7 @@ paths: type: integer machines: type: array - items: *439 + items: *440 examples: default: &648 value: @@ -66654,8 +66957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - *319 + - *320 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66742,8 +67045,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: - - *318 - *319 + - *320 - 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 @@ -66812,8 +67115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -66831,7 +67134,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &444 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66852,7 +67155,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *441 headers: Link: *59 x-github: @@ -66875,16 +67178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66904,17 +67207,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66934,8 +67237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -66988,8 +67291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -67018,8 +67321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - *319 + - *320 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67057,7 +67360,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Collaborator description: Collaborator type: object @@ -67250,8 +67553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 responses: '204': @@ -67298,8 +67601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 requestBody: required: false @@ -67326,7 +67629,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &512 + schema: &513 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67554,8 +67857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 responses: '204': @@ -67587,8 +67890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - *319 + - *320 - *63 responses: '200': @@ -67609,7 +67912,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *446 required: - permission - role_name @@ -67663,8 +67966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -67674,7 +67977,7 @@ paths: application/json: schema: type: array - items: &446 + items: &447 title: Commit Comment description: Commit Comment type: object @@ -67732,7 +68035,7 @@ paths: - created_at - updated_at examples: - default: &451 + 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 @@ -67791,17 +68094,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: &452 + default: &453 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67858,8 +68161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -67882,7 +68185,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -67933,8 +68236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -67956,8 +68259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67984,7 +68287,7 @@ paths: application/json: schema: type: array - items: &447 + items: &448 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -68028,7 +68331,7 @@ paths: - content - created_at examples: - default: &515 + default: &516 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68073,8 +68376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -68107,9 +68410,9 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: &448 + default: &449 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -68138,9 +68441,9 @@ paths: description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -68162,10 +68465,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - &516 + - &517 name: reaction_id description: The unique identifier of the reaction. in: path @@ -68220,8 +68523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *318 - *319 + - *320 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68277,9 +68580,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: &562 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68373,9 +68676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - *319 - - &450 + - *320 + - &451 name: commit_sha description: The SHA of the commit. in: path @@ -68447,9 +68750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *318 - *319 - - *450 + - *320 + - *451 - *17 - *19 responses: @@ -68459,9 +68762,9 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: - default: *451 + default: *452 headers: Link: *59 x-github: @@ -68489,9 +68792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *318 - *319 - - *450 + - *320 + - *451 requestBody: required: true content: @@ -68526,9 +68829,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: *452 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68556,9 +68859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *318 - *319 - - *450 + - *320 + - *451 - *17 - *19 responses: @@ -68568,9 +68871,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: &554 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69107,11 +69410,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *318 - *319 + - *320 - *19 - *17 - - &454 + - &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)" @@ -69126,9 +69429,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: &542 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69241,11 +69544,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *318 - *319 - - *454 + - *320 - *455 - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69279,9 +69582,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *397 examples: - default: *457 + default: *458 headers: Link: *59 x-github: @@ -69306,9 +69609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69316,7 +69619,7 @@ paths: schema: type: integer example: 1 - - *455 + - *456 - *17 - *19 responses: @@ -69334,7 +69637,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *401 examples: default: value: @@ -69534,9 +69837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - *17 - *19 responses: @@ -69738,9 +70041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - *17 - *19 responses: @@ -69750,7 +70053,7 @@ paths: application/json: schema: type: array - items: &627 + items: &628 title: Status description: The status of a commit. type: object @@ -69831,7 +70134,7 @@ paths: site_admin: false headers: Link: *59 - '301': *322 + '301': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69859,8 +70162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -69893,11 +70196,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *458 + - *459 code_of_conduct_file: anyOf: - type: 'null' - - &459 + - &460 title: Community Health File type: object properties: @@ -69917,19 +70220,19 @@ paths: contributing: anyOf: - type: 'null' - - *459 + - *460 readme: anyOf: - type: 'null' - - *459 + - *460 issue_template: anyOf: - type: 'null' - - *459 + - *460 pull_request_template: anyOf: - type: 'null' - - *459 + - *460 required: - code_of_conduct - code_of_conduct_file @@ -70058,8 +70361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *318 - *319 + - *320 - *19 - *17 - name: basehead @@ -70107,8 +70410,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *449 - merge_base_commit: *449 + base_commit: *450 + merge_base_commit: *450 status: type: string enum: @@ -70132,10 +70435,10 @@ paths: - 6 commits: type: array - items: *449 + items: *450 files: type: array - items: *460 + items: *461 required: - url - html_url @@ -70421,8 +70724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -70592,7 +70895,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &461 + response-if-content-is-a-file-github-object: &462 summary: Response if content is a file value: type: file @@ -70729,7 +71032,7 @@ paths: - size - type - url - - &567 + - &568 title: Content File description: Content File type: object @@ -70947,7 +71250,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *461 + 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 @@ -71016,7 +71319,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *462 + '302': *463 '304': *35 x-github: githubCloudOnly: false @@ -71039,8 +71342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -71135,7 +71438,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &464 title: File Commit description: File Commit type: object @@ -71291,7 +71594,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: example-for-creating-a-file: value: @@ -71345,7 +71648,7 @@ paths: schema: oneOf: - *3 - - &494 + - &495 description: Repository rule violation was detected type: object properties: @@ -71366,7 +71669,7 @@ paths: items: type: object properties: - placeholder_id: &619 + placeholder_id: &620 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71398,8 +71701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -71460,7 +71763,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: default: value: @@ -71515,8 +71818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *318 - *319 + - *320 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71640,23 +71943,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - *319 - - *184 + - *320 - *185 - *186 - *187 + - *188 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *188 - - *464 - *189 + - *465 - *190 - *191 + - *192 - *53 - *45 - *46 @@ -71668,7 +71971,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 type: object description: A Dependabot alert. properties: @@ -71718,7 +72021,7 @@ paths: - direct - transitive - - security_advisory: *465 + security_advisory: *466 security_vulnerability: *57 url: *169 html_url: *170 @@ -71749,8 +72052,8 @@ paths: dismissal. maxLength: 280 fixed_at: *171 - auto_dismissed_at: *466 - dismissal_request: *467 + auto_dismissed_at: *467 + dismissal_request: *468 assignees: type: array description: The users assigned to this alert. @@ -72005,9 +72308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - *319 - - &469 + - *320 + - &470 name: alert_number in: path description: |- @@ -72022,7 +72325,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72154,9 +72457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - *319 - - *469 + - *320 + - *470 requestBody: required: true content: @@ -72212,7 +72515,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -72342,8 +72645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -72361,7 +72664,7 @@ paths: type: integer secrets: type: array - items: &472 + items: &473 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72415,16 +72718,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72444,15 +72747,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -72478,8 +72781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -72532,8 +72835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -72556,8 +72859,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: - - *318 - *319 + - *320 - 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 @@ -72731,8 +73034,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: - - *318 - *319 + - *320 responses: '200': description: Response @@ -72992,8 +73295,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -73076,7 +73379,7 @@ paths: - version - url additionalProperties: false - metadata: &473 + metadata: &474 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73115,7 +73418,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *473 + metadata: *474 resolved: type: object description: A collection of resolved package dependencies. @@ -73129,7 +73432,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *473 + metadata: *474 relationship: type: string description: A notation of whether a dependency is requested @@ -73262,8 +73565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *318 - *319 + - *320 - name: sha description: The SHA recorded at creation time. in: query @@ -73304,9 +73607,9 @@ paths: application/json: schema: type: array - items: *474 + items: *475 examples: - default: *475 + default: *476 headers: Link: *59 x-github: @@ -73372,8 +73675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -73455,7 +73758,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: simple-example: summary: Simple example @@ -73528,9 +73831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *318 - *319 - - &476 + - *320 + - &477 name: deployment_id description: deployment_id parameter in: path @@ -73542,7 +73845,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -73607,9 +73910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *318 - *319 - - *476 + - *320 + - *477 responses: '204': description: Response @@ -73631,9 +73934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - *319 - - *476 + - *320 + - *477 - *17 - *19 responses: @@ -73643,7 +73946,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Deployment Status description: The status of a deployment. type: object @@ -73807,9 +74110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - *319 - - *476 + - *320 + - *477 requestBody: required: true content: @@ -73884,9 +74187,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73942,9 +74245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - *319 - - *476 + - *320 + - *477 - name: status_id in: path required: true @@ -73955,9 +74258,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -73982,8 +74285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -74040,8 +74343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -74059,7 +74362,7 @@ paths: - 5 environments: type: array - items: &480 + items: &481 title: Environment description: Details of a deployment environment type: object @@ -74121,7 +74424,7 @@ paths: type: string examples: - wait_timer - wait_timer: &482 + wait_timer: &483 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74163,7 +74466,7 @@ paths: items: type: object properties: - type: *479 + type: *480 reviewer: anyOf: - *4 @@ -74190,7 +74493,7 @@ paths: - id - node_id - type - deployment_branch_policy: &483 + deployment_branch_policy: &484 type: - object - 'null' @@ -74307,9 +74610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *318 - *319 - - &481 + - *320 + - &482 name: environment_name in: path required: true @@ -74322,9 +74625,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: &484 + default: &485 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74408,9 +74711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: false content: @@ -74420,7 +74723,7 @@ paths: - object - 'null' properties: - wait_timer: *482 + wait_timer: *483 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -74439,14 +74742,14 @@ paths: items: type: object properties: - type: *479 + type: *480 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *483 + deployment_branch_policy: *484 additionalProperties: false examples: default: @@ -74466,9 +74769,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *484 + default: *485 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74492,9 +74795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *318 - *319 - - *481 + - *320 + - *482 responses: '204': description: Default response @@ -74519,9 +74822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *17 - *19 responses: @@ -74540,7 +74843,7 @@ paths: - 2 branch_policies: type: array - items: &485 + items: &486 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74601,9 +74904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: true content: @@ -74651,9 +74954,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - example-wildcard: &486 + example-wildcard: &487 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74695,10 +74998,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - &487 + - *320 + - *482 + - &488 name: branch_policy_id in: path required: true @@ -74710,9 +75013,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74731,10 +75034,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - *487 + - *320 + - *482 + - *488 requestBody: required: true content: @@ -74763,9 +75066,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74784,10 +75087,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - *487 + - *320 + - *482 + - *488 responses: '204': description: Response @@ -74812,9 +75115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *481 + - *482 + - *320 - *319 - - *318 responses: '200': description: List of deployment protection rules @@ -74831,7 +75134,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &488 + items: &489 title: Deployment protection rule description: Deployment protection rule type: object @@ -74853,7 +75156,7 @@ paths: for the environment. examples: - true - app: &489 + app: &490 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74956,9 +75259,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: - - *481 + - *482 + - *320 - *319 - - *318 requestBody: content: application/json: @@ -74979,9 +75282,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *488 + schema: *489 examples: - default: &490 + default: &491 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75016,9 +75319,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: - - *481 + - *482 + - *320 - *319 - - *318 - *19 - *17 responses: @@ -75038,7 +75341,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *489 + items: *490 examples: default: value: @@ -75073,10 +75376,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *318 - *319 - - *481 - - &491 + - *320 + - *482 + - &492 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75088,9 +75391,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75111,10 +75414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *481 + - *482 + - *320 - *319 - - *318 - - *491 + - *492 responses: '204': description: Response @@ -75140,9 +75443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *17 - *19 responses: @@ -75160,9 +75463,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -75187,17 +75490,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - *319 - - *481 + - *320 + - *482 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75219,18 +75522,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *492 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75252,9 +75555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 requestBody: required: true @@ -75312,9 +75615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 responses: '204': @@ -75340,10 +75643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *318 - *319 - - *481 - - *334 + - *320 + - *482 + - *335 - *19 responses: '200': @@ -75360,9 +75663,9 @@ paths: type: integer variables: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -75385,9 +75688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: true content: @@ -75439,18 +75742,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *159 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75471,10 +75774,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *318 - *319 + - *320 - *159 - - *481 + - *482 requestBody: required: true content: @@ -75516,10 +75819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *318 - *319 + - *320 - *159 - - *481 + - *482 responses: '204': description: Response @@ -75541,8 +75844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -75610,8 +75913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *318 - *319 + - *320 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75770,8 +76073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -75804,9 +76107,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 '400': *14 '422': *15 '403': *27 @@ -75827,8 +76130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -75888,7 +76191,7 @@ paths: schema: oneOf: - *116 - - *494 + - *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75913,8 +76216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *318 - *319 + - *320 - name: file_sha in: path required: true @@ -76014,8 +76317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -76124,7 +76427,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &496 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76351,15 +76654,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *318 - *319 - - *450 + - *320 + - *451 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -76415,9 +76718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *318 - *319 - - &496 + - *320 + - &497 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. @@ -76434,7 +76737,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Git Reference description: Git references within a repository type: object @@ -76510,17 +76813,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 responses: '200': description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: &498 + default: &499 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76549,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -76579,9 +76882,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: *498 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76607,9 +76910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 requestBody: required: true content: @@ -76638,9 +76941,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: *498 + default: *499 '422': *15 '409': *52 x-github: @@ -76658,9 +76961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 responses: '204': description: Response @@ -76715,8 +77018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -76783,7 +77086,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &501 title: Git Tag description: Metadata for a Git tag type: object @@ -76839,7 +77142,7 @@ paths: - sha - type - url - verification: *499 + verification: *500 required: - sha - url @@ -76849,7 +77152,7 @@ paths: - tag - message examples: - default: &501 + default: &502 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76922,8 +77225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *318 - *319 + - *320 - name: tag_sha in: path required: true @@ -76934,9 +77237,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '404': *6 '409': *52 x-github: @@ -76960,8 +77263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77035,7 +77338,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77137,8 +77440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *318 - *319 + - *320 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77161,7 +77464,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default-response: summary: Default response @@ -77220,8 +77523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -77231,7 +77534,7 @@ paths: application/json: schema: type: array - items: &503 + items: &504 title: Webhook description: Webhooks for repositories. type: object @@ -77371,8 +77674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -77425,9 +77728,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: Repository id: 12345678 @@ -77475,17 +77778,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -77505,9 +77808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 requestBody: required: true content: @@ -77552,9 +77855,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '422': *15 '404': *6 x-github: @@ -77575,9 +77878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -77601,9 +77904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '200': description: Response @@ -77630,9 +77933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *318 - *319 - - *197 + - *320 + - *198 requestBody: required: false content: @@ -77676,11 +77979,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - *319 - - *197 - - *17 + - *320 - *198 + - *17 + - *199 responses: '200': description: Response @@ -77688,9 +77991,9 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: - default: *200 + default: *201 '400': *14 '422': *15 x-github: @@ -77709,18 +78012,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 - *16 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 '400': *14 '422': *15 x-github: @@ -77739,9 +78042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 - *16 responses: '202': *37 @@ -77764,9 +78067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -77791,9 +78094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -77816,8 +78119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response if immutable releases are enabled @@ -77865,8 +78168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *318 - *319 + - *320 responses: '204': *179 '409': *52 @@ -77886,8 +78189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *318 - *319 + - *320 responses: '204': *179 '409': *52 @@ -77944,14 +78247,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &505 + schema: &506 title: Import description: A repository import from an external source. type: object @@ -78058,7 +78361,7 @@ paths: - html_url - authors_url examples: - default: &508 + default: &509 value: vcs: subversion use_lfs: true @@ -78074,7 +78377,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': &506 + '503': &507 description: Unavailable due to service under maintenance. content: application/json: @@ -78103,8 +78406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -78152,7 +78455,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: default: value: @@ -78177,7 +78480,7 @@ paths: type: string '422': *15 '404': *6 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78205,8 +78508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -78258,7 +78561,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: example-1: summary: Example 1 @@ -78306,7 +78609,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': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78329,12 +78632,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *318 - *319 + - *320 responses: '204': description: Response - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78360,8 +78663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *318 - *319 + - *320 - &670 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -78376,7 +78679,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Porter Author description: Porter Author type: object @@ -78430,7 +78733,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': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78455,8 +78758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - *319 + - *320 - name: author_id in: path required: true @@ -78486,7 +78789,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -78499,7 +78802,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78523,8 +78826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -78565,7 +78868,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78593,8 +78896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -78621,11 +78924,11 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *508 + default: *509 '422': *15 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78648,8 +78951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -78657,8 +78960,8 @@ paths: application/json: schema: *20 examples: - default: *509 - '301': *322 + default: *510 + '301': *323 '404': *6 x-github: githubCloudOnly: false @@ -78678,8 +78981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -78687,12 +78990,12 @@ paths: application/json: schema: anyOf: - - *215 + - *216 - type: object properties: {} additionalProperties: false examples: - default: &511 + default: &512 value: limit: collaborators_only origin: repository @@ -78717,13 +79020,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *510 + schema: *511 examples: default: summary: Example request body @@ -78735,9 +79038,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *511 + default: *512 '409': description: Response x-github: @@ -78759,8 +79062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -78783,8 +79086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -78794,7 +79097,7 @@ paths: application/json: schema: type: array - items: *512 + items: *513 examples: default: &662 value: @@ -78927,9 +79230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - *319 - - *219 + - *320 + - *220 requestBody: required: false content: @@ -78958,7 +79261,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: default: value: @@ -79089,9 +79392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - *319 - - *219 + - *320 + - *220 responses: '204': description: Response @@ -79122,8 +79425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *318 - *319 + - *320 - 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 @@ -79171,7 +79474,7 @@ paths: required: false schema: type: string - - *226 + - *227 - name: sort description: What to sort results by. in: query @@ -79196,7 +79499,7 @@ paths: type: array items: *75 examples: - default: &521 + default: &522 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79345,7 +79648,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *322 + '301': *323 '422': *15 '404': *6 x-github: @@ -79374,8 +79677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -79459,7 +79762,7 @@ paths: application/json: schema: *75 examples: - default: &518 + default: &519 value: id: 1 node_id: MDU6SXNzdWUx @@ -79616,7 +79919,7 @@ paths: '422': *15 '503': *108 '404': *6 - '410': *513 + '410': *514 x-github: triggersNotification: true githubCloudOnly: false @@ -79644,8 +79947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - *319 + - *320 - *97 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79668,7 +79971,7 @@ paths: type: array items: *76 examples: - default: &520 + default: &521 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79726,8 +80029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': @@ -79736,7 +80039,7 @@ paths: application/json: schema: *76 examples: - default: &514 + default: &515 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79791,8 +80094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -79817,7 +80120,7 @@ paths: application/json: schema: *76 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -79835,8 +80138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -79865,8 +80168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': @@ -79929,7 +80232,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -79946,8 +80249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -79955,7 +80258,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 '503': *108 x-github: githubCloudOnly: false @@ -79973,8 +80276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -80001,9 +80304,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -80024,8 +80327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -80058,16 +80361,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -80089,10 +80392,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - *516 + - *517 responses: '204': description: Response @@ -80112,8 +80415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -80123,7 +80426,7 @@ paths: application/json: schema: type: array - items: &517 + items: &518 title: Issue Event description: Issue Event type: object @@ -80463,8 +80766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *318 - *319 + - *320 - name: event_id in: path required: true @@ -80475,7 +80778,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -80668,7 +80971,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *513 + '410': *514 '403': *27 x-github: githubCloudOnly: false @@ -80702,9 +81005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *318 - *319 - - &519 + - *320 + - &520 name: issue_number description: The number that identifies the issue. in: path @@ -80720,7 +81023,7 @@ paths: examples: default: summary: Issue - value: *518 + value: *519 pinned_comment: summary: Issue with pinned comment value: @@ -80919,9 +81222,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 '304': *35 x-github: githubCloudOnly: false @@ -80946,9 +81249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -81083,13 +81386,13 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 '422': *15 '503': *108 '403': *27 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81107,9 +81410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -81137,7 +81440,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81153,9 +81456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: content: application/json: @@ -81182,7 +81485,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81204,9 +81507,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: - - *318 - *319 - - *519 + - *320 + - *520 - name: assignee in: path required: true @@ -81246,9 +81549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *80 - *17 - *19 @@ -81261,11 +81564,11 @@ paths: type: array items: *76 examples: - default: *520 + default: *521 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81294,9 +81597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -81320,14 +81623,14 @@ paths: application/json: schema: *76 examples: - default: *514 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -81355,9 +81658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -81369,12 +81672,12 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81402,9 +81705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -81428,15 +81731,15 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *323 '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -81467,9 +81770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -81483,13 +81786,13 @@ paths: application/json: schema: *75 examples: - default: *518 - '301': *322 + default: *519 + '301': *323 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 x-github: triggersNotification: true githubCloudOnly: false @@ -81515,9 +81818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -81529,12 +81832,12 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81551,9 +81854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -81567,7 +81870,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &524 + - &525 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81616,7 +81919,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81744,7 +82047,7 @@ paths: - performed_via_github_app - assignee - assigner - - &526 + - &527 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81790,7 +82093,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81836,7 +82139,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81885,7 +82188,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &530 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81927,7 +82230,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &531 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81969,7 +82272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &532 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82025,7 +82328,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &532 + - &533 title: Locked Issue Event description: Locked Issue Event type: object @@ -82070,7 +82373,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82131,7 +82434,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &535 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82192,7 +82495,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82253,7 +82556,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82346,7 +82649,7 @@ paths: color: red headers: Link: *59 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82363,9 +82666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82375,9 +82678,9 @@ paths: application/json: schema: type: array - items: *522 + items: *523 examples: - default: &633 + default: &634 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -82401,9 +82704,9 @@ paths: value: '2025-12-25' headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82420,9 +82723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82434,7 +82737,7 @@ paths: type: array items: *74 examples: - default: &523 + default: &524 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82452,9 +82755,9 @@ paths: default: false headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82470,9 +82773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -82517,10 +82820,10 @@ paths: type: array items: *74 examples: - default: *523 - '301': *322 + default: *524 + '301': *323 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -82537,9 +82840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -82601,10 +82904,10 @@ paths: type: array items: *74 examples: - default: *523 - '301': *322 + default: *524 + '301': *323 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -82621,15 +82924,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '204': description: Response - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82648,9 +82951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - name: name in: path required: true @@ -82674,9 +82977,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82696,9 +82999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -82727,7 +83030,7 @@ paths: '204': description: Response '403': *27 - '410': *513 + '410': *514 '404': *6 '422': *15 x-github: @@ -82745,9 +83048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '204': description: Response @@ -82777,9 +83080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '200': description: Response @@ -82787,10 +83090,10 @@ paths: application/json: schema: *75 examples: - default: *518 - '301': *322 + default: *519 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82807,9 +83110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - 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. @@ -82835,13 +83138,13 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82859,9 +83162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -82893,16 +83196,16 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -82924,10 +83227,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - *319 - - *519 - - *516 + - *320 + - *520 + - *517 responses: '204': description: Response @@ -82956,9 +83259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -82982,7 +83285,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83015,9 +83318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -83029,11 +83332,11 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83061,9 +83364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -83092,14 +83395,14 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -83119,9 +83422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -83154,7 +83457,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 '403': *27 '404': *6 '422': *7 @@ -83176,9 +83479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -83193,7 +83496,6 @@ paths: description: Timeline Event type: object anyOf: - - *524 - *525 - *526 - *527 @@ -83206,6 +83508,7 @@ paths: - *534 - *535 - *536 + - *537 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83262,7 +83565,7 @@ paths: pin: anyOf: - type: 'null' - - *537 + - *538 required: - event - actor @@ -83538,7 +83841,7 @@ paths: type: string comments: type: array - items: &556 + items: &557 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83779,7 +84082,7 @@ paths: type: string comments: type: array - items: *446 + items: *447 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84054,7 +84357,7 @@ paths: headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84071,8 +84374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -84082,7 +84385,7 @@ paths: application/json: schema: type: array - items: &538 + items: &539 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84150,8 +84453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84187,9 +84490,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &539 + default: &540 value: id: 1 key: ssh-rsa AAA... @@ -84223,9 +84526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - *319 - - &540 + - *320 + - &541 name: key_id description: The unique identifier of the key. in: path @@ -84237,9 +84540,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -84257,9 +84560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - *319 - - *540 + - *320 + - *541 responses: '204': description: Response @@ -84279,8 +84582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -84292,7 +84595,7 @@ paths: type: array items: *74 examples: - default: *523 + default: *524 headers: Link: *59 '404': *6 @@ -84313,8 +84616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84352,7 +84655,7 @@ paths: application/json: schema: *74 examples: - default: &541 + default: &542 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84384,8 +84687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -84398,7 +84701,7 @@ paths: application/json: schema: *74 examples: - default: *541 + default: *542 '404': *6 x-github: githubCloudOnly: false @@ -84415,8 +84718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -84481,8 +84784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -84508,8 +84811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -84548,9 +84851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - *319 - - *421 + - *320 + - *422 responses: '200': description: Response @@ -84697,8 +85000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84763,8 +85066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84798,9 +85101,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *449 + schema: *450 examples: - default: *542 + default: *543 '204': description: Response when already merged '404': @@ -84825,8 +85128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *318 - *319 + - *320 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84867,7 +85170,7 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: default: value: @@ -84923,8 +85226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -84964,9 +85267,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85025,9 +85328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *318 - *319 - - &544 + - *320 + - &545 name: milestone_number description: The number that identifies the milestone. in: path @@ -85039,9 +85342,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *543 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -85058,9 +85361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 requestBody: required: false content: @@ -85098,9 +85401,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85116,9 +85419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 responses: '204': description: Response @@ -85139,9 +85442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 - *17 - *19 responses: @@ -85153,7 +85456,7 @@ paths: type: array items: *74 examples: - default: *523 + default: *524 headers: Link: *59 x-github: @@ -85172,12 +85475,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *318 - *319 - - *545 + - *320 - *546 - - *80 - *547 + - *80 + - *548 - *17 - *19 responses: @@ -85189,7 +85492,7 @@ paths: type: array items: *100 examples: - default: *548 + default: *549 headers: Link: *59 x-github: @@ -85213,8 +85516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -85272,14 +85575,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &549 + schema: &550 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85423,7 +85726,7 @@ paths: - custom_404 - public examples: - default: &550 + default: &551 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85464,8 +85767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85520,9 +85823,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *550 + default: *551 '422': *15 '409': *52 x-github: @@ -85545,8 +85848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85646,8 +85949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -85673,8 +85976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -85684,7 +85987,7 @@ paths: application/json: schema: type: array - items: &551 + items: &552 title: Page Build description: Page Build type: object @@ -85776,8 +86079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -85824,16 +86127,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: &552 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85881,8 +86184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *318 - *319 + - *320 - name: build_id in: path required: true @@ -85893,9 +86196,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85915,8 +86218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86024,9 +86327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *318 - *319 - - &553 + - *320 + - &554 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86084,9 +86387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - *319 - - *553 + - *320 + - *554 responses: '204': *179 '404': *6 @@ -86113,8 +86416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -86409,8 +86712,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: - - *318 - *319 + - *320 responses: '200': description: Private vulnerability reporting status @@ -86447,8 +86750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': *179 '422': *14 @@ -86469,8 +86772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': *179 '422': *14 @@ -86492,8 +86795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -86501,7 +86804,7 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: default: value: @@ -86532,8 +86835,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86545,7 +86848,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *273 + items: *274 required: - properties examples: @@ -86595,8 +86898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *318 - *319 + - *320 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86656,9 +86959,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: *554 + default: *555 headers: Link: *59 '304': *35 @@ -86690,8 +86993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86758,7 +87061,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &559 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86887,7 +87190,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 active_lock_reason: type: - string @@ -86926,7 +87229,7 @@ paths: items: *4 requested_teams: type: array - items: *238 + items: *239 head: type: object properties: @@ -86964,14 +87267,14 @@ paths: _links: type: object properties: - comments: *260 - commits: *260 - statuses: *260 - html: *260 - issue: *260 - review_comments: *260 - review_comment: *260 - self: *260 + comments: *261 + commits: *261 + statuses: *261 + html: *261 + issue: *261 + review_comments: *261 + review_comment: *261 + self: *261 required: - comments - commits @@ -86982,7 +87285,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *555 + auto_merge: *556 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -87082,7 +87385,7 @@ paths: - merged_by - review_comments examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87609,8 +87912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - *319 + - *320 - name: sort in: query required: false @@ -87639,9 +87942,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: &561 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87718,17 +88021,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 responses: '200': description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87803,8 +88106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -87827,9 +88130,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87845,8 +88148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -87868,8 +88171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87896,9 +88199,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -87919,8 +88222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -87953,16 +88256,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -87984,10 +88287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - *516 + - *517 responses: '204': description: Response @@ -88030,9 +88333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *318 - *319 - - &560 + - *320 + - &561 name: pull_number description: The number that identifies the pull request. in: path @@ -88045,9 +88348,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '304': *35 '404': *6 '406': @@ -88082,9 +88385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -88126,9 +88429,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '422': *15 '403': *27 x-github: @@ -88150,9 +88453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -88213,17 +88516,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -88253,9 +88556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *97 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88276,9 +88579,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -88311,9 +88614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -88419,7 +88722,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: example-for-a-multi-line-comment: value: @@ -88507,9 +88810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *89 requestBody: required: true @@ -88532,7 +88835,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -88618,9 +88921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -88630,9 +88933,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: *562 + default: *563 headers: Link: *59 x-github: @@ -88662,9 +88965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -88674,7 +88977,7 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: default: value: @@ -88712,9 +89015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *318 - *319 - - *560 + - *320 + - *561 responses: '204': description: Response if pull request has been merged @@ -88737,9 +89040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -88851,9 +89154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 responses: '200': description: Response @@ -88928,9 +89231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -88967,7 +89270,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -89503,9 +89806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -89539,7 +89842,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -90044,9 +90347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -90056,7 +90359,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90212,9 +90515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -90304,9 +90607,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &565 + default: &566 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90369,10 +90672,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - &564 + - *320 + - *561 + - &565 name: review_id description: The unique identifier of the review. in: path @@ -90384,9 +90687,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &566 + default: &567 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90445,10 +90748,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -90471,7 +90774,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -90533,18 +90836,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *565 + default: *566 '422': *7 '404': *6 x-github: @@ -90571,10 +90874,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 - *17 - *19 responses: @@ -90672,9 +90975,9 @@ paths: _links: type: object properties: - self: *260 - html: *260 - pull_request: *260 + self: *261 + html: *261 + pull_request: *261 required: - self - html @@ -90832,10 +91135,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -90864,7 +91167,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -90927,10 +91230,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -90965,9 +91268,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *566 + default: *567 '404': *6 '422': *7 '403': *27 @@ -90989,9 +91292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -91055,8 +91358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *318 - *319 + - *320 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91069,9 +91372,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: &568 + default: &569 value: type: file encoding: base64 @@ -91113,8 +91416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *318 - *319 + - *320 - name: dir description: The alternate path to look for a README file in: path @@ -91134,9 +91437,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: *568 + default: *569 '404': *6 '422': *15 x-github: @@ -91158,8 +91461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -91169,7 +91472,7 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: default: value: @@ -91263,8 +91566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -91340,9 +91643,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &573 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91447,9 +91750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *318 - *319 - - &571 + - *320 + - &572 name: asset_id description: The unique identifier of the asset. in: path @@ -91461,9 +91764,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &572 + default: &573 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 @@ -91498,7 +91801,7 @@ paths: type: User site_admin: false '404': *6 - '302': *462 + '302': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91514,9 +91817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *318 - *319 - - *571 + - *320 + - *572 requestBody: required: false content: @@ -91545,9 +91848,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *572 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91563,9 +91866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *318 - *319 - - *571 + - *320 + - *572 responses: '204': description: Response @@ -91589,8 +91892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -91676,16 +91979,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91702,8 +92005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - *319 + - *320 - name: tag description: tag parameter in: path @@ -91716,9 +92019,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -91740,9 +92043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *318 - *319 - - &574 + - *320 + - &575 name: release_id description: The unique identifier of the release. in: path @@ -91756,9 +92059,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: *569 + schema: *570 examples: - default: *573 + default: *574 '401': description: Unauthorized x-github: @@ -91776,9 +92079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 requestBody: required: false content: @@ -91842,9 +92145,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 '404': description: Not Found if the discussion category name is invalid content: @@ -91865,9 +92168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 responses: '204': description: Response @@ -91887,9 +92190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *318 - *319 - - *574 + - *320 + - *575 - *17 - *19 responses: @@ -91899,7 +92202,7 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: default: value: @@ -91980,9 +92283,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: - - *318 - *319 - - *574 + - *320 + - *575 - name: name in: query required: true @@ -92008,7 +92311,7 @@ paths: description: Response for successful upload content: application/json: - schema: *570 + schema: *571 examples: response-for-successful-upload: value: @@ -92063,9 +92366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 - 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. @@ -92089,9 +92392,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -92112,9 +92415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 requestBody: required: true content: @@ -92144,16 +92447,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -92175,10 +92478,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - *319 - - *574 - - *516 + - *320 + - *575 + - *517 responses: '204': description: Response @@ -92202,9 +92505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 - *17 - *19 responses: @@ -92220,8 +92523,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *280 - - &575 + - *281 + - &576 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92240,69 +92543,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *281 - - *575 - allOf: - *282 - - *575 + - *576 - allOf: - *283 - - *575 - - allOf: - *576 - - *575 - allOf: - *284 - - *575 + - *576 + - allOf: + - *577 + - *576 - allOf: - *285 - - *575 + - *576 - allOf: - *286 - - *575 + - *576 - allOf: - *287 - - *575 + - *576 - allOf: - *288 - - *575 + - *576 - allOf: - *289 - - *575 + - *576 - allOf: - *290 - - *575 + - *576 - allOf: - *291 - - *575 + - *576 - allOf: - *292 - - *575 + - *576 - allOf: - *293 - - *575 + - *576 - allOf: - *294 - - *575 + - *576 - allOf: - *295 - - *575 + - *576 - allOf: - *296 - - *575 + - *576 - allOf: - *297 - - *575 + - *576 - allOf: - *298 - - *575 + - *576 - allOf: - *299 - - *575 + - *576 - allOf: - *300 - - *575 + - *576 + - allOf: + - *301 + - *576 examples: default: value: @@ -92341,8 +92644,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - *17 - *19 - name: includes_parents @@ -92353,7 +92656,7 @@ paths: schema: type: boolean default: true - - *577 + - *578 responses: '200': description: Response @@ -92361,7 +92664,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: value: @@ -92408,8 +92711,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 requestBody: description: Request body required: true @@ -92429,16 +92732,16 @@ paths: - tag - push default: branch - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *275 + items: *279 + conditions: *276 rules: type: array description: An array of rules within the ruleset. - items: *578 + items: *579 required: - name - enforcement @@ -92469,9 +92772,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &588 + default: &589 value: id: 42 name: super cool ruleset @@ -92519,12 +92822,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - *319 - - *579 + - *320 - *580 - *581 - *582 + - *583 - *17 - *19 responses: @@ -92532,9 +92835,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *584 + default: *585 '404': *6 '500': *107 x-github: @@ -92555,17 +92858,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - *319 - - *585 + - *320 + - *586 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '404': *6 '500': *107 x-github: @@ -92593,8 +92896,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92614,9 +92917,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *588 + default: *589 '404': *6 '500': *107 put: @@ -92634,8 +92937,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92660,16 +92963,16 @@ paths: - branch - tag - push - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *275 + items: *279 + conditions: *276 rules: description: An array of rules within the ruleset. type: array - items: *578 + items: *579 examples: default: value: @@ -92697,9 +93000,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *588 + default: *589 '404': *6 '422': *15 '500': *107 @@ -92718,8 +93021,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92742,8 +93045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *318 - *319 + - *320 - *17 - *19 - name: ruleset_id @@ -92759,9 +93062,9 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: - default: *589 + default: *590 '404': *6 '500': *107 x-github: @@ -92780,8 +93083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92799,7 +93102,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -92854,22 +93157,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *318 - *319 - - *591 + - *320 - *592 - *593 - *594 - *595 + - *596 - *53 - *19 - *17 - - *596 - *597 - *598 - *599 - *600 - *601 + - *602 responses: '200': description: Response @@ -92877,7 +93180,7 @@ paths: application/json: schema: type: array - items: &605 + items: &606 type: object properties: number: *166 @@ -92893,8 +93196,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *602 - resolution: *603 + state: *603 + resolution: *604 resolved_at: type: - string @@ -92988,7 +93291,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *604 + - *605 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -93133,16 +93436,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 - - *601 + - *320 + - *416 + - *602 responses: '200': description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -93196,9 +93499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: true content: @@ -93206,8 +93509,8 @@ paths: schema: type: object properties: - state: *602 - resolution: *603 + state: *603 + resolution: *604 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93243,7 +93546,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -93338,9 +93641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 - *19 - *17 responses: @@ -93378,7 +93681,6 @@ paths: - commit details: oneOf: - - *606 - *607 - *608 - *609 @@ -93391,6 +93693,7 @@ paths: - *616 - *617 - *618 + - *619 examples: default: value: @@ -93476,8 +93779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -93485,14 +93788,14 @@ paths: schema: type: object properties: - reason: &620 + reason: &621 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *619 + placeholder_id: *620 required: - reason - placeholder_id @@ -93509,7 +93812,7 @@ paths: schema: type: object properties: - reason: *620 + reason: *621 expire_at: type: - string @@ -93556,8 +93859,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: - - *318 - *319 + - *320 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93572,7 +93875,7 @@ paths: properties: incremental_scans: type: array - items: &621 + items: &622 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93600,15 +93903,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *621 + items: *622 backfill_scans: type: array - items: *621 + items: *622 custom_pattern_backfill_scans: type: array items: allOf: - - *621 + - *622 - type: object properties: pattern_name: @@ -93678,8 +93981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - *319 + - *320 - *53 - name: sort description: The property to sort the results by. @@ -93723,9 +94026,9 @@ paths: application/json: schema: type: array - items: *622 + items: *623 examples: - default: *623 + default: *624 '400': *14 '404': *6 x-github: @@ -93748,8 +94051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -93829,7 +94132,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 required: - login - type @@ -93919,9 +94222,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: &625 + default: &626 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94154,8 +94457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -94268,7 +94571,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: default: value: @@ -94415,17 +94718,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *318 - *319 - - *624 + - *320 + - *625 responses: '200': description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: *625 + default: *626 '403': *27 '404': *6 x-github: @@ -94449,9 +94752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *318 - *319 - - *624 + - *320 + - *625 requestBody: required: true content: @@ -94531,7 +94834,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 required: - login - type @@ -94622,10 +94925,10 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: *625 - add_credit: *625 + default: *626 + add_credit: *626 '403': *27 '404': *6 '422': @@ -94663,9 +94966,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: - - *318 - *319 - - *624 + - *320 + - *625 responses: '202': *37 '400': *14 @@ -94692,17 +94995,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *318 - *319 - - *624 + - *320 + - *625 responses: '202': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 '400': *14 '422': *15 '403': *27 @@ -94728,8 +95031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -94825,8 +95128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94835,7 +95138,7 @@ paths: application/json: schema: type: array - items: &626 + items: &627 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94868,8 +95171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -94947,8 +95250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -95042,8 +95345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - *319 + - *320 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95197,8 +95500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *318 - *319 + - *320 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95208,7 +95511,7 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: default: value: @@ -95241,8 +95544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *318 - *319 + - *320 - name: sha in: path required: true @@ -95298,7 +95601,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: default: value: @@ -95352,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -95385,14 +95688,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *318 - *319 + - *320 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &628 + schema: &629 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95465,8 +95768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -95492,7 +95795,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -95519,8 +95822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -95540,8 +95843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -95623,8 +95926,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - *319 + - *320 - name: ref in: path required: true @@ -95660,8 +95963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -95673,7 +95976,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 headers: Link: *59 '404': *6 @@ -95693,8 +95996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *318 - *319 + - *320 - *19 - *17 responses: @@ -95702,7 +96005,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95714,7 +96017,7 @@ paths: required: - names examples: - default: &630 + default: &631 value: names: - octocat @@ -95737,8 +96040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -95769,9 +96072,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '422': *7 x-github: @@ -95792,9 +96095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *318 - *319 - - &631 + - *320 + - &632 name: per description: The time frame to display results for. in: query @@ -95825,7 +96128,7 @@ paths: - 128 clones: type: array - items: &632 + items: &633 title: Traffic type: object properties: @@ -95912,8 +96215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -96007,8 +96310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -96071,9 +96374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *318 - *319 - - *631 + - *320 + - *632 responses: '200': description: Response @@ -96094,7 +96397,7 @@ paths: - 3782 views: type: array - items: *632 + items: *633 required: - uniques - count @@ -96171,8 +96474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -96446,8 +96749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96470,8 +96773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -96493,8 +96796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -96520,8 +96823,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - *319 + - *320 - name: ref in: path required: true @@ -96613,9 +96916,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96763,7 +97066,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *137 - - *519 + - *520 requestBody: required: true content: @@ -96829,9 +97132,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *522 + items: *523 examples: - default: *633 + default: *634 '400': *14 '403': *27 '404': *6 @@ -96868,7 +97171,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *137 - - *519 + - *520 requestBody: required: true content: @@ -96935,9 +97238,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *522 + items: *523 examples: - default: *633 + default: *634 '400': *14 '403': *27 '404': *6 @@ -96969,8 +97272,8 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *137 - - *519 - - *222 + - *520 + - *223 responses: '204': description: Issue field value deleted successfully @@ -97110,7 +97413,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &634 + text_matches: &635 title: Search Result Text Matches type: array items: @@ -97273,7 +97576,7 @@ paths: enum: - author-date - committer-date - - &635 + - &636 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 @@ -97342,7 +97645,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 comment_count: type: integer message: @@ -97361,7 +97664,7 @@ paths: url: type: string format: uri - verification: *499 + verification: *500 required: - author - committer @@ -97376,7 +97679,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 parents: type: array items: @@ -97393,7 +97696,7 @@ paths: type: number node_id: type: string - text_matches: *634 + text_matches: *635 required: - sha - node_id @@ -97585,7 +97888,7 @@ paths: - interactions - created - updated - - *635 + - *636 - *17 - *19 - name: advanced_search @@ -97682,11 +97985,11 @@ paths: type: - string - 'null' - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: type: string state_reason: @@ -97696,7 +97999,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 comments: type: integer created_at: @@ -97710,7 +98013,7 @@ paths: - string - 'null' format: date-time - text_matches: *634 + text_matches: *635 pull_request: type: object properties: @@ -97759,7 +98062,7 @@ paths: timeline_url: type: string format: uri - type: *223 + type: *224 performed_via_github_app: anyOf: - type: 'null' @@ -97936,7 +98239,7 @@ paths: enum: - created - updated - - *635 + - *636 - *17 - *19 responses: @@ -97981,7 +98284,7 @@ paths: - 'null' score: type: number - text_matches: *634 + text_matches: *635 required: - id - node_id @@ -98066,7 +98369,7 @@ paths: - forks - help-wanted-issues - updated - - *635 + - *636 - *17 - *19 responses: @@ -98314,7 +98617,7 @@ paths: - admin - pull - push - text_matches: *634 + text_matches: *635 temp_clone_token: type: string allow_merge_commit: @@ -98622,7 +98925,7 @@ paths: - string - 'null' format: uri - text_matches: *634 + text_matches: *635 related: type: - array @@ -98815,7 +99118,7 @@ paths: - followers - repositories - joined - - *635 + - *636 - *17 - *19 responses: @@ -98925,7 +99228,7 @@ paths: type: - boolean - 'null' - text_matches: *634 + text_matches: *635 blog: type: - string @@ -99007,7 +99310,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &638 + - &639 name: team_id description: The unique identifier of the team. in: path @@ -99019,9 +99322,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -99048,7 +99351,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *638 + - *639 requestBody: required: true content: @@ -99112,16 +99415,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '201': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': *15 '403': *27 @@ -99149,7 +99452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *638 + - *639 responses: '204': description: Response @@ -99178,7 +99481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -99188,9 +99491,9 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 x-github: @@ -99216,7 +99519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *638 + - *639 - name: role description: Filters members returned by their role in the team. in: query @@ -99267,7 +99570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99304,7 +99607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99344,7 +99647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99381,16 +99684,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 responses: '200': description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-user-is-a-team-maintainer: *639 + response-if-user-is-a-team-maintainer: *640 '404': *6 x-github: githubCloudOnly: false @@ -99423,7 +99726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 requestBody: required: false @@ -99449,9 +99752,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-users-membership-with-team-is-now-pending: *640 + response-if-users-membership-with-team-is-now-pending: *641 '403': description: Forbidden if team synchronization is set up '422': @@ -99485,7 +99788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -99513,7 +99816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -99525,7 +99828,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 '404': *6 @@ -99555,15 +99858,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *641 + schema: *642 examples: alternative-response-with-extra-repository-information: value: @@ -99714,9 +100017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 requestBody: required: false content: @@ -99766,9 +100069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 responses: '204': description: Response @@ -99793,7 +100096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -99805,7 +100108,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: *642 + response-if-child-teams-exist: *643 headers: Link: *59 '404': *6 @@ -99838,7 +100141,7 @@ paths: application/json: schema: oneOf: - - &643 + - &644 title: Private User description: Private User type: object @@ -100422,7 +100725,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -100625,9 +100928,9 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 '304': *35 '500': *107 '401': *23 @@ -100766,17 +101069,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -100820,7 +101123,7 @@ paths: type: integer secrets: type: array - items: &644 + items: &645 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -100862,7 +101165,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *441 headers: Link: *59 x-github: @@ -100940,7 +101243,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: default: value: @@ -101086,7 +101389,7 @@ paths: type: array items: *148 examples: - default: *645 + default: *184 '401': *23 '403': *27 '404': *6 @@ -101230,15 +101533,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '304': *35 '500': *107 '401': *23 @@ -101264,7 +101567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 requestBody: required: false content: @@ -101294,9 +101597,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -101318,7 +101621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '202': *37 '304': *35 @@ -101347,7 +101650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '202': description: Response @@ -101438,7 +101741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *230 + - *231 - name: export_id in: path required: true @@ -101474,7 +101777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *230 + - *231 responses: '200': description: Response @@ -101490,7 +101793,7 @@ paths: type: integer machines: type: array - items: *439 + items: *440 examples: default: *648 '304': *35 @@ -101521,7 +101824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *230 + - *231 requestBody: required: true content: @@ -101577,11 +101880,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *322 machine: anyOf: - type: 'null' - - *439 + - *440 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -102378,15 +102681,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '304': *35 '500': *107 '400': *14 @@ -102418,15 +102721,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '500': *107 '401': *23 '403': *27 @@ -102456,7 +102759,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: &659 value: @@ -103570,12 +103873,12 @@ paths: application/json: schema: anyOf: - - *215 + - *216 - type: object properties: {} additionalProperties: false examples: - default: *216 + default: *217 '204': description: Response when there are no restrictions x-github: @@ -103599,7 +103902,7 @@ paths: required: true content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -103610,7 +103913,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -103691,7 +103994,7 @@ paths: - closed - all default: open - - *226 + - *227 - name: sort description: What to sort results by. in: query @@ -103716,7 +104019,7 @@ paths: type: array items: *75 examples: - default: *227 + default: *228 headers: Link: *59 '404': *6 @@ -103887,7 +104190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *540 + - *541 responses: '200': description: Response @@ -103918,7 +104221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *540 + - *541 responses: '204': description: Response @@ -104134,7 +104437,7 @@ paths: application/json: schema: type: array - items: *232 + items: *233 examples: default: value: @@ -104248,7 +104551,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: default: value: @@ -104335,7 +104638,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: default: value: @@ -104407,7 +104710,7 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: default: value: @@ -104669,7 +104972,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -104849,7 +105152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *235 + - *236 - name: exclude in: query required: false @@ -104862,7 +105165,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -105056,7 +105359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *235 + - *236 responses: '302': description: Response @@ -105082,7 +105385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *235 + - *236 responses: '204': description: Response @@ -105111,7 +105414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *235 + - *236 - *657 responses: '204': @@ -105136,7 +105439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *235 + - *236 - *17 - *19 responses: @@ -105235,7 +105538,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *659 '400': *660 @@ -105258,14 +105561,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: default: &679 value: @@ -105380,8 +105683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 responses: '204': description: Response @@ -105411,8 +105714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 - name: token description: package token schema: @@ -105444,8 +105747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *242 - *243 + - *244 - *19 - *17 - name: state @@ -105465,7 +105768,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -105514,15 +105817,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -105558,9 +105861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '204': description: Response @@ -105590,9 +105893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '204': description: Response @@ -106062,9 +106365,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106103,7 +106406,7 @@ paths: application/json: schema: type: array - items: *512 + items: *513 examples: default: *662 headers: @@ -106128,7 +106431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *219 + - *220 responses: '204': description: Response @@ -106152,7 +106455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *219 + - *220 responses: '204': description: Response @@ -106723,8 +107026,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: - - *318 - *319 + - *320 responses: '204': description: Response if this repository is starred by you @@ -106752,8 +107055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -106777,8 +107080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -106813,7 +107116,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 '304': *35 @@ -106850,7 +107153,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: value: @@ -106936,7 +107239,7 @@ paths: application/json: schema: oneOf: - - *643 + - *644 - *669 examples: default-response: &673 @@ -107038,7 +107341,7 @@ paths: required: true schema: type: string - - *258 + - *259 requestBody: required: true description: Details of the draft item to create in the project. @@ -107072,9 +107375,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - draft_issue: *264 + draft_issue: *265 '304': *35 '403': *27 '401': *23 @@ -107133,7 +107436,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *671 - - *258 + - *259 requestBody: required: true content: @@ -107211,13 +107514,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *268 + value: *269 board_view: summary: Response for creating a board view with filter - value: *268 + value: *269 roadmap_view: summary: Response for creating a roadmap view - value: *268 + value: *269 '304': *35 '403': *27 '401': *23 @@ -107259,7 +107562,7 @@ paths: application/json: schema: oneOf: - - *643 + - *644 - *669 examples: default-response: *673 @@ -107543,7 +107846,7 @@ paths: initiator: type: string examples: - default: *379 + default: *380 '201': description: Response content: @@ -107582,7 +107885,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *659 '403': *27 @@ -108074,7 +108377,7 @@ paths: application/json: schema: *20 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108210,7 +108513,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *659 '403': *27 @@ -108235,15 +108538,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: default: *679 x-github: @@ -108266,8 +108569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '204': @@ -108300,8 +108603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 - name: token description: package token @@ -108334,8 +108637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '200': @@ -108344,7 +108647,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -108402,16 +108705,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -108446,10 +108749,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *242 - *243 + - *244 - *63 - - *245 + - *246 responses: '204': description: Response @@ -108481,10 +108784,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *242 - *243 + - *244 - *63 - - *245 + - *246 responses: '204': description: Response @@ -108525,9 +108828,9 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -108549,16 +108852,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *258 + - *259 - *63 responses: '200': description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -108580,7 +108883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *258 + - *259 - *63 - *17 - *45 @@ -108592,7 +108895,7 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: default: *680 headers: @@ -108616,7 +108919,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *63 - - *258 + - *259 requestBody: required: true content: @@ -108699,7 +109002,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: text_field: *685 number_field: *686 @@ -108726,7 +109029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *258 + - *259 - *690 - *63 responses: @@ -108734,7 +109037,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: *691 headers: @@ -108759,7 +109062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *258 + - *259 - *63 - *45 - *46 @@ -108792,9 +109095,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -108816,7 +109119,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *258 + - *259 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -108886,22 +109189,22 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *264 + value: *265 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *264 + value: *265 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *264 + value: *265 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *264 + value: *265 '304': *35 '403': *27 '401': *23 @@ -108921,9 +109224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *258 + - *259 - *63 - - *267 + - *268 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -108943,9 +109246,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -108966,9 +109269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *258 + - *259 - *63 - - *267 + - *268 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -109041,13 +109344,13 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - text_field: *266 - number_field: *266 - date_field: *266 - single_select_field: *266 - iteration_field: *266 + text_field: *267 + number_field: *267 + date_field: *267 + single_select_field: *267 + iteration_field: *267 '401': *23 '403': *27 '404': *6 @@ -109067,9 +109370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *258 + - *259 - *63 - - *267 + - *268 responses: '204': description: Response @@ -109091,7 +109394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *258 + - *259 - *63 - *692 - name: fields @@ -109119,9 +109422,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -109342,7 +109645,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 x-github: @@ -109840,7 +110143,7 @@ paths: type: array items: *148 examples: - default: *253 + default: *254 headers: Link: *59 x-github: @@ -115615,7 +115918,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115947,7 +116250,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116291,7 +116594,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116650,7 +116953,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116933,7 +117236,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117231,7 +117534,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117552,7 +117855,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118154,7 +118457,7 @@ webhooks: type: string enum: - created - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -118321,7 +118624,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -118401,7 +118704,7 @@ webhooks: type: string enum: - updated - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -118489,11 +118792,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *273 + items: *274 old_property_values: type: array description: The old custom property values for the repository. - items: *273 + items: *274 required: - action - repository @@ -118660,7 +118963,7 @@ webhooks: type: string enum: - assignees_changed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -118744,7 +119047,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -118829,7 +119132,7 @@ webhooks: type: string enum: - auto_reopened - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -118914,7 +119217,7 @@ webhooks: type: string enum: - created - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -118997,7 +119300,7 @@ webhooks: type: string enum: - dismissed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119080,7 +119383,7 @@ webhooks: type: string enum: - fixed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119164,7 +119467,7 @@ webhooks: type: string enum: - reintroduced - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119247,7 +119550,7 @@ webhooks: type: string enum: - reopened - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120773,10 +121076,10 @@ webhooks: deployment: anyOf: - type: 'null' - - *474 + - *475 pull_requests: type: array - items: *558 + items: *559 repository: *703 organization: *702 installation: *701 @@ -128966,7 +129269,7 @@ webhooks: pin: anyOf: - type: 'null' - - *537 + - *538 user: title: User type: @@ -129865,8 +130168,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129883,7 +130186,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -130465,7 +130768,7 @@ webhooks: pin: anyOf: - type: 'null' - - *537 + - *538 required: - url - html_url @@ -131288,8 +131591,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131306,7 +131609,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -132558,8 +132861,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132576,7 +132879,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -133817,8 +134120,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133835,7 +134138,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -135077,8 +135380,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135095,7 +135398,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -136699,11 +137002,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136720,7 +137023,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -137721,11 +138024,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137742,7 +138045,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -138876,11 +139179,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138897,7 +139200,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -139910,11 +140213,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139931,7 +140234,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -141067,11 +141370,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141085,7 +141388,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -142084,11 +142387,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142102,7 +142405,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -143126,11 +143429,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143144,7 +143447,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -144137,11 +144440,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144158,7 +144461,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -145127,11 +145430,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145231,7 +145534,7 @@ webhooks: required: - login - id - type: *223 + type: *224 required: - id - number @@ -146535,11 +146838,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146556,7 +146859,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -147550,11 +147853,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147571,7 +147874,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -148587,11 +148890,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148688,7 +148991,7 @@ webhooks: format: uri user_view_type: type: string - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -149578,11 +149881,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149599,7 +149902,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -150283,7 +150586,7 @@ webhooks: enterprise: *700 installation: *701 issue: *727 - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -151440,11 +151743,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151461,7 +151764,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -151708,7 +152011,7 @@ webhooks: enterprise: *700 installation: *701 issue: *727 - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -153714,7 +154017,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *399 + head_commit: *400 required: - head_sha - head_ref @@ -159505,7 +159808,7 @@ webhooks: - closed installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -159588,7 +159891,7 @@ webhooks: - created installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -159671,7 +159974,7 @@ webhooks: - deleted installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -159794,7 +160097,7 @@ webhooks: type: string installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -159913,7 +160216,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *262 + content_type: *263 creator: *4 created_at: type: string @@ -160668,7 +160971,7 @@ webhooks: - reopened installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -168465,7 +168768,7 @@ webhooks: organization: *702 pull_request: &746 allOf: - - *558 + - *559 - type: object properties: allow_auto_merge: @@ -168694,7 +168997,7 @@ webhooks: enum: - demilestoned enterprise: *700 - milestone: *259 + milestone: *260 number: *745 organization: *702 pull_request: &747 @@ -181037,7 +181340,7 @@ webhooks: enum: - milestoned enterprise: *700 - milestone: *259 + milestone: *260 number: *745 organization: *702 pull_request: *747 @@ -224406,7 +224709,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_advisory: *622 + repository_advisory: *623 sender: *4 required: - action @@ -224486,7 +224789,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_advisory: *622 + repository_advisory: *623 sender: *4 required: - action @@ -225352,7 +225655,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 sender: *4 required: - action @@ -225434,7 +225737,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 sender: *4 required: - action @@ -225516,7 +225819,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 changes: type: object properties: @@ -225535,16 +225838,16 @@ webhooks: properties: added: type: array - items: *275 + items: *276 deleted: type: array - items: *275 + items: *276 updated: type: array items: type: object properties: - condition: *275 + condition: *276 changes: type: object properties: @@ -225577,16 +225880,16 @@ webhooks: properties: added: type: array - items: *578 + items: *579 deleted: type: array - items: *578 + items: *579 updated: type: array items: type: object properties: - rule: *578 + rule: *579 changes: type: object properties: @@ -228188,11 +228491,11 @@ webhooks: from: type: object properties: - security_and_analysis: *274 + security_and_analysis: *275 enterprise: *700 installation: *701 organization: *702 - repository: *321 + repository: *322 sender: *4 required: - changes @@ -233522,7 +233825,7 @@ webhooks: type: string required: - conclusion - deployment: *474 + deployment: *475 required: - action - repository @@ -233886,7 +234189,7 @@ webhooks: required: - status - steps - deployment: *474 + deployment: *475 required: - action - repository @@ -234114,7 +234417,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *474 + deployment: *475 required: - action - repository @@ -234343,7 +234646,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *474 + deployment: *475 required: - action - repository 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 01a64c68e..92deb8009 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 @@ -5807,6 +5807,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -6939,6 +6947,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -7858,6 +7874,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -8328,6 +8352,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -10786,1170 +10818,1186 @@ "write" ] }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": [ - "read" - ] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": [ - "read", - "write" - ] - }, - "email_addresses": { - "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": [ - "read", - "write" - ] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": [ - "read", - "write" - ] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": [ - "write" - ] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", - "enum": [ - "read", - "write", - "admin" - ] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": [ - "all", - "selected" - ] - }, - "single_file_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "config.yaml" - ] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [ - true - ] - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "account": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ] - } - ] - }, - "expires_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - } - }, - "required": [ - "app", - "id", - "note", - "note_url", - "scopes", - "token", - "hashed_token", - "token_last_eight", - "fingerprint", - "url", - "created_at", - "updated_at", - "expires_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo", - "user" - ], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "Iv1.8a61f9b3a7aba766" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678", - "expires_at": "2011-09-08T17:26:27Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - } - } - }, - "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" - } - } - ] - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "apps", - "subcategory": "oauth-applications" - } - }, - "patch": { - "summary": "Reset a token", - "description": "OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.", - "tags": [ - "apps" - ], - "operationId": "apps/reset-token", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/apps/oauth-applications#reset-a-token" - }, - "parameters": [ - { - "name": "client_id", - "in": "path", - "required": true, - "description": "The client ID of the GitHub app.", - "schema": { - "type": "string" - }, - "examples": { - "default": { - "value": "Iv1.8a61f9b3a7aba766" - } - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "access_token": { - "description": "The access_token of the OAuth or GitHub application.", - "type": "string" - } - }, - "required": [ - "access_token" - ], - "type": "object" - }, - "examples": { - "default": { - "value": { - "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Authorization", - "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "url": { - "type": "string", - "format": "uri" - }, - "scopes": { - "description": "A list of scopes that this authorization is in.", - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "token": { - "type": "string" - }, - "token_last_eight": { - "type": [ - "string", - "null" - ] - }, - "hashed_token": { - "type": [ - "string", - "null" - ] - }, - "app": { - "type": "object", - "properties": { - "client_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "client_id", - "name", - "url" - ] - }, - "note": { - "type": [ - "string", - "null" - ] - }, - "note_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "fingerprint": { - "type": [ - "string", - "null" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "installation": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Scoped Installation", - "type": "object", - "properties": { - "permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": [ - "read", - "write" - ] - }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, - "attestations": { - "type": "string", - "description": "The level of permission to create and retrieve the access token for repository attestations.", - "enum": [ - "read", - "write" - ] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": [ - "read", - "write" - ] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": [ - "read", - "write" - ] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": [ - "read", - "write" - ] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - "discussions": { - "type": "string", - "description": "The level of permission to grant the access token for discussions and related comments and labels.", - "enum": [ - "read", - "write" - ] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - "issues": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "single_file_name": { + "type": [ + "string", + "null" + ], + "examples": [ + "config.yaml" + ] + }, + "has_multiple_single_files": { + "type": "boolean", + "examples": [ + true + ] + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "account": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ] + } + ] + }, + "expires_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "app", + "id", + "note", + "note_url", + "scopes", + "token", + "hashed_token", + "token_last_eight", + "fingerprint", + "url", + "created_at", + "updated_at", + "expires_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "url": "https://api.github.com/authorizations/1", + "scopes": [ + "public_repo", + "user" + ], + "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", + "token_last_eight": "Ae178B4a", + "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "app": { + "url": "http://my-github-app.com", + "name": "my github app", + "client_id": "Iv1.8a61f9b3a7aba766" + }, + "note": "optional note", + "note_url": "http://optional/note/url", + "updated_at": "2011-09-06T20:39:23Z", + "created_at": "2011-09-06T17:26:27Z", + "fingerprint": "jklmnop12345678", + "expires_at": "2011-09-08T17:26:27Z", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "apps", + "subcategory": "oauth-applications" + } + }, + "patch": { + "summary": "Reset a token", + "description": "OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return `404 NOT FOUND`.", + "tags": [ + "apps" + ], + "operationId": "apps/reset-token", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/apps/oauth-applications#reset-a-token" + }, + "parameters": [ + { + "name": "client_id", + "in": "path", + "required": true, + "description": "The client ID of the GitHub app.", + "schema": { + "type": "string" + }, + "examples": { + "default": { + "value": "Iv1.8a61f9b3a7aba766" + } + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "properties": { + "access_token": { + "description": "The access_token of the OAuth or GitHub application.", + "type": "string" + } + }, + "required": [ + "access_token" + ], + "type": "object" + }, + "examples": { + "default": { + "value": { + "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Authorization", + "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "url": { + "type": "string", + "format": "uri" + }, + "scopes": { + "description": "A list of scopes that this authorization is in.", + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "type": [ + "string", + "null" + ] + }, + "hashed_token": { + "type": [ + "string", + "null" + ] + }, + "app": { + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "client_id", + "name", + "url" + ] + }, + "note": { + "type": [ + "string", + "null" + ] + }, + "note_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "fingerprint": { + "type": [ + "string", + "null" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "installation": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Scoped Installation", + "type": "object", + "properties": { + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "artifact_metadata": { + "type": "string", + "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", + "enum": [ + "read", + "write" + ] + }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "enum": [ "read", "write" ] }, - "merge_queues": { - "type": "string", - "description": "The level of permission to grant the access token to manage the merge queues for a repository.", - "enum": [ - "read", - "write" - ] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": [ - "read", - "write" - ] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": [ - "read", - "write" - ] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": [ - "read", - "write" - ] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": [ - "read", - "write" - ] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - "custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": [ - "write" - ] - }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -12978,6 +13026,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13709,6 +13765,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -126897,8 +126961,2475 @@ } } }, - "401": { - "description": "Requires authentication", + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-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", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-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": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "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", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "has_commit_comments": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_has_downloads", + "patch": { + "properties": { + "has_downloads": null + } + }, + "version": "2026-03-10" + } + ] + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "template_repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "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": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -126923,8 +129454,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -126949,8 +129480,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -126976,26 +129507,98 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "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": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -127006,71 +129609,49 @@ "schema": { "type": "string" } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } } } }, - "500": { - "description": "Internal Error", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -127095,8 +129676,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -127121,8 +129702,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -127147,8 +129728,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -127172,16 +129753,13 @@ } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } } }, @@ -152004,6 +154582,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -153151,6 +155737,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -428965,6 +431559,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -715071,6 +717673,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -810422,6 +813032,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1045192,6 +1047810,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1048348,6 +1050974,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1051409,6 +1054043,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1054470,6 +1057112,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1057665,6 +1060315,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1060867,6 +1063525,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1066113,6 +1068779,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", 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 716f9cd7e..2de6a1ebc 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 @@ -929,7 +929,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &308 type: string description: The type of credit the user is receiving. enum: @@ -1122,7 +1122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &624 + - &625 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1707,7 +1707,7 @@ paths: schema: type: integer default: 30 - - &198 + - &199 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1723,7 +1723,7 @@ paths: application/json: schema: type: array - items: &199 + items: &200 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1819,7 +1819,7 @@ paths: - installation_id - repository_id examples: - default: &200 + default: &201 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1954,7 +1954,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &202 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2089,7 +2089,7 @@ paths: - request - response examples: - default: &202 + default: &203 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2627,6 +2627,14 @@ paths: This property is in public preview and is subject to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access + token to view and manage Copilot coding agent settings + for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access @@ -9456,7 +9464,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &184 + - &185 name: state in: query description: |- @@ -9465,7 +9473,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &185 + - &186 name: severity in: query description: |- @@ -9474,7 +9482,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &186 + - &187 name: ecosystem in: query description: |- @@ -9483,14 +9491,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &187 + - &188 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &188 + - &189 name: epss_percentage in: query description: |- @@ -9502,7 +9510,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &464 + - &465 name: has in: query description: |- @@ -9516,7 +9524,7 @@ paths: type: string enum: - patch - - &189 + - &190 name: assignee in: query description: |- @@ -9525,7 +9533,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &190 + - &191 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9535,7 +9543,7 @@ paths: enum: - development - runtime - - &191 + - &192 name: sort in: query description: |- @@ -9561,7 +9569,7 @@ paths: application/json: schema: type: array - items: &192 + items: &193 type: object description: A Dependabot alert. properties: @@ -9631,7 +9639,7 @@ paths: - direct - transitive - - security_advisory: &465 + security_advisory: &466 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9918,7 +9926,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &466 + auto_dismissed_at: &467 type: - string - 'null' @@ -9926,7 +9934,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &467 + dismissal_request: &468 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9989,7 +9997,7 @@ paths: - repository additionalProperties: false examples: - default: &193 + default: &194 value: - number: 2 state: dismissed @@ -11854,7 +11862,7 @@ paths: milestone: anyOf: - type: 'null' - - &259 + - &260 title: Milestone description: A collection of related issues and pull requests. @@ -12026,7 +12034,7 @@ paths: timeline_url: type: string format: uri - type: &223 + type: &224 title: Issue Type description: The type of issue. type: @@ -12137,7 +12145,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &636 + sub_issues_summary: &637 title: Sub-issues Summary type: object properties: @@ -12221,7 +12229,7 @@ paths: pin: anyOf: - type: 'null' - - &537 + - &538 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -12248,7 +12256,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &637 + issue_dependencies_summary: &638 title: Issue Dependencies Summary type: object properties: @@ -12267,7 +12275,7 @@ paths: - total_blocking issue_field_values: type: array - items: &522 + items: &523 title: Issue Field Value description: A value assigned to an issue field type: object @@ -13093,7 +13101,7 @@ paths: type: string release: allOf: - - &569 + - &570 title: Release description: A release. type: object @@ -13175,7 +13183,7 @@ paths: author: *4 assets: type: array - items: &570 + items: &571 title: Release Asset description: Data related to a release. type: object @@ -13807,7 +13815,7 @@ paths: url: type: string format: uri - user: &643 + user: &644 title: Public User description: Public User type: object @@ -15712,7 +15720,7 @@ paths: - closed - all default: open - - &226 + - &227 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15763,7 +15771,7 @@ paths: type: array items: *75 examples: - default: &227 + default: &228 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17175,14 +17183,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &318 + - &319 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &320 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17244,7 +17252,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &323 description: Moved permanently content: application/json: @@ -17266,7 +17274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &545 + - &546 name: all description: If `true`, show notifications marked as read. in: query @@ -17274,7 +17282,7 @@ paths: schema: type: boolean default: false - - &546 + - &547 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17284,7 +17292,7 @@ paths: type: boolean default: false - *80 - - &547 + - &548 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: @@ -17668,7 +17676,7 @@ paths: type: boolean examples: - false - security_and_analysis: &274 + security_and_analysis: &275 type: - object - 'null' @@ -17878,7 +17886,7 @@ paths: - url - subscription_url examples: - default: &548 + default: &549 value: - id: '1' repository: @@ -20721,7 +20729,7 @@ paths: type: integer repository_cache_usages: type: array - items: &329 + items: &330 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -22073,7 +22081,7 @@ paths: - all - local_only - selected - selected_actions_url: &335 + selected_actions_url: &336 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` @@ -22156,7 +22164,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &340 type: object properties: days: @@ -22198,7 +22206,7 @@ paths: required: true content: application/json: - schema: &340 + schema: &341 type: object properties: days: @@ -22255,7 +22263,7 @@ paths: required: - approval_policy examples: - default: &341 + default: &342 value: approval_policy: first_time_contributors '404': *6 @@ -22314,7 +22322,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 type: object required: - run_workflows_from_fork_pull_requests @@ -22368,7 +22376,7 @@ paths: required: true content: application/json: - schema: &343 + schema: &344 type: object required: - run_workflows_from_fork_pull_requests @@ -23003,7 +23011,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &345 type: object properties: default_workflow_permissions: &141 @@ -23054,7 +23062,7 @@ paths: required: false content: application/json: - schema: &345 + schema: &346 type: object properties: default_workflow_permissions: *141 @@ -23547,7 +23555,7 @@ paths: type: array items: *148 examples: - default: &646 + default: &184 value: total_count: 1 repositories: @@ -24194,7 +24202,7 @@ paths: application/json: schema: type: array - items: &346 + items: &347 title: Runner Application description: Runner Application type: object @@ -24219,7 +24227,7 @@ paths: - download_url - filename examples: - default: &347 + default: &348 value: - os: osx architecture: x64 @@ -24305,7 +24313,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &348 + '201': &349 description: Response content: application/json: @@ -24420,7 +24428,7 @@ paths: - token - expires_at examples: - default: &349 + default: &350 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -24459,7 +24467,7 @@ paths: application/json: schema: *152 examples: - default: &350 + default: &351 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -24493,7 +24501,7 @@ paths: application/json: schema: *150 examples: - default: &351 + default: &352 value: id: 23 name: MBP @@ -24719,7 +24727,7 @@ paths: - *67 - *149 responses: - '200': &352 + '200': &353 description: Response content: application/json: @@ -24776,7 +24784,7 @@ paths: parameters: - *67 - *149 - - &353 + - &354 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24908,7 +24916,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &366 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24943,7 +24951,7 @@ paths: - key_id - key examples: - default: &366 + default: &367 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25356,7 +25364,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *67 - - &334 + - &335 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)." @@ -26961,7 +26969,7 @@ paths: initiator: type: string examples: - default: &379 + default: &380 value: attestations: - bundle: @@ -27328,7 +27336,7 @@ paths: parent: anyOf: - type: 'null' - - &238 + - &239 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27931,7 +27939,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *67 - - &403 + - &404 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`, @@ -27941,7 +27949,7 @@ paths: schema: &173 type: string description: The name of the tool used to generate the code scanning analysis. - - &404 + - &405 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 @@ -27965,7 +27973,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &407 type: string description: State of a code scanning alert. enum: @@ -27988,7 +27996,7 @@ paths: be returned. in: query required: false - schema: &407 + schema: &408 type: string description: Severity of a code scanning alert. enum: @@ -28022,7 +28030,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: &408 + instances_url: &409 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -28044,7 +28052,7 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: &409 + dismissed_reason: &410 type: - string - 'null' @@ -28055,14 +28063,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &410 + dismissed_comment: &411 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &411 + rule: &412 type: object properties: id: @@ -28123,7 +28131,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &412 + tool: &413 type: object properties: name: *173 @@ -28134,26 +28142,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *174 - most_recent_instance: &413 + most_recent_instance: &414 type: object properties: - ref: &405 + ref: &406 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &423 + analysis_key: &424 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &424 + environment: &425 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &425 + category: &426 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -28167,7 +28175,7 @@ paths: properties: text: type: string - location: &426 + location: &427 type: object description: Describe a region within a file for the alert. properties: @@ -28188,7 +28196,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &427 + items: &428 type: - string - 'null' @@ -29478,7 +29486,7 @@ paths: type: integer codespaces: type: array - items: &228 + items: &229 type: object title: Codespace description: A codespace. @@ -29513,7 +29521,7 @@ paths: machine: anyOf: - type: 'null' - - &439 + - &440 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29800,7 +29808,7 @@ paths: - pulls_url - recent_folders examples: - default: &229 + default: &230 value: total_count: 3 codespaces: @@ -30465,7 +30473,7 @@ paths: - updated_at - visibility examples: - default: &440 + default: &441 value: total_count: 2 secrets: @@ -30503,7 +30511,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &442 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30538,7 +30546,7 @@ paths: - key_id - key examples: - default: &442 + default: &443 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30570,7 +30578,7 @@ paths: application/json: schema: *182 examples: - default: &444 + default: &445 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31037,7 +31045,7 @@ paths: currently being billed. seats: type: array - items: &231 + items: &232 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -31512,6 +31520,301 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - *67 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': *107 + '401': *23 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - *67 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *148 + required: + - total_count + - repositories + examples: + default: *184 + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *137 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *67 + - *137 + responses: + '204': + description: No Content + '500': *107 + '401': *23 + '403': *27 + '404': *6 + '409': *52 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -31713,7 +32016,7 @@ paths: application/json: schema: type: array - items: &311 + items: &312 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -32028,7 +32331,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &313 value: - date: '2024-06-24' total_active_users: 24 @@ -32130,7 +32433,7 @@ paths: '500': *107 '403': *27 '404': *6 - '422': &313 + '422': &314 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -32158,11 +32461,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *67 - - *184 - *185 - *186 - *187 - *188 + - *189 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -32192,7 +32495,7 @@ paths: enum: - patch - deployment - - *189 + - *190 - name: runtime_risk in: query description: |- @@ -32201,8 +32504,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *190 - *191 + - *192 - *53 - *45 - *46 @@ -32214,9 +32517,9 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: - default: *193 + default: *194 '304': *35 '400': *14 '403': *27 @@ -32260,7 +32563,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &195 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32339,7 +32642,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32358,7 +32661,7 @@ paths: - key_id - key examples: - default: &471 + default: &472 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32388,7 +32691,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *195 examples: default: value: @@ -32695,7 +32998,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Package description: A software package type: object @@ -32766,7 +33069,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &242 value: - id: 197 name: hello_docker @@ -32936,7 +33239,7 @@ paths: application/json: schema: type: array - items: &217 + items: &218 title: Organization Invitation description: Organization Invitation type: object @@ -32990,7 +33293,7 @@ paths: - invitation_teams_url - node_id examples: - default: &218 + default: &219 value: - id: 1 login: monalisa @@ -33057,7 +33360,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Org Hook description: Org Hook type: object @@ -33242,9 +33545,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &196 + default: &197 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33292,7 +33595,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *67 - - &197 + - &198 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -33305,9 +33608,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -33335,7 +33638,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *67 - - *197 + - *198 requestBody: required: false content: @@ -33381,7 +33684,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -33423,7 +33726,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *67 - - *197 + - *198 responses: '204': description: Response @@ -33451,7 +33754,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *67 - - *197 + - *198 responses: '200': description: Response @@ -33482,7 +33785,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *67 - - *197 + - *198 requestBody: required: false content: @@ -33533,9 +33836,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *67 - - *197 - - *17 - *198 + - *17 + - *199 responses: '200': description: Response @@ -33543,9 +33846,9 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: - default: *200 + default: *201 '400': *14 '422': *15 x-github: @@ -33571,16 +33874,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *67 - - *197 + - *198 - *16 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 '400': *14 '422': *15 x-github: @@ -33606,7 +33909,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *67 - - *197 + - *198 - *16 responses: '202': *37 @@ -33636,7 +33939,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *67 - - *197 + - *198 responses: '204': description: Response @@ -33659,7 +33962,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *67 - - &207 + - &208 name: actor_type in: path description: The type of the actor @@ -33672,14 +33975,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &208 + - &209 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &203 + - &204 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -33687,7 +33990,7 @@ paths: required: true schema: type: string - - &204 + - &205 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -33782,12 +34085,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *67 - - *203 - *204 + - *205 - *19 - *17 - *53 - - &213 + - &214 name: sort description: The property to sort the results by. in: query @@ -33866,14 +34169,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *67 - - *203 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: &205 + schema: &206 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33889,7 +34192,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &207 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33910,23 +34213,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *67 - - &209 + - &210 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *203 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *206 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -33945,18 +34248,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *67 - - *203 - *204 - - *207 + - *205 - *208 + - *209 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *206 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -33974,9 +34277,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *67 - - *203 - *204 - - &210 + - *205 + - &211 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33989,7 +34292,7 @@ paths: description: Response content: application/json: - schema: &211 + schema: &212 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34005,7 +34308,7 @@ paths: type: integer format: int64 examples: - default: &212 + default: &213 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34042,18 +34345,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *67 - - *209 - - *203 - - *204 - *210 + - *204 + - *205 + - *211 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 x-github: enabledForGitHubApps: true category: orgs @@ -34071,19 +34374,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *67 - - *207 - *208 - - *203 + - *209 - *204 - - *210 + - *205 + - *211 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 x-github: enabledForGitHubApps: true category: orgs @@ -34101,13 +34404,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *67 - - *209 - - *203 + - *210 - *204 + - *205 - *19 - *17 - *53 - - *213 + - *214 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34191,7 +34494,7 @@ paths: application/json: schema: *20 examples: - default: &509 + default: &510 value: id: 1 account: @@ -34357,12 +34660,12 @@ paths: application/json: schema: anyOf: - - &215 + - &216 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &214 + limit: &215 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34390,7 +34693,7 @@ paths: properties: {} additionalProperties: false examples: - default: &216 + default: &217 value: limit: collaborators_only origin: organization @@ -34419,13 +34722,13 @@ paths: required: true content: application/json: - schema: &510 + schema: &511 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *214 + limit: *215 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34450,9 +34753,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *216 + default: *217 '422': *15 x-github: githubCloudOnly: false @@ -34528,9 +34831,9 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 '404': *6 @@ -34607,7 +34910,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -34662,7 +34965,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *67 - - &219 + - &220 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34693,7 +34996,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *67 - - *219 + - *220 - *17 - *19 responses: @@ -34705,7 +35008,7 @@ paths: type: array items: *183 examples: - default: &239 + default: &240 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34748,7 +35051,7 @@ paths: application/json: schema: type: array - items: &220 + items: &221 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34991,9 +35294,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: &221 + default: &222 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -35049,7 +35352,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *67 - - &222 + - &223 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -35150,9 +35453,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *221 + default: *222 '404': *6 '422': *7 x-github: @@ -35177,7 +35480,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *67 - - *222 + - *223 responses: '204': *179 '404': *6 @@ -35207,7 +35510,7 @@ paths: application/json: schema: type: array - items: *223 + items: *224 examples: default: value: @@ -35295,9 +35598,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: &224 + default: &225 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35330,7 +35633,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *67 - - &225 + - &226 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35386,9 +35689,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '404': *6 '422': *7 x-github: @@ -35413,7 +35716,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *67 - - *225 + - *226 responses: '204': description: Response @@ -35476,7 +35779,7 @@ paths: - closed - all default: open - - *226 + - *227 - name: type description: Can be the name of an issue type. in: query @@ -35507,7 +35810,7 @@ paths: type: array items: *75 examples: - default: *227 + default: *228 headers: Link: *59 '404': *6 @@ -35672,9 +35975,9 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 '304': *35 '500': *107 '401': *23 @@ -35701,7 +36004,7 @@ paths: parameters: - *67 - *63 - - &230 + - &231 name: codespace_name in: path required: true @@ -35736,15 +36039,15 @@ paths: parameters: - *67 - *63 - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &438 + default: &439 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35924,7 +36227,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *231 + schema: *232 examples: default: value: @@ -36000,7 +36303,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &233 title: Org Membership description: Org Membership type: object @@ -36069,7 +36372,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &233 + response-if-user-has-an-active-admin-membership-with-organization: &234 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36170,9 +36473,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - response-if-user-already-had-membership-with-organization: *233 + response-if-user-already-had-membership-with-organization: *234 '422': *15 '403': *27 x-github: @@ -36250,7 +36553,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Migration description: A migration. type: object @@ -36599,7 +36902,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -36778,7 +37081,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *67 - - &235 + - &236 name: migration_id description: The unique identifier of the migration. in: path @@ -36806,7 +37109,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -36976,7 +37279,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *67 - - *235 + - *236 responses: '302': description: Response @@ -36998,7 +37301,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *67 - - *235 + - *236 responses: '204': description: Response @@ -37022,7 +37325,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *67 - - *235 + - *236 - &658 name: repo_name description: repo_name parameter @@ -37051,7 +37354,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *67 - - *235 + - *236 - *17 - *19 responses: @@ -37063,7 +37366,7 @@ paths: type: array items: *148 examples: - default: &246 + default: &247 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37236,7 +37539,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &237 + items: &238 title: Organization Role description: Organization roles type: object @@ -37413,7 +37716,7 @@ paths: parameters: - *67 - *69 - - &236 + - &237 name: role_id description: The unique identifier of the role. in: path @@ -37450,7 +37753,7 @@ paths: parameters: - *67 - *69 - - *236 + - *237 responses: '204': description: Response @@ -37503,7 +37806,7 @@ paths: parameters: - *67 - *63 - - *236 + - *237 responses: '204': description: Response @@ -37535,7 +37838,7 @@ paths: parameters: - *67 - *63 - - *236 + - *237 responses: '204': description: Response @@ -37564,13 +37867,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *67 - - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -37621,7 +37924,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *67 - - *236 + - *237 - *17 - *19 responses: @@ -37700,7 +38003,7 @@ paths: parent: anyOf: - type: 'null' - - *238 + - *239 type: description: The ownership type of the team type: string @@ -37733,7 +38036,7 @@ paths: - type - parent examples: - default: *239 + default: *240 headers: Link: *59 '404': @@ -37763,7 +38066,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *67 - - *236 + - *237 - *17 - *19 responses: @@ -37792,7 +38095,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *238 + items: *239 name: type: - string @@ -38138,9 +38441,9 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '403': *27 '401': *23 '400': &661 @@ -38165,7 +38468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &242 + - &243 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38183,7 +38486,7 @@ paths: - docker - nuget - container - - &243 + - &244 name: package_name description: The name of the package. in: path @@ -38196,7 +38499,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: value: @@ -38248,8 +38551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *242 - *243 + - *244 - *67 responses: '204': @@ -38282,8 +38585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - name: token description: package token @@ -38316,8 +38619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *242 - *243 + - *244 - *67 - *19 - *17 @@ -38338,7 +38641,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Package Version description: A version of a software package type: object @@ -38473,10 +38776,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - &245 + - &246 name: package_version_id description: Unique identifier of the package version. in: path @@ -38488,7 +38791,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -38524,10 +38827,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - *245 + - *246 responses: '204': description: Response @@ -38559,10 +38862,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *242 - *243 + - *244 - *67 - - *245 + - *246 responses: '204': description: Response @@ -38592,7 +38895,7 @@ paths: - *67 - *17 - *19 - - &247 + - &248 name: sort description: The property by which to sort the results. in: query @@ -38603,7 +38906,7 @@ paths: - created_at default: created_at - *53 - - &248 + - &249 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38615,7 +38918,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &249 + - &250 name: repository description: The name of the repository to use to filter the results. in: query @@ -38624,7 +38927,7 @@ paths: type: string examples: - Hello-World - - &250 + - &251 name: permission description: The permission to use to filter the results. in: query @@ -38633,7 +38936,7 @@ paths: type: string examples: - issues_read - - &251 + - &252 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38643,7 +38946,7 @@ paths: schema: type: string format: date-time - - &252 + - &253 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38653,7 +38956,7 @@ paths: schema: type: string format: date-time - - &253 + - &254 name: token_id description: The ID of the token in: query @@ -38972,7 +39275,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -38998,14 +39301,14 @@ paths: - *67 - *17 - *19 - - *247 - - *53 - *248 + - *53 - *249 - *250 - *251 - *252 - *253 + - *254 responses: '500': *107 '422': *15 @@ -39289,7 +39592,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -39331,7 +39634,7 @@ paths: type: integer configurations: type: array - items: &254 + items: &255 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39627,7 +39930,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &255 + org-private-registry-with-selected-visibility: &256 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39725,9 +40028,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *254 + schema: *255 examples: - default: *255 + default: *256 '404': *6 x-github: githubCloudOnly: false @@ -39895,7 +40198,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Projects v2 Project description: A projects v2 project type: object @@ -40054,7 +40357,7 @@ paths: - deleted_at - deleted_by examples: - default: &257 + default: &258 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -40157,7 +40460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &258 + - &259 name: project_number description: The project's number. in: path @@ -40170,9 +40473,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -40195,7 +40498,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true description: Details of the draft item to create in the project. @@ -40229,7 +40532,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &264 title: Projects v2 Item description: An item belonging to a project type: object @@ -40243,7 +40546,7 @@ paths: content: oneOf: - *75 - - &453 + - &454 title: Pull Request Simple description: Pull Request Simple type: object @@ -40363,7 +40666,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 active_lock_reason: type: - string @@ -40456,7 +40759,7 @@ paths: _links: type: object properties: - comments: &260 + comments: &261 title: Link description: Hypermedia Link type: object @@ -40465,13 +40768,13 @@ paths: type: string required: - href - commits: *260 - statuses: *260 - html: *260 - issue: *260 - review_comments: *260 - review_comment: *260 - self: *260 + commits: *261 + statuses: *261 + html: *261 + issue: *261 + review_comments: *261 + review_comment: *261 + self: *261 required: - comments - commits @@ -40482,7 +40785,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &555 + auto_merge: &556 title: Auto merge description: The status of auto merging a pull request. type: @@ -40656,7 +40959,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &262 + content_type: &263 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -40700,7 +41003,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &264 + draft_issue: &265 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -40774,7 +41077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *258 + - *259 - *67 - *17 - *45 @@ -40786,7 +41089,7 @@ paths: application/json: schema: type: array - items: &261 + items: &262 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -41069,7 +41372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *258 + - *259 - *67 requestBody: required: true @@ -41254,7 +41557,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *261 + schema: *262 examples: text_field: &685 value: @@ -41362,7 +41665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *258 + - *259 - &690 name: field_id description: The unique identifier of the field. @@ -41376,7 +41679,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: &691 value: @@ -41434,7 +41737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *258 + - *259 - *67 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -41467,7 +41770,7 @@ paths: application/json: schema: type: array - items: &265 + items: &266 title: Projects v2 Item description: An item belonging to a project type: object @@ -41484,7 +41787,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *262 + content_type: *263 content: type: - object @@ -41534,7 +41837,7 @@ paths: - updated_at - archived_at examples: - default: &266 + default: &267 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -42232,7 +42535,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -42302,22 +42605,22 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *264 + value: *265 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *264 + value: *265 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *264 + value: *265 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *264 + value: *265 '304': *35 '403': *27 '401': *23 @@ -42337,9 +42640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *258 + - *259 - *67 - - &267 + - &268 name: item_id description: The unique identifier of the project item. in: path @@ -42365,9 +42668,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -42388,9 +42691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *258 + - *259 - *67 - - *267 + - *268 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -42463,13 +42766,13 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - text_field: *266 - number_field: *266 - date_field: *266 - single_select_field: *266 - iteration_field: *266 + text_field: *267 + number_field: *267 + date_field: *267 + single_select_field: *267 + iteration_field: *267 '401': *23 '403': *27 '404': *6 @@ -42489,9 +42792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *258 + - *259 - *67 - - *267 + - *268 responses: '204': description: Response @@ -42515,7 +42818,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *67 - - *258 + - *259 requestBody: required: true content: @@ -42693,7 +42996,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &268 + value: &269 value: id: 1 number: 1 @@ -42739,10 +43042,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *268 + value: *269 roadmap_view: summary: Response for creating a roadmap view - value: *268 + value: *269 '304': *35 '403': *27 '401': *23 @@ -42770,7 +43073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *258 + - *259 - *67 - &692 name: view_number @@ -42804,9 +43107,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -42839,7 +43142,7 @@ paths: application/json: schema: type: array - items: &269 + items: &270 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -42917,7 +43220,7 @@ paths: - property_name - value_type examples: - default: &270 + default: &271 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -42977,7 +43280,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *269 + items: *270 minItems: 1 maxItems: 100 required: @@ -43007,9 +43310,9 @@ paths: application/json: schema: type: array - items: *269 + items: *270 examples: - default: *270 + default: *271 '403': *27 '404': *6 x-github: @@ -43031,7 +43334,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *67 - - &271 + - &272 name: custom_property_name description: The custom property name in: path @@ -43043,9 +43346,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: &272 + default: &273 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43080,7 +43383,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *67 - - *271 + - *272 requestBody: required: true content: @@ -43160,9 +43463,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *272 + default: *273 '403': *27 '404': *6 x-github: @@ -43186,7 +43489,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *67 - - *271 + - *272 responses: '204': *179 '403': *27 @@ -43250,7 +43553,7 @@ paths: - octocat/Hello-World properties: type: array - items: &273 + items: &274 title: Custom Property Value description: Custom property name and associated value type: object @@ -43340,7 +43643,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *273 + items: *274 required: - repository_names - properties @@ -43532,7 +43835,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -43735,7 +44038,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Repository description: Full Repository type: object @@ -44217,7 +44520,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &458 + code_of_conduct: &459 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -44247,7 +44550,7 @@ paths: - key - name - html_url - security_and_analysis: *274 + security_and_analysis: *275 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -44342,7 +44645,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &323 + default: &324 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44869,7 +45172,7 @@ paths: - *67 - *17 - *19 - - &577 + - &578 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44888,7 +45191,7 @@ paths: application/json: schema: type: array - items: &301 + items: &302 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -44923,7 +45226,7 @@ paths: source: type: string description: The name of the source - enforcement: &277 + enforcement: &278 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -44936,7 +45239,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &278 + items: &279 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -45007,7 +45310,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &275 + - &276 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -45031,7 +45334,7 @@ paths: match. items: type: string - - &279 + - &280 title: Organization ruleset conditions type: object description: |- @@ -45045,7 +45348,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -45079,7 +45382,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -45101,7 +45404,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *275 + - *276 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -45114,7 +45417,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &276 + items: &277 title: Repository ruleset property targeting definition type: object @@ -45147,7 +45450,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *276 + items: *277 required: - repository_property type: @@ -45155,12 +45458,12 @@ paths: - object rules: type: array - items: &578 + items: &579 title: Repository Rule type: object description: A repository rule. oneOf: - - &280 + - &281 title: creation description: Only allow users with bypass permission to create matching refs. @@ -45172,7 +45475,7 @@ paths: type: string enum: - creation - - &281 + - &282 title: update description: Only allow users with bypass permission to update matching refs. @@ -45193,7 +45496,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &282 + - &283 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -45205,7 +45508,7 @@ paths: type: string enum: - deletion - - &283 + - &284 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -45217,7 +45520,7 @@ paths: type: string enum: - required_linear_history - - &576 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -45295,7 +45598,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &284 + - &285 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -45319,7 +45622,7 @@ paths: type: string required: - required_deployment_environments - - &285 + - &286 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -45331,7 +45634,7 @@ paths: type: string enum: - required_signatures - - &286 + - &287 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -45437,7 +45740,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &287 + - &288 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -45485,7 +45788,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &288 + - &289 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -45497,7 +45800,7 @@ paths: type: string enum: - non_fast_forward - - &289 + - &290 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -45534,7 +45837,7 @@ paths: required: - operator - pattern - - &290 + - &291 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -45571,7 +45874,7 @@ paths: required: - operator - pattern - - &291 + - &292 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -45608,7 +45911,7 @@ paths: required: - operator - pattern - - &292 + - &293 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -45645,7 +45948,7 @@ paths: required: - operator - pattern - - &293 + - &294 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -45682,7 +45985,7 @@ paths: required: - operator - pattern - - &294 + - &295 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -45707,7 +46010,7 @@ paths: type: string required: - restricted_file_paths - - &295 + - &296 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -45731,7 +46034,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &296 + - &297 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -45754,7 +46057,7 @@ paths: type: string required: - restricted_file_extensions - - &297 + - &298 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -45779,7 +46082,7 @@ paths: maximum: 100 required: - max_file_size - - &298 + - &299 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -45829,7 +46132,7 @@ paths: - repository_id required: - workflows - - &299 + - &300 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -45890,7 +46193,7 @@ paths: - tool required: - code_scanning_tools - - &300 + - &301 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -45989,21 +46292,20 @@ paths: - push - repository default: branch - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *279 + items: *279 + conditions: *280 rules: type: array description: An array of rules within the ruleset. - items: &303 + items: &304 title: Repository Rule type: object description: A repository rule. oneOf: - - *280 - *281 - *282 - *283 @@ -46024,6 +46326,7 @@ paths: - *298 - *299 - *300 + - *301 required: - name - enforcement @@ -46061,9 +46364,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 21 name: super cool ruleset @@ -46119,7 +46422,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *67 - - &579 + - &580 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 @@ -46134,7 +46437,7 @@ paths: in: query schema: type: string - - &580 + - &581 name: time_period description: |- The time period to filter by. @@ -46150,14 +46453,14 @@ paths: - week - month default: day - - &581 + - &582 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 - - &582 + - &583 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -46177,7 +46480,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &584 title: Rule Suites description: Response type: array @@ -46233,7 +46536,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &584 + default: &585 value: - id: 21 actor_id: 12 @@ -46277,7 +46580,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *67 - - &585 + - &586 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -46293,7 +46596,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &587 title: Rule Suite description: Response type: object @@ -46400,7 +46703,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &587 + default: &588 value: id: 21 actor_id: 12 @@ -46473,9 +46776,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '404': *6 '500': *107 put: @@ -46519,16 +46822,16 @@ paths: - tag - push - repository - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *279 + items: *279 + conditions: *280 rules: description: An array of rules within the ruleset. type: array - items: *303 + items: *304 examples: default: value: @@ -46563,9 +46866,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 '404': *6 '422': *15 '500': *107 @@ -46623,7 +46926,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Ruleset version type: object description: The historical version of a ruleset @@ -46647,7 +46950,7 @@ paths: type: string format: date-time examples: - default: &589 + default: &590 value: - version_id: 3 actor: @@ -46700,9 +47003,9 @@ paths: description: Response content: application/json: - schema: &590 + schema: &591 allOf: - - *304 + - *305 - type: object required: - state @@ -46772,7 +47075,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *67 - - &591 + - &592 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -46783,7 +47086,7 @@ paths: enum: - open - resolved - - &592 + - &593 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -46793,7 +47096,7 @@ paths: required: false schema: type: string - - &593 + - &594 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -46802,7 +47105,7 @@ paths: required: false schema: type: string - - &594 + - &595 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -46821,7 +47124,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &595 + - &596 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. @@ -46836,7 +47139,7 @@ paths: - *53 - *19 - *17 - - &596 + - &597 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 @@ -46846,7 +47149,7 @@ paths: required: false schema: type: string - - &597 + - &598 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 @@ -46856,7 +47159,7 @@ paths: required: false schema: type: string - - &598 + - &599 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -46865,7 +47168,7 @@ paths: required: false schema: type: string - - &599 + - &600 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -46874,7 +47177,7 @@ paths: schema: type: boolean default: false - - &600 + - &601 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -46883,7 +47186,7 @@ paths: schema: type: boolean default: false - - &601 + - &602 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -46915,14 +47218,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &602 + state: &603 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: &603 + resolution: &604 type: - string - 'null' @@ -47029,14 +47332,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &604 + - &605 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &606 + - &607 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -47093,7 +47396,7 @@ paths: - blob_url - commit_sha - commit_url - - &607 + - &608 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -47154,7 +47457,7 @@ paths: - page_url - commit_sha - commit_url - - &608 + - &609 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -47169,7 +47472,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &609 + - &610 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -47184,7 +47487,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &610 + - &611 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -47199,7 +47502,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &611 + - &612 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -47214,7 +47517,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &612 + - &613 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -47229,7 +47532,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &613 + - &614 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -47244,7 +47547,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &614 + - &615 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -47259,7 +47562,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &615 + - &616 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -47274,7 +47577,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &616 + - &617 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -47289,7 +47592,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &617 + - &618 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -47304,7 +47607,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &618 + - &619 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -47544,7 +47847,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &307 type: - string - 'null' @@ -47554,7 +47857,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &306 type: object properties: token_type: @@ -47623,7 +47926,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *306 examples: default: value: @@ -47680,7 +47983,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *307 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -47706,7 +48009,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *307 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -47804,7 +48107,7 @@ paths: application/json: schema: type: array - items: &622 + items: &623 description: A repository security advisory. type: object properties: @@ -48048,7 +48351,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 credits_detailed: type: - array @@ -48059,7 +48362,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *308 state: type: string description: The state of the user's acceptance of the @@ -48155,7 +48458,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &623 + default: &624 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -48542,7 +48845,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: value: @@ -48897,7 +49200,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &309 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -49037,9 +49340,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: &309 + default: &310 value: id: 123456789ABCDEF name: My network configuration @@ -49068,7 +49371,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - &310 + - &311 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -49080,9 +49383,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 headers: Link: *59 x-github: @@ -49104,7 +49407,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - *310 + - *311 requestBody: required: true content: @@ -49144,9 +49447,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49166,7 +49469,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *67 - - *310 + - *311 responses: '204': description: Response @@ -49311,13 +49614,13 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: - default: *312 + default: *313 '500': *107 '403': *27 '404': *6 - '422': *313 + '422': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49359,7 +49662,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 headers: Link: *59 '403': *27 @@ -49453,7 +49756,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -49527,7 +49830,7 @@ paths: parent: anyOf: - type: 'null' - - *238 + - *239 members_count: type: integer examples: @@ -49852,7 +50155,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &316 value: id: 1 node_id: MDQ6VGVhbTE= @@ -49940,9 +50243,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -50027,16 +50330,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '201': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': *15 '403': *27 @@ -50066,7 +50369,7 @@ paths: responses: '204': description: Response - '422': &316 + '422': &317 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -50100,12 +50403,12 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 - '422': *316 + '422': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50187,7 +50490,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: Team Membership description: Team Membership type: object @@ -50215,7 +50518,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &639 + response-if-user-is-a-team-maintainer: &640 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -50278,9 +50581,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-users-membership-with-team-is-now-pending: &640 + response-if-users-membership-with-team-is-now-pending: &641 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -50356,7 +50659,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -50387,14 +50690,14 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &641 + schema: &642 title: Team Repository description: A team's access to a repository. type: object @@ -51116,8 +51419,8 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 requestBody: required: false content: @@ -51164,8 +51467,8 @@ paths: parameters: - *67 - *69 - - *318 - *319 + - *320 responses: '204': description: Response @@ -51202,7 +51505,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: &642 + response-if-child-teams-exist: &643 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -51356,7 +51659,7 @@ paths: resources: type: object properties: - core: &320 + core: &321 title: Rate Limit type: object properties: @@ -51373,21 +51676,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *321 + search: *321 + code_search: *321 + source_import: *321 + integration_manifest: *321 + code_scanning_upload: *321 + actions_runner_registration: *321 + scim: *321 + dependency_snapshots: *321 + dependency_sbom: *321 + code_scanning_autofix: *321 required: - core - search - rate: *320 + rate: *321 required: - rate - resources @@ -51500,14 +51803,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default-response: summary: Default response @@ -52012,7 +52315,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52030,8 +52333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -52323,10 +52626,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 - '307': &324 + default: *324 + '307': &325 description: Temporary Redirect content: application/json: @@ -52355,8 +52658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -52378,7 +52681,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *325 '404': *6 '409': *52 x-github: @@ -52402,11 +52705,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 - - &357 + - &358 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52429,7 +52732,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &326 title: Artifact description: An artifact type: object @@ -52524,7 +52827,7 @@ paths: - expires_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 artifacts: @@ -52585,9 +52888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *318 - *319 - - &326 + - *320 + - &327 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52599,7 +52902,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -52637,9 +52940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *318 - *319 - - *326 + - *320 + - *327 responses: '204': description: Response @@ -52663,9 +52966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *318 - *319 - - *326 + - *320 + - *327 - name: archive_format in: path required: true @@ -52679,7 +52982,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': &513 + '410': &514 description: Gone content: application/json: @@ -52704,14 +53007,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &327 + schema: &328 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -52745,13 +53048,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *327 + schema: *328 examples: selected_actions: *40 responses: @@ -52780,14 +53083,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &328 + schema: &329 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -52821,13 +53124,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *328 + schema: *329 examples: selected_actions: *42 responses: @@ -52858,14 +53161,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -52891,11 +53194,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 - - &330 + - &331 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 @@ -52929,7 +53232,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Repository actions caches description: Repository actions caches type: object @@ -52979,7 +53282,7 @@ paths: - total_count - actions_caches examples: - default: &332 + default: &333 value: total_count: 1 actions_caches: @@ -53011,23 +53314,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: - - *318 - *319 + - *320 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53047,8 +53350,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: - - *318 - *319 + - *320 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -53079,9 +53382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *318 - *319 - - &333 + - *320 + - &334 name: job_id description: The unique identifier of the job. in: path @@ -53093,7 +53396,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 title: Job description: Information of a job execution in a workflow run type: object @@ -53440,9 +53743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *318 - *319 - - *333 + - *320 + - *334 responses: '302': description: Response @@ -53470,9 +53773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *318 - *319 - - *333 + - *320 + - *334 requestBody: required: false content: @@ -53518,8 +53821,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: - - *318 - *319 + - *320 responses: '200': description: Status response @@ -53569,8 +53872,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -53633,8 +53936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -53652,7 +53955,7 @@ paths: type: integer secrets: type: array - items: &363 + items: &364 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53673,7 +53976,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 secrets: @@ -53706,9 +54009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *318 - *319 - - *334 + - *320 + - *335 - *19 responses: '200': @@ -53725,7 +54028,7 @@ paths: type: integer variables: type: array - items: &367 + items: &368 title: Actions Variable type: object properties: @@ -53759,7 +54062,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &369 value: total_count: 2 variables: @@ -53792,8 +54095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -53802,11 +54105,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &337 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *133 - selected_actions_url: *335 + selected_actions_url: *336 sha_pinning_required: *134 required: - enabled @@ -53835,8 +54138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -53847,7 +54150,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *337 allowed_actions: *133 sha_pinning_required: *134 required: @@ -53879,14 +54182,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: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: access_level: @@ -53903,7 +54206,7 @@ paths: required: - access_level examples: - default: &338 + default: &339 value: access_level: organization x-github: @@ -53927,15 +54230,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: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 responses: '204': description: Response @@ -53959,14 +54262,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *339 + schema: *340 examples: default: value: @@ -53990,8 +54293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Empty response for successful settings update @@ -54001,7 +54304,7 @@ paths: required: true content: application/json: - schema: *340 + schema: *341 examples: default: summary: Set retention days @@ -54025,8 +54328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -54034,7 +54337,7 @@ paths: application/json: schema: *135 examples: - default: *341 + default: *342 '404': *6 x-github: enabledForGitHubApps: true @@ -54053,8 +54356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -54088,14 +54391,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default: *136 '403': *27 @@ -54117,13 +54420,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: default: *136 responses: @@ -54149,8 +54452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -54177,8 +54480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -54210,14 +54513,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *344 + schema: *345 examples: default: *143 x-github: @@ -54240,8 +54543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Success response @@ -54252,7 +54555,7 @@ paths: required: true content: application/json: - schema: *345 + schema: *346 examples: default: *143 x-github: @@ -54281,8 +54584,8 @@ paths: in: query schema: type: string - - *318 - *319 + - *320 - *17 - *19 responses: @@ -54326,8 +54629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -54335,9 +54638,9 @@ paths: application/json: schema: type: array - items: *346 + items: *347 examples: - default: *347 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54359,8 +54662,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -54403,7 +54706,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *348 + '201': *349 '404': *6 '422': *7 '409': *52 @@ -54434,8 +54737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -54443,7 +54746,7 @@ paths: application/json: schema: *152 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54471,8 +54774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -54480,7 +54783,7 @@ paths: application/json: schema: *152 examples: - default: *350 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54502,8 +54805,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: - - *318 - *319 + - *320 - *149 responses: '200': @@ -54512,7 +54815,7 @@ paths: application/json: schema: *150 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54533,8 +54836,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: - - *318 - *319 + - *320 - *149 responses: '204': @@ -54561,8 +54864,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: - - *318 - *319 + - *320 - *149 responses: '200': *154 @@ -54587,8 +54890,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: - - *318 - *319 + - *320 - *149 requestBody: required: true @@ -54637,8 +54940,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: - - *318 - *319 + - *320 - *149 requestBody: required: true @@ -54688,11 +54991,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: - - *318 - *319 + - *320 - *149 responses: - '200': *352 + '200': *353 '404': *6 x-github: githubCloudOnly: false @@ -54719,10 +55022,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: - - *318 - *319 + - *320 - *149 - - *353 + - *354 responses: '200': *154 '404': *6 @@ -54750,9 +55053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *318 - *319 - - &371 + - *320 + - &372 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. @@ -54760,7 +55063,7 @@ paths: required: false schema: type: string - - &372 + - &373 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54768,7 +55071,7 @@ paths: required: false schema: type: string - - &373 + - &374 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54777,7 +55080,7 @@ paths: required: false schema: type: string - - &374 + - &375 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 @@ -54804,7 +55107,7 @@ paths: - pending - *17 - *19 - - &375 + - &376 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)." @@ -54813,7 +55116,7 @@ paths: schema: type: string format: date-time - - &354 + - &355 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54822,13 +55125,13 @@ paths: schema: type: boolean default: false - - &376 + - &377 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &377 + - &378 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54851,7 +55154,7 @@ paths: type: integer workflow_runs: type: array - items: &355 + items: &356 title: Workflow Run description: An invocation of a workflow type: object @@ -55029,7 +55332,7 @@ paths: head_commit: anyOf: - type: 'null' - - &399 + - &400 title: Simple Commit description: A commit. type: object @@ -55144,7 +55447,7 @@ paths: - workflow_url - pull_requests examples: - default: &378 + default: &379 value: total_count: 1 workflow_runs: @@ -55380,24 +55683,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - *319 - - &356 + - *320 + - &357 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &359 + default: &360 value: id: 30433642 name: Build @@ -55638,9 +55941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '204': description: Response @@ -55663,9 +55966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -55793,9 +56096,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: - - *318 - *319 - - *356 + - *320 + - *357 responses: '201': description: Response @@ -55828,12 +56131,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - *319 - - *356 + - *320 + - *357 - *17 - *19 - - *357 + - *358 - *53 responses: '200': @@ -55850,9 +56153,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *326 examples: - default: *358 + default: *359 headers: Link: *59 x-github: @@ -55876,25 +56179,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - *319 - - *356 - - &360 + - *320 + - *357 + - &361 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55917,10 +56220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *318 - *319 - - *356 - - *360 + - *320 + - *357 + - *361 - *17 - *19 responses: @@ -55938,9 +56241,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *362 examples: - default: &362 + default: &363 value: total_count: 1 jobs: @@ -56053,10 +56356,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - *319 - - *356 - - *360 + - *320 + - *357 + - *361 responses: '302': description: Response @@ -56084,9 +56387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '202': description: Response @@ -56119,9 +56422,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: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: true content: @@ -56188,9 +56491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '202': description: Response @@ -56223,9 +56526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 - 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 @@ -56255,9 +56558,9 @@ paths: type: integer jobs: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *59 x-github: @@ -56282,9 +56585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '302': description: Response @@ -56311,9 +56614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '204': description: Response @@ -56340,9 +56643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -56411,7 +56714,7 @@ paths: items: type: object properties: - type: &479 + type: &480 type: string description: The type of reviewer. enum: @@ -56497,9 +56800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: true content: @@ -56549,7 +56852,7 @@ paths: application/json: schema: type: array - items: &474 + items: &475 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56661,7 +56964,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56717,9 +57020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: false content: @@ -56764,9 +57067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *318 - *319 - - *356 + - *320 + - *357 requestBody: required: false content: @@ -56820,9 +57123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - *319 - - *356 + - *320 + - *357 responses: '200': description: Response @@ -56959,8 +57262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -56978,9 +57281,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -57005,16 +57308,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57036,17 +57339,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: &492 + default: &493 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -57072,8 +57375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -57131,8 +57434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -57158,9 +57461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *318 - *319 - - *334 + - *320 + - *335 - *19 responses: '200': @@ -57177,9 +57480,9 @@ paths: type: integer variables: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -57202,8 +57505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -57255,17 +57558,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &493 + default: &494 value: name: USERNAME value: octocat @@ -57291,8 +57594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 requestBody: required: true @@ -57335,8 +57638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *318 - *319 + - *320 - *159 responses: '204': @@ -57362,8 +57665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -57381,7 +57684,7 @@ paths: type: integer workflows: type: array - items: &369 + items: &370 title: Workflow description: A GitHub Actions workflow type: object @@ -57499,9 +57802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *318 - *319 - - &370 + - *320 + - &371 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57516,7 +57819,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -57549,9 +57852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Response @@ -57576,9 +57879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -57673,9 +57976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '204': description: Response @@ -57702,19 +58005,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *318 - *319 - - *370 + - *320 - *371 - *372 - *373 - *374 + - *375 - *17 - *19 - - *375 - - *354 - *376 + - *355 - *377 + - *378 responses: '200': description: Response @@ -57730,9 +58033,9 @@ paths: type: integer workflow_runs: type: array - items: *355 + items: *356 examples: - default: *378 + default: *379 headers: Link: *59 x-github: @@ -57764,9 +58067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *318 - *319 - - *370 + - *320 + - *371 responses: '200': description: Response @@ -57827,8 +58130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *318 - *319 + - *320 - *53 - *17 - *45 @@ -57996,8 +58299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -58034,8 +58337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *318 - *319 + - *320 - name: assignee in: path required: true @@ -58071,8 +58374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -58184,8 +58487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *318 - *319 + - *320 - *17 - *45 - *46 @@ -58242,7 +58545,7 @@ paths: initiator: type: string examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58276,8 +58579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -58285,7 +58588,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Autolink reference description: An autolink reference. type: object @@ -58344,8 +58647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -58384,9 +58687,9 @@ paths: description: response content: application/json: - schema: *380 + schema: *381 examples: - default: &381 + default: &382 value: id: 1 key_prefix: TICKET- @@ -58417,9 +58720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *318 - *319 - - &382 + - *320 + - &383 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58431,9 +58734,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *381 + default: *382 '404': *6 x-github: githubCloudOnly: false @@ -58453,9 +58756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *318 - *319 - - *382 + - *320 + - *383 responses: '204': description: Response @@ -58479,8 +58782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response if Dependabot is enabled @@ -58530,8 +58833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -58552,8 +58855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -58573,8 +58876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *318 - *319 + - *320 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58612,7 +58915,7 @@ paths: - url protected: type: boolean - protection: &384 + protection: &385 title: Branch Protection description: Branch Protection type: object @@ -58655,7 +58958,7 @@ paths: required: - contexts - checks - enforce_admins: &387 + enforce_admins: &388 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58672,7 +58975,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &389 + required_pull_request_reviews: &390 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58756,7 +59059,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &386 + restrictions: &387 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -59049,9 +59352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *318 - *319 - - &385 + - *320 + - &386 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). @@ -59065,14 +59368,14 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &449 + commit: &450 title: Commit description: Commit type: object @@ -59111,7 +59414,7 @@ paths: author: anyOf: - type: 'null' - - &383 + - &384 title: Git User description: Metaproperties for Git author/committer information. @@ -59133,7 +59436,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 message: type: string examples: @@ -59157,7 +59460,7 @@ paths: required: - sha - url - verification: &499 + verification: &500 title: Verification type: object properties: @@ -59237,7 +59540,7 @@ paths: type: integer files: type: array - items: &460 + items: &461 title: Diff Entry description: Diff Entry type: object @@ -59333,7 +59636,7 @@ paths: - self protected: type: boolean - protection: *384 + protection: *385 protection_url: type: string format: uri @@ -59442,7 +59745,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *323 '404': *6 x-github: githubCloudOnly: false @@ -59464,15 +59767,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -59666,9 +59969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -59928,7 +60231,7 @@ paths: url: type: string format: uri - required_status_checks: &392 + required_status_checks: &393 title: Status Check Policy description: Status Check Policy type: object @@ -60087,7 +60390,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *386 + restrictions: *387 required_conversation_resolution: type: object properties: @@ -60199,9 +60502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60226,17 +60529,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -60258,17 +60561,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60287,9 +60590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60314,17 +60617,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &390 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -60420,9 +60723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60520,9 +60823,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *390 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -60543,9 +60846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60572,17 +60875,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &391 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60605,17 +60908,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *391 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -60635,9 +60938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60662,17 +60965,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: &393 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60698,9 +61001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60752,9 +61055,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - default: *393 + default: *394 '404': *6 '422': *15 x-github: @@ -60776,9 +61079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -60802,9 +61105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -60838,9 +61141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60907,9 +61210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -60973,9 +61276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: content: application/json: @@ -61041,15 +61344,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -61140,9 +61443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '204': description: Response @@ -61165,9 +61468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -61177,7 +61480,7 @@ paths: type: array items: *5 examples: - default: &394 + default: &395 value: - id: 1 slug: octoapp @@ -61234,9 +61537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61270,7 +61573,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -61291,9 +61594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61327,7 +61630,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -61348,9 +61651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61384,7 +61687,7 @@ paths: type: array items: *5 examples: - default: *394 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -61406,9 +61709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -61418,7 +61721,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -61438,9 +61741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -61478,7 +61781,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -61499,9 +61802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: false content: @@ -61539,7 +61842,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -61560,9 +61863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: content: application/json: @@ -61599,7 +61902,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 '422': *15 x-github: githubCloudOnly: false @@ -61621,9 +61924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 responses: '200': description: Response @@ -61657,9 +61960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61717,9 +62020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61777,9 +62080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61839,9 +62142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 requestBody: required: true content: @@ -61863,7 +62166,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -61979,8 +62282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -62259,7 +62562,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &397 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62682,9 +62985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *318 - *319 - - &397 + - *320 + - &398 name: check_run_id description: The unique identifier of the check run. in: path @@ -62696,9 +62999,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &398 + default: &399 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62798,9 +63101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *318 - *319 - - *397 + - *320 + - *398 requestBody: required: true content: @@ -63040,9 +63343,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63062,9 +63365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *318 - *319 - - *397 + - *320 + - *398 - *17 - *19 responses: @@ -63174,9 +63477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *318 - *319 - - *397 + - *320 + - *398 responses: '201': description: Response @@ -63220,8 +63523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -63243,7 +63546,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &401 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63341,7 +63644,7 @@ paths: - string - 'null' format: date-time - head_commit: *399 + head_commit: *400 latest_check_runs_count: type: integer check_runs_url: @@ -63369,7 +63672,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &402 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63660,9 +63963,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63681,8 +63984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -63991,9 +64294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *318 - *319 - - &402 + - *320 + - &403 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -64005,9 +64308,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64030,17 +64333,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *318 - *319 - - *402 - - &455 + - *320 + - *403 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &456 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -64079,9 +64382,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *397 examples: - default: &457 + default: &458 value: total_count: 1 check_runs: @@ -64183,9 +64486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - *319 - - *402 + - *320 + - *403 responses: '201': description: Response @@ -64218,21 +64521,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *318 - *319 - - *403 + - *320 - *404 + - *405 - *19 - *17 - - &421 + - &422 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: *405 - - &422 + schema: *406 + - &423 name: pr description: The number of the pull request for the results you want to list. in: query @@ -64257,13 +64560,13 @@ paths: be returned. in: query required: false - schema: *406 + schema: *407 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *407 + schema: *408 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -64287,7 +64590,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: *408 + instances_url: *409 state: *175 fixed_at: *171 dismissed_by: @@ -64295,11 +64598,11 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: *409 - dismissed_comment: *410 - rule: *411 - tool: *412 - most_recent_instance: *413 + dismissed_reason: *410 + dismissed_comment: *411 + rule: *412 + tool: *413 + most_recent_instance: *414 dismissal_approved_by: anyOf: - type: 'null' @@ -64422,7 +64725,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &414 + '403': &415 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -64449,9 +64752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *318 - *319 - - &415 + - *320 + - &416 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64465,7 +64768,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 type: object properties: number: *166 @@ -64473,7 +64776,7 @@ paths: updated_at: *168 url: *169 html_url: *170 - instances_url: *408 + instances_url: *409 state: *175 fixed_at: *171 dismissed_by: @@ -64481,8 +64784,8 @@ paths: - type: 'null' - *4 dismissed_at: *172 - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *410 + dismissed_comment: *411 rule: type: object properties: @@ -64544,8 +64847,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *412 - most_recent_instance: *413 + tool: *413 + most_recent_instance: *414 dismissal_approved_by: anyOf: - type: 'null' @@ -64641,7 +64944,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64661,9 +64964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: true content: @@ -64678,8 +64981,8 @@ paths: enum: - open - dismissed - dismissed_reason: *409 - dismissed_comment: *410 + dismissed_reason: *410 + dismissed_comment: *411 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64707,7 +65010,7 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -64783,7 +65086,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &420 + '403': &421 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64810,15 +65113,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: - - *318 - *319 - - *415 + - *320 + - *416 responses: '200': description: Response content: application/json: - schema: &417 + schema: &418 type: object properties: status: @@ -64845,13 +65148,13 @@ paths: - description - started_at examples: - default: &418 + default: &419 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &419 + '400': &420 description: Bad Request content: application/json: @@ -64862,7 +65165,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': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -64887,29 +65190,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: - - *318 - *319 - - *415 + - *320 + - *416 responses: '200': description: OK content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 '202': description: Accepted content: application/json: - schema: *417 + schema: *418 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *419 + '400': *420 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64941,9 +65244,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: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: false content: @@ -64989,8 +65292,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *419 - '403': *420 + '400': *420 + '403': *421 '404': *6 '422': description: Unprocessable Entity @@ -65014,13 +65317,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 - *19 - *17 - - *421 - *422 + - *423 responses: '200': description: Response @@ -65031,10 +65334,10 @@ paths: items: type: object properties: - ref: *405 - analysis_key: *423 - environment: *424 - category: *425 + ref: *406 + analysis_key: *424 + environment: *425 + category: *426 state: type: - string @@ -65051,7 +65354,7 @@ paths: properties: text: type: string - location: *426 + location: *427 html_url: type: string classifications: @@ -65059,7 +65362,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *427 + items: *428 examples: default: value: @@ -65096,7 +65399,7 @@ paths: end_column: 50 classifications: - source - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65130,25 +65433,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *318 - *319 - - *403 + - *320 - *404 + - *405 - *19 - *17 - - *422 + - *423 - 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: *405 + schema: *406 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &428 + schema: &429 type: string description: An identifier for the upload. examples: @@ -65170,23 +65473,23 @@ paths: application/json: schema: type: array - items: &429 + items: &430 type: object properties: - ref: *405 - commit_sha: &437 + ref: *406 + commit_sha: &438 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: *423 + analysis_key: *424 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *425 + category: *426 error: type: string examples: @@ -65211,8 +65514,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *428 - tool: *412 + sarif_id: *429 + tool: *413 deletable: type: boolean warning: @@ -65274,7 +65577,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65310,8 +65613,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: - - *318 - *319 + - *320 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65324,7 +65627,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: response: summary: application/json response @@ -65378,7 +65681,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *414 + '403': *415 '404': *6 '422': description: Response if analysis could not be processed @@ -65465,8 +65768,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: - - *318 - *319 + - *320 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65522,7 +65825,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': *420 + '403': *421 '404': *6 '503': *108 x-github: @@ -65544,8 +65847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -65553,7 +65856,7 @@ paths: application/json: schema: type: array - items: &430 + items: &431 title: CodeQL Database description: A CodeQL database. type: object @@ -65665,7 +65968,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': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65694,8 +65997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *318 - *319 + - *320 - name: language in: path description: The language of the CodeQL database. @@ -65707,7 +66010,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -65739,9 +66042,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': &462 + '302': &463 description: Found - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -65763,8 +66066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - *319 + - *320 - name: language in: path description: The language of the CodeQL database. @@ -65774,7 +66077,7 @@ paths: responses: '204': description: Response - '403': *420 + '403': *421 '404': *6 '503': *108 x-github: @@ -65802,8 +66105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -65812,7 +66115,7 @@ paths: type: object additionalProperties: false properties: - language: &431 + language: &432 type: string description: The language targeted by the CodeQL query enum: @@ -65892,7 +66195,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &435 + schema: &436 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65902,7 +66205,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *431 + query_language: *432 query_pack_url: type: string description: The download url for the query pack. @@ -65950,7 +66253,7 @@ paths: items: type: object properties: - repository: &432 + repository: &433 title: Repository Identifier description: Repository Identifier type: object @@ -65992,7 +66295,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &436 + analysis_status: &437 type: string description: The new status of the CodeQL variant analysis repository task. @@ -66024,7 +66327,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: &434 type: object properties: repository_count: @@ -66039,7 +66342,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: *433 required: - repository_count - repositories @@ -66062,8 +66365,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *433 - over_limit_repos: *433 + no_codeql_db_repos: *434 + over_limit_repos: *434 required: - access_mismatch_repos - not_found_repos @@ -66079,7 +66382,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &434 + value: &435 summary: Default response value: id: 1 @@ -66225,10 +66528,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *434 + value: *435 repository_lists: summary: Response for a successful variant analysis submission - value: *434 + value: *435 '404': *6 '422': description: Unable to process variant analysis submission @@ -66256,8 +66559,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: - - *318 - *319 + - *320 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -66269,9 +66572,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *434 + default: *435 '404': *6 '503': *108 x-github: @@ -66294,7 +66597,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: - - *318 + - *319 - name: repo in: path description: The name of the controller repository. @@ -66329,7 +66632,7 @@ paths: type: object properties: repository: *58 - analysis_status: *436 + analysis_status: *437 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66454,8 +66757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -66565,7 +66868,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *414 + '403': *415 '404': *6 '503': *108 x-github: @@ -66586,8 +66889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -66681,7 +66984,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *421 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66752,8 +67055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -66761,7 +67064,7 @@ paths: schema: type: object properties: - commit_sha: *437 + commit_sha: *438 ref: type: string description: |- @@ -66821,7 +67124,7 @@ paths: schema: type: object properties: - id: *428 + id: *429 url: type: string description: The REST API URL for checking the status of the upload. @@ -66835,7 +67138,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': *420 + '403': *421 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66858,8 +67161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *318 - *319 + - *320 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66907,7 +67210,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': *414 + '403': *415 '404': description: Not Found if the sarif id does not match any upload '503': *108 @@ -66932,8 +67235,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: - - *318 - *319 + - *320 responses: '200': description: Response @@ -67014,8 +67317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *318 - *319 + - *320 - 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 @@ -67143,8 +67446,8 @@ paths: parameters: - *17 - *19 - - *318 - *319 + - *320 responses: '200': description: Response @@ -67160,7 +67463,7 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: default: value: @@ -67458,8 +67761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -67523,17 +67826,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '400': *14 '401': *23 '403': *27 @@ -67562,8 +67865,8 @@ paths: parameters: - *17 - *19 - - *318 - *319 + - *320 responses: '200': description: Response @@ -67627,8 +67930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *318 - *319 + - *320 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67665,7 +67968,7 @@ paths: type: integer machines: type: array - items: *439 + items: *440 examples: default: &649 value: @@ -67707,8 +68010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - *319 + - *320 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67795,8 +68098,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: - - *318 - *319 + - *320 - 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 @@ -67865,8 +68168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -67884,7 +68187,7 @@ paths: type: integer secrets: type: array - items: &443 + items: &444 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67905,7 +68208,7 @@ paths: - created_at - updated_at examples: - default: *440 + default: *441 headers: Link: *59 x-github: @@ -67928,16 +68231,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *441 + schema: *442 examples: - default: *442 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67957,17 +68260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67987,8 +68290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -68041,8 +68344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -68071,8 +68374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - *319 + - *320 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -68110,7 +68413,7 @@ paths: application/json: schema: type: array - items: &445 + items: &446 title: Collaborator description: Collaborator type: object @@ -68303,8 +68606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 responses: '204': @@ -68351,8 +68654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 requestBody: required: false @@ -68379,7 +68682,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &512 + schema: &513 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68607,8 +68910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - *319 + - *320 - *63 responses: '204': @@ -68640,8 +68943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - *319 + - *320 - *63 responses: '200': @@ -68662,7 +68965,7 @@ paths: user: anyOf: - type: 'null' - - *445 + - *446 required: - permission - role_name @@ -68716,8 +69019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -68727,7 +69030,7 @@ paths: application/json: schema: type: array - items: &446 + items: &447 title: Commit Comment description: Commit Comment type: object @@ -68785,7 +69088,7 @@ paths: - created_at - updated_at examples: - default: &451 + 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 @@ -68844,17 +69147,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: &452 + default: &453 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68911,8 +69214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -68935,7 +69238,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -68986,8 +69289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -69009,8 +69312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69037,7 +69340,7 @@ paths: application/json: schema: type: array - items: &447 + items: &448 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -69081,7 +69384,7 @@ paths: - content - created_at examples: - default: &515 + default: &516 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -69126,8 +69429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -69160,9 +69463,9 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: &448 + default: &449 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -69191,9 +69494,9 @@ paths: description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -69215,10 +69518,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - &516 + - &517 name: reaction_id description: The unique identifier of the reaction. in: path @@ -69273,8 +69576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *318 - *319 + - *320 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -69330,9 +69633,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: &562 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69426,9 +69729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - *319 - - &450 + - *320 + - &451 name: commit_sha description: The SHA of the commit. in: path @@ -69500,9 +69803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *318 - *319 - - *450 + - *320 + - *451 - *17 - *19 responses: @@ -69512,9 +69815,9 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: - default: *451 + default: *452 headers: Link: *59 x-github: @@ -69542,9 +69845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *318 - *319 - - *450 + - *320 + - *451 requestBody: required: true content: @@ -69579,9 +69882,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: *452 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69609,9 +69912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *318 - *319 - - *450 + - *320 + - *451 - *17 - *19 responses: @@ -69621,9 +69924,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: &554 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70160,11 +70463,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *318 - *319 + - *320 - *19 - *17 - - &454 + - &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)" @@ -70179,9 +70482,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: &542 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70294,11 +70597,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *318 - *319 - - *454 + - *320 - *455 - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70332,9 +70635,9 @@ paths: type: integer check_runs: type: array - items: *396 + items: *397 examples: - default: *457 + default: *458 headers: Link: *59 x-github: @@ -70359,9 +70662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70369,7 +70672,7 @@ paths: schema: type: integer example: 1 - - *455 + - *456 - *17 - *19 responses: @@ -70387,7 +70690,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *401 examples: default: value: @@ -70587,9 +70890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - *17 - *19 responses: @@ -70791,9 +71094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - *319 - - *454 + - *320 + - *455 - *17 - *19 responses: @@ -70803,7 +71106,7 @@ paths: application/json: schema: type: array - items: &627 + items: &628 title: Status description: The status of a commit. type: object @@ -70884,7 +71187,7 @@ paths: site_admin: false headers: Link: *59 - '301': *322 + '301': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70912,8 +71215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -70946,11 +71249,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *458 + - *459 code_of_conduct_file: anyOf: - type: 'null' - - &459 + - &460 title: Community Health File type: object properties: @@ -70970,19 +71273,19 @@ paths: contributing: anyOf: - type: 'null' - - *459 + - *460 readme: anyOf: - type: 'null' - - *459 + - *460 issue_template: anyOf: - type: 'null' - - *459 + - *460 pull_request_template: anyOf: - type: 'null' - - *459 + - *460 required: - code_of_conduct - code_of_conduct_file @@ -71111,8 +71414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *318 - *319 + - *320 - *19 - *17 - name: basehead @@ -71160,8 +71463,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *449 - merge_base_commit: *449 + base_commit: *450 + merge_base_commit: *450 status: type: string enum: @@ -71185,10 +71488,10 @@ paths: - 6 commits: type: array - items: *449 + items: *450 files: type: array - items: *460 + items: *461 required: - url - html_url @@ -71474,8 +71777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -71645,7 +71948,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &461 + response-if-content-is-a-file-github-object: &462 summary: Response if content is a file value: type: file @@ -71782,7 +72085,7 @@ paths: - size - type - url - - &567 + - &568 title: Content File description: Content File type: object @@ -72000,7 +72303,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *461 + 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 @@ -72069,7 +72372,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *462 + '302': *463 '304': *35 x-github: githubCloudOnly: false @@ -72122,8 +72425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -72218,7 +72521,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &464 title: File Commit description: File Commit type: object @@ -72374,7 +72677,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: example-for-creating-a-file: value: @@ -72428,7 +72731,7 @@ paths: schema: oneOf: - *3 - - &494 + - &495 description: Repository rule violation was detected type: object properties: @@ -72449,7 +72752,7 @@ paths: items: type: object properties: - placeholder_id: &619 + placeholder_id: &620 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72481,8 +72784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *318 - *319 + - *320 - name: path description: path parameter in: path @@ -72543,7 +72846,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: default: value: @@ -72598,8 +72901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *318 - *319 + - *320 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72723,23 +73026,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - *319 - - *184 + - *320 - *185 - *186 - *187 + - *188 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *188 - - *464 - *189 + - *465 - *190 - *191 + - *192 - *53 - *45 - *46 @@ -72751,7 +73054,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 type: object description: A Dependabot alert. properties: @@ -72801,7 +73104,7 @@ paths: - direct - transitive - - security_advisory: *465 + security_advisory: *466 security_vulnerability: *57 url: *169 html_url: *170 @@ -72832,8 +73135,8 @@ paths: dismissal. maxLength: 280 fixed_at: *171 - auto_dismissed_at: *466 - dismissal_request: *467 + auto_dismissed_at: *467 + dismissal_request: *468 assignees: type: array description: The users assigned to this alert. @@ -73088,9 +73391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - *319 - - &469 + - *320 + - &470 name: alert_number in: path description: |- @@ -73105,7 +73408,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -73237,9 +73540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - *319 - - *469 + - *320 + - *470 requestBody: required: true content: @@ -73295,7 +73598,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -73425,8 +73728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -73444,7 +73747,7 @@ paths: type: integer secrets: type: array - items: &472 + items: &473 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73498,16 +73801,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73527,15 +73830,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '200': description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -73561,8 +73864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 requestBody: required: true @@ -73615,8 +73918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - *319 + - *320 - *156 responses: '204': @@ -73639,8 +73942,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: - - *318 - *319 + - *320 - 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 @@ -73814,8 +74117,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: - - *318 - *319 + - *320 responses: '200': description: Response @@ -74075,8 +74378,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -74159,7 +74462,7 @@ paths: - version - url additionalProperties: false - metadata: &473 + metadata: &474 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -74198,7 +74501,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *473 + metadata: *474 resolved: type: object description: A collection of resolved package dependencies. @@ -74212,7 +74515,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *473 + metadata: *474 relationship: type: string description: A notation of whether a dependency is requested @@ -74345,8 +74648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *318 - *319 + - *320 - name: sha description: The SHA recorded at creation time. in: query @@ -74387,9 +74690,9 @@ paths: application/json: schema: type: array - items: *474 + items: *475 examples: - default: *475 + default: *476 headers: Link: *59 x-github: @@ -74455,8 +74758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -74538,7 +74841,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: simple-example: summary: Simple example @@ -74611,9 +74914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *318 - *319 - - &476 + - *320 + - &477 name: deployment_id description: deployment_id parameter in: path @@ -74625,7 +74928,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -74690,9 +74993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *318 - *319 - - *476 + - *320 + - *477 responses: '204': description: Response @@ -74714,9 +75017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - *319 - - *476 + - *320 + - *477 - *17 - *19 responses: @@ -74726,7 +75029,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Deployment Status description: The status of a deployment. type: object @@ -74890,9 +75193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - *319 - - *476 + - *320 + - *477 requestBody: required: true content: @@ -74967,9 +75270,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -75025,9 +75328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - *319 - - *476 + - *320 + - *477 - name: status_id in: path required: true @@ -75038,9 +75341,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -75065,8 +75368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -75123,8 +75426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -75142,7 +75445,7 @@ paths: - 5 environments: type: array - items: &480 + items: &481 title: Environment description: Details of a deployment environment type: object @@ -75204,7 +75507,7 @@ paths: type: string examples: - wait_timer - wait_timer: &482 + wait_timer: &483 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -75246,7 +75549,7 @@ paths: items: type: object properties: - type: *479 + type: *480 reviewer: anyOf: - *4 @@ -75273,7 +75576,7 @@ paths: - id - node_id - type - deployment_branch_policy: &483 + deployment_branch_policy: &484 type: - object - 'null' @@ -75390,9 +75693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *318 - *319 - - &481 + - *320 + - &482 name: environment_name in: path required: true @@ -75405,9 +75708,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: &484 + default: &485 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75491,9 +75794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: false content: @@ -75503,7 +75806,7 @@ paths: - object - 'null' properties: - wait_timer: *482 + wait_timer: *483 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -75522,14 +75825,14 @@ paths: items: type: object properties: - type: *479 + type: *480 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *483 + deployment_branch_policy: *484 additionalProperties: false examples: default: @@ -75549,9 +75852,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *484 + default: *485 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75575,9 +75878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *318 - *319 - - *481 + - *320 + - *482 responses: '204': description: Default response @@ -75602,9 +75905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *17 - *19 responses: @@ -75623,7 +75926,7 @@ paths: - 2 branch_policies: type: array - items: &485 + items: &486 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75684,9 +75987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: true content: @@ -75734,9 +76037,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - example-wildcard: &486 + example-wildcard: &487 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75778,10 +76081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - &487 + - *320 + - *482 + - &488 name: branch_policy_id in: path required: true @@ -75793,9 +76096,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75814,10 +76117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - *487 + - *320 + - *482 + - *488 requestBody: required: true content: @@ -75846,9 +76149,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75867,10 +76170,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - *319 - - *481 - - *487 + - *320 + - *482 + - *488 responses: '204': description: Response @@ -75895,9 +76198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *481 + - *482 + - *320 - *319 - - *318 responses: '200': description: List of deployment protection rules @@ -75914,7 +76217,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &488 + items: &489 title: Deployment protection rule description: Deployment protection rule type: object @@ -75936,7 +76239,7 @@ paths: for the environment. examples: - true - app: &489 + app: &490 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76039,9 +76342,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: - - *481 + - *482 + - *320 - *319 - - *318 requestBody: content: application/json: @@ -76062,9 +76365,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *488 + schema: *489 examples: - default: &490 + default: &491 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76099,9 +76402,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: - - *481 + - *482 + - *320 - *319 - - *318 - *19 - *17 responses: @@ -76121,7 +76424,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *489 + items: *490 examples: default: value: @@ -76156,10 +76459,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *318 - *319 - - *481 - - &491 + - *320 + - *482 + - &492 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -76171,9 +76474,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76194,10 +76497,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *481 + - *482 + - *320 - *319 - - *318 - - *491 + - *492 responses: '204': description: Response @@ -76223,9 +76526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *17 - *19 responses: @@ -76243,9 +76546,9 @@ paths: type: integer secrets: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -76270,17 +76573,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - *319 - - *481 + - *320 + - *482 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76302,18 +76605,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *492 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76335,9 +76638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 requestBody: required: true @@ -76395,9 +76698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *156 responses: '204': @@ -76423,10 +76726,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *318 - *319 - - *481 - - *334 + - *320 + - *482 + - *335 - *19 responses: '200': @@ -76443,9 +76746,9 @@ paths: type: integer variables: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -76468,9 +76771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *318 - *319 - - *481 + - *320 + - *482 requestBody: required: true content: @@ -76522,18 +76825,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *318 - *319 - - *481 + - *320 + - *482 - *159 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76554,10 +76857,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *318 - *319 + - *320 - *159 - - *481 + - *482 requestBody: required: true content: @@ -76599,10 +76902,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *318 - *319 + - *320 - *159 - - *481 + - *482 responses: '204': description: Response @@ -76624,8 +76927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -76693,8 +76996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *318 - *319 + - *320 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76853,8 +77156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -76887,9 +77190,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 '400': *14 '422': *15 '403': *27 @@ -76910,8 +77213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -76971,7 +77274,7 @@ paths: schema: oneOf: - *116 - - *494 + - *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76996,8 +77299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *318 - *319 + - *320 - name: file_sha in: path required: true @@ -77097,8 +77400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77207,7 +77510,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &496 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77434,15 +77737,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *318 - *319 - - *450 + - *320 + - *451 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -77498,9 +77801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *318 - *319 - - &496 + - *320 + - &497 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. @@ -77517,7 +77820,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Git Reference description: Git references within a repository type: object @@ -77593,17 +77896,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 responses: '200': description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: &498 + default: &499 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77632,8 +77935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77662,9 +77965,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: *498 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77690,9 +77993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 requestBody: required: true content: @@ -77721,9 +78024,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: - default: *498 + default: *499 '422': *15 '409': *52 x-github: @@ -77741,9 +78044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *318 - *319 - - *496 + - *320 + - *497 responses: '204': description: Response @@ -77798,8 +78101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -77866,7 +78169,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &501 title: Git Tag description: Metadata for a Git tag type: object @@ -77922,7 +78225,7 @@ paths: - sha - type - url - verification: *499 + verification: *500 required: - sha - url @@ -77932,7 +78235,7 @@ paths: - tag - message examples: - default: &501 + default: &502 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -78005,8 +78308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *318 - *319 + - *320 - name: tag_sha in: path required: true @@ -78017,9 +78320,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '404': *6 '409': *52 x-github: @@ -78043,8 +78346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -78118,7 +78421,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78220,8 +78523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *318 - *319 + - *320 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -78244,7 +78547,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default-response: summary: Default response @@ -78303,8 +78606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -78314,7 +78617,7 @@ paths: application/json: schema: type: array - items: &503 + items: &504 title: Webhook description: Webhooks for repositories. type: object @@ -78454,8 +78757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -78508,9 +78811,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: Repository id: 12345678 @@ -78558,17 +78861,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -78588,9 +78891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 requestBody: required: true content: @@ -78635,9 +78938,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '422': *15 '404': *6 x-github: @@ -78658,9 +78961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -78684,9 +78987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '200': description: Response @@ -78713,9 +79016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *318 - *319 - - *197 + - *320 + - *198 requestBody: required: false content: @@ -78759,11 +79062,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - *319 - - *197 - - *17 + - *320 - *198 + - *17 + - *199 responses: '200': description: Response @@ -78771,9 +79074,9 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: - default: *200 + default: *201 '400': *14 '422': *15 x-github: @@ -78792,18 +79095,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 - *16 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 '400': *14 '422': *15 x-github: @@ -78822,9 +79125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 - *16 responses: '202': *37 @@ -78847,9 +79150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -78874,9 +79177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - *319 - - *197 + - *320 + - *198 responses: '204': description: Response @@ -78899,8 +79202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response if immutable releases are enabled @@ -78948,8 +79251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *318 - *319 + - *320 responses: '204': *179 '409': *52 @@ -78969,8 +79272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *318 - *319 + - *320 responses: '204': *179 '409': *52 @@ -79027,14 +79330,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &505 + schema: &506 title: Import description: A repository import from an external source. type: object @@ -79141,7 +79444,7 @@ paths: - html_url - authors_url examples: - default: &508 + default: &509 value: vcs: subversion use_lfs: true @@ -79157,7 +79460,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': &506 + '503': &507 description: Unavailable due to service under maintenance. content: application/json: @@ -79186,8 +79489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -79235,7 +79538,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: default: value: @@ -79260,7 +79563,7 @@ paths: type: string '422': *15 '404': *6 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79288,8 +79591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -79341,7 +79644,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: example-1: summary: Example 1 @@ -79389,7 +79692,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': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79412,12 +79715,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *318 - *319 + - *320 responses: '204': description: Response - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79443,8 +79746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *318 - *319 + - *320 - &670 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -79459,7 +79762,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Porter Author description: Porter Author type: object @@ -79513,7 +79816,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': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79538,8 +79841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - *319 + - *320 - name: author_id in: path required: true @@ -79569,7 +79872,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -79582,7 +79885,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79606,8 +79909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -79648,7 +79951,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79676,8 +79979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -79704,11 +80007,11 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *508 + default: *509 '422': *15 - '503': *506 + '503': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79731,8 +80034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -79740,8 +80043,8 @@ paths: application/json: schema: *20 examples: - default: *509 - '301': *322 + default: *510 + '301': *323 '404': *6 x-github: githubCloudOnly: false @@ -79761,8 +80064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -79770,12 +80073,12 @@ paths: application/json: schema: anyOf: - - *215 + - *216 - type: object properties: {} additionalProperties: false examples: - default: &511 + default: &512 value: limit: collaborators_only origin: repository @@ -79800,13 +80103,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: application/json: - schema: *510 + schema: *511 examples: default: summary: Example request body @@ -79818,9 +80121,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: - default: *511 + default: *512 '409': description: Response x-github: @@ -79842,8 +80145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -79866,8 +80169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -79877,7 +80180,7 @@ paths: application/json: schema: type: array - items: *512 + items: *513 examples: default: &663 value: @@ -80010,9 +80313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - *319 - - *219 + - *320 + - *220 requestBody: required: false content: @@ -80041,7 +80344,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: default: value: @@ -80172,9 +80475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - *319 - - *219 + - *320 + - *220 responses: '204': description: Response @@ -80205,8 +80508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *318 - *319 + - *320 - 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 @@ -80254,7 +80557,7 @@ paths: required: false schema: type: string - - *226 + - *227 - name: sort description: What to sort results by. in: query @@ -80279,7 +80582,7 @@ paths: type: array items: *75 examples: - default: &521 + default: &522 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80428,7 +80731,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *322 + '301': *323 '422': *15 '404': *6 x-github: @@ -80457,8 +80760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -80550,7 +80853,7 @@ paths: application/json: schema: *75 examples: - default: &518 + default: &519 value: id: 1 node_id: MDU6SXNzdWUx @@ -80707,7 +81010,7 @@ paths: '422': *15 '503': *108 '404': *6 - '410': *513 + '410': *514 x-github: triggersNotification: true githubCloudOnly: false @@ -80745,8 +81048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - *319 + - *320 - *97 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -80769,7 +81072,7 @@ paths: type: array items: *76 examples: - default: &520 + default: &521 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80827,8 +81130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': @@ -80837,7 +81140,7 @@ paths: application/json: schema: *76 examples: - default: &514 + default: &515 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80892,8 +81195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -80918,7 +81221,7 @@ paths: application/json: schema: *76 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -80936,8 +81239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -80966,8 +81269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '200': @@ -81030,7 +81333,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -81047,8 +81350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -81056,7 +81359,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 '503': *108 x-github: githubCloudOnly: false @@ -81074,8 +81377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -81102,9 +81405,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -81125,8 +81428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -81159,16 +81462,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -81190,10 +81493,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - *516 + - *517 responses: '204': description: Response @@ -81213,8 +81516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -81224,7 +81527,7 @@ paths: application/json: schema: type: array - items: &517 + items: &518 title: Issue Event description: Issue Event type: object @@ -81564,8 +81867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *318 - *319 + - *320 - name: event_id in: path required: true @@ -81576,7 +81879,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -81769,7 +82072,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *513 + '410': *514 '403': *27 x-github: githubCloudOnly: false @@ -81803,9 +82106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *318 - *319 - - &519 + - *320 + - &520 name: issue_number description: The number that identifies the issue. in: path @@ -81821,7 +82124,7 @@ paths: examples: default: summary: Issue - value: *518 + value: *519 pinned_comment: summary: Issue with pinned comment value: @@ -82020,9 +82323,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 '304': *35 x-github: githubCloudOnly: false @@ -82047,9 +82350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -82190,13 +82493,13 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 '422': *15 '503': *108 '403': *27 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82224,9 +82527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -82254,7 +82557,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82270,9 +82573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: content: application/json: @@ -82299,7 +82602,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82321,9 +82624,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: - - *318 - *319 - - *519 + - *320 + - *520 - name: assignee in: path required: true @@ -82363,9 +82666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *80 - *17 - *19 @@ -82378,11 +82681,11 @@ paths: type: array items: *76 examples: - default: *520 + default: *521 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82411,9 +82714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -82437,14 +82740,14 @@ paths: application/json: schema: *76 examples: - default: *514 + default: *515 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -82472,9 +82775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82486,12 +82789,12 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82519,9 +82822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -82545,15 +82848,15 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *323 '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -82584,9 +82887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *318 - *319 - - *519 + - *320 + - *520 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -82600,13 +82903,13 @@ paths: application/json: schema: *75 examples: - default: *518 - '301': *322 + default: *519 + '301': *323 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *513 + '410': *514 x-github: triggersNotification: true githubCloudOnly: false @@ -82632,9 +82935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82646,12 +82949,12 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82668,9 +82971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -82684,7 +82987,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &524 + - &525 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -82733,7 +83036,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82861,7 +83164,7 @@ paths: - performed_via_github_app - assignee - assigner - - &526 + - &527 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82907,7 +83210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82953,7 +83256,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -83002,7 +83305,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &530 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -83044,7 +83347,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &530 + - &531 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -83086,7 +83389,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &531 + - &532 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -83142,7 +83445,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &532 + - &533 title: Locked Issue Event description: Locked Issue Event type: object @@ -83187,7 +83490,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -83248,7 +83551,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &535 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -83309,7 +83612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -83370,7 +83673,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -83463,7 +83766,7 @@ paths: color: red headers: Link: *59 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83480,9 +83783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -83492,9 +83795,9 @@ paths: application/json: schema: type: array - items: *522 + items: *523 examples: - default: &633 + default: &634 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -83518,9 +83821,9 @@ paths: value: '2025-12-25' headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83537,9 +83840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -83551,7 +83854,7 @@ paths: type: array items: *74 examples: - default: &523 + default: &524 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83569,9 +83872,9 @@ paths: default: false headers: Link: *59 - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83587,9 +83890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -83634,10 +83937,10 @@ paths: type: array items: *74 examples: - default: *523 - '301': *322 + default: *524 + '301': *323 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -83654,9 +83957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -83718,10 +84021,10 @@ paths: type: array items: *74 examples: - default: *523 - '301': *322 + default: *524 + '301': *323 '404': *6 - '410': *513 + '410': *514 '422': *15 x-github: githubCloudOnly: false @@ -83738,15 +84041,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '204': description: Response - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83765,9 +84068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - name: name in: path required: true @@ -83791,9 +84094,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83813,9 +84116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: false content: @@ -83844,7 +84147,7 @@ paths: '204': description: Response '403': *27 - '410': *513 + '410': *514 '404': *6 '422': *15 x-github: @@ -83862,9 +84165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '204': description: Response @@ -83894,9 +84197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 responses: '200': description: Response @@ -83904,10 +84207,10 @@ paths: application/json: schema: *75 examples: - default: *518 - '301': *322 + default: *519 + '301': *323 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83924,9 +84227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - 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. @@ -83952,13 +84255,13 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83976,9 +84279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -84010,16 +84313,16 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -84041,10 +84344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - *319 - - *519 - - *516 + - *320 + - *520 + - *517 responses: '204': description: Response @@ -84073,9 +84376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -84099,7 +84402,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -84132,9 +84435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -84146,11 +84449,11 @@ paths: type: array items: *75 examples: - default: *521 + default: *522 headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84178,9 +84481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -84209,14 +84512,14 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *513 + '410': *514 '422': *15 '404': *6 x-github: @@ -84236,9 +84539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 requestBody: required: true content: @@ -84271,7 +84574,7 @@ paths: application/json: schema: *75 examples: - default: *518 + default: *519 '403': *27 '404': *6 '422': *7 @@ -84293,9 +84596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - *319 - - *519 + - *320 + - *520 - *17 - *19 responses: @@ -84310,7 +84613,6 @@ paths: description: Timeline Event type: object anyOf: - - *524 - *525 - *526 - *527 @@ -84323,6 +84625,7 @@ paths: - *534 - *535 - *536 + - *537 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -84379,7 +84682,7 @@ paths: pin: anyOf: - type: 'null' - - *537 + - *538 required: - event - actor @@ -84655,7 +84958,7 @@ paths: type: string comments: type: array - items: &556 + items: &557 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84896,7 +85199,7 @@ paths: type: string comments: type: array - items: *446 + items: *447 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -85171,7 +85474,7 @@ paths: headers: Link: *59 '404': *6 - '410': *513 + '410': *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85188,8 +85491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -85199,7 +85502,7 @@ paths: application/json: schema: type: array - items: &538 + items: &539 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -85267,8 +85570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85304,9 +85607,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &539 + default: &540 value: id: 1 key: ssh-rsa AAA... @@ -85340,9 +85643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - *319 - - &540 + - *320 + - &541 name: key_id description: The unique identifier of the key. in: path @@ -85354,9 +85657,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -85374,9 +85677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - *319 - - *540 + - *320 + - *541 responses: '204': description: Response @@ -85396,8 +85699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -85409,7 +85712,7 @@ paths: type: array items: *74 examples: - default: *523 + default: *524 headers: Link: *59 '404': *6 @@ -85430,8 +85733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85469,7 +85772,7 @@ paths: application/json: schema: *74 examples: - default: &541 + default: &542 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -85501,8 +85804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -85515,7 +85818,7 @@ paths: application/json: schema: *74 examples: - default: *541 + default: *542 '404': *6 x-github: githubCloudOnly: false @@ -85532,8 +85835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -85598,8 +85901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *318 - *319 + - *320 - name: name in: path required: true @@ -85625,8 +85928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -85665,9 +85968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - *319 - - *421 + - *320 + - *422 responses: '200': description: Response @@ -85814,8 +86117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85880,8 +86183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -85915,9 +86218,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *449 + schema: *450 examples: - default: *542 + default: *543 '204': description: Response when already merged '404': @@ -85942,8 +86245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *318 - *319 + - *320 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85984,7 +86287,7 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: default: value: @@ -86040,8 +86343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86081,9 +86384,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -86142,9 +86445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *318 - *319 - - &544 + - *320 + - &545 name: milestone_number description: The number that identifies the milestone. in: path @@ -86156,9 +86459,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *543 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -86175,9 +86478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 requestBody: required: false content: @@ -86215,9 +86518,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86233,9 +86536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 responses: '204': description: Response @@ -86256,9 +86559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *318 - *319 - - *544 + - *320 + - *545 - *17 - *19 responses: @@ -86270,7 +86573,7 @@ paths: type: array items: *74 examples: - default: *523 + default: *524 headers: Link: *59 x-github: @@ -86289,12 +86592,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *318 - *319 - - *545 + - *320 - *546 - - *80 - *547 + - *80 + - *548 - *17 - *19 responses: @@ -86306,7 +86609,7 @@ paths: type: array items: *100 examples: - default: *548 + default: *549 headers: Link: *59 x-github: @@ -86330,8 +86633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -86389,14 +86692,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &549 + schema: &550 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -86540,7 +86843,7 @@ paths: - custom_404 - public examples: - default: &550 + default: &551 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -86581,8 +86884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86637,9 +86940,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *550 + default: *551 '422': *15 '409': *52 x-github: @@ -86662,8 +86965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -86763,8 +87066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -86790,8 +87093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -86801,7 +87104,7 @@ paths: application/json: schema: type: array - items: &551 + items: &552 title: Page Build description: Page Build type: object @@ -86893,8 +87196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - *319 + - *320 responses: '201': description: Response @@ -86941,16 +87244,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: &552 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86998,8 +87301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *318 - *319 + - *320 - name: build_id in: path required: true @@ -87010,9 +87313,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87032,8 +87335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -87141,9 +87444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *318 - *319 - - &553 + - *320 + - &554 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -87201,9 +87504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - *319 - - *553 + - *320 + - *554 responses: '204': *179 '404': *6 @@ -87230,8 +87533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -87526,8 +87829,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: - - *318 - *319 + - *320 responses: '200': description: Private vulnerability reporting status @@ -87564,8 +87867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': *179 '422': *14 @@ -87586,8 +87889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': *179 '422': *14 @@ -87609,8 +87912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -87618,7 +87921,7 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: default: value: @@ -87649,8 +87952,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: - - *318 - *319 + - *320 requestBody: required: true content: @@ -87662,7 +87965,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *273 + items: *274 required: - properties examples: @@ -87712,8 +88015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *318 - *319 + - *320 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87773,9 +88076,9 @@ paths: application/json: schema: type: array - items: *453 + items: *454 examples: - default: *554 + default: *555 headers: Link: *59 '304': *35 @@ -87807,8 +88110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -87875,7 +88178,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &559 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -88004,7 +88307,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 active_lock_reason: type: - string @@ -88053,7 +88356,7 @@ paths: items: *4 requested_teams: type: array - items: *238 + items: *239 head: type: object properties: @@ -88091,14 +88394,14 @@ paths: _links: type: object properties: - comments: *260 - commits: *260 - statuses: *260 - html: *260 - issue: *260 - review_comments: *260 - review_comment: *260 - self: *260 + comments: *261 + commits: *261 + statuses: *261 + html: *261 + issue: *261 + review_comments: *261 + review_comment: *261 + self: *261 required: - comments - commits @@ -88109,7 +88412,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *555 + auto_merge: *556 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -88305,7 +88608,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88832,8 +89135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - *319 + - *320 - name: sort in: query required: false @@ -88862,9 +89165,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: &561 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88941,17 +89244,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 responses: '200': description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89026,8 +89329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -89050,9 +89353,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89068,8 +89371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *318 - *319 + - *320 - *89 responses: '204': @@ -89091,8 +89394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *318 - *319 + - *320 - *89 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -89119,9 +89422,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -89142,8 +89445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *318 - *319 + - *320 - *89 requestBody: required: true @@ -89176,16 +89479,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -89207,10 +89510,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - *319 + - *320 - *89 - - *516 + - *517 responses: '204': description: Response @@ -89253,9 +89556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *318 - *319 - - &560 + - *320 + - &561 name: pull_number description: The number that identifies the pull request. in: path @@ -89268,9 +89571,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '304': *35 '404': *6 '406': @@ -89305,9 +89608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -89349,9 +89652,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '422': *15 '403': *27 x-github: @@ -89373,9 +89676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -89436,17 +89739,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -89476,9 +89779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *97 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -89499,9 +89802,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -89534,9 +89837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -89642,7 +89945,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: example-for-a-multi-line-comment: value: @@ -89730,9 +90033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *89 requestBody: required: true @@ -89755,7 +90058,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -89841,9 +90144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -89853,9 +90156,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: *562 + default: *563 headers: Link: *59 x-github: @@ -89885,9 +90188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -89897,7 +90200,7 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: default: value: @@ -89935,9 +90238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *318 - *319 - - *560 + - *320 + - *561 responses: '204': description: Response if pull request has been merged @@ -89960,9 +90263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -90074,9 +90377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 responses: '200': description: Response @@ -90151,9 +90454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -90190,7 +90493,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -90726,9 +91029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: true content: @@ -90762,7 +91065,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -91267,9 +91570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 - *17 - *19 responses: @@ -91279,7 +91582,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -91435,9 +91738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -91527,9 +91830,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &565 + default: &566 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91592,10 +91895,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - &564 + - *320 + - *561 + - &565 name: review_id description: The unique identifier of the review. in: path @@ -91607,9 +91910,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &566 + default: &567 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91668,10 +91971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -91694,7 +91997,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -91756,18 +92059,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *565 + default: *566 '422': *7 '404': *6 x-github: @@ -91794,10 +92097,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 - *17 - *19 responses: @@ -91895,9 +92198,9 @@ paths: _links: type: object properties: - self: *260 - html: *260 - pull_request: *260 + self: *261 + html: *261 + pull_request: *261 required: - self - html @@ -92055,10 +92358,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -92087,7 +92390,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -92150,10 +92453,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *318 - *319 - - *560 - - *564 + - *320 + - *561 + - *565 requestBody: required: true content: @@ -92188,9 +92491,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *566 + default: *567 '404': *6 '422': *7 '403': *27 @@ -92212,9 +92515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - *319 - - *560 + - *320 + - *561 requestBody: required: false content: @@ -92278,8 +92581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *318 - *319 + - *320 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -92292,9 +92595,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: &568 + default: &569 value: type: file encoding: base64 @@ -92336,8 +92639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *318 - *319 + - *320 - name: dir description: The alternate path to look for a README file in: path @@ -92357,9 +92660,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: *568 + default: *569 '404': *6 '422': *15 x-github: @@ -92381,8 +92684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -92392,7 +92695,7 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: default: value: @@ -92486,8 +92789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -92563,9 +92866,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &573 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92670,9 +92973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *318 - *319 - - &571 + - *320 + - &572 name: asset_id description: The unique identifier of the asset. in: path @@ -92684,9 +92987,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &572 + default: &573 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 @@ -92721,7 +93024,7 @@ paths: type: User site_admin: false '404': *6 - '302': *462 + '302': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92737,9 +93040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *318 - *319 - - *571 + - *320 + - *572 requestBody: required: false content: @@ -92768,9 +93071,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *572 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92786,9 +93089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *318 - *319 - - *571 + - *320 + - *572 responses: '204': description: Response @@ -92812,8 +93115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -92899,16 +93202,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *318 - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92925,8 +93228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - *319 + - *320 - name: tag description: tag parameter in: path @@ -92939,9 +93242,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -92963,9 +93266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *318 - *319 - - &574 + - *320 + - &575 name: release_id description: The unique identifier of the release. in: path @@ -92979,9 +93282,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: *569 + schema: *570 examples: - default: *573 + default: *574 '401': description: Unauthorized x-github: @@ -92999,9 +93302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 requestBody: required: false content: @@ -93065,9 +93368,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *573 + default: *574 '404': description: Not Found if the discussion category name is invalid content: @@ -93088,9 +93391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 responses: '204': description: Response @@ -93110,9 +93413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *318 - *319 - - *574 + - *320 + - *575 - *17 - *19 responses: @@ -93122,7 +93425,7 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: default: value: @@ -93203,9 +93506,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: - - *318 - *319 - - *574 + - *320 + - *575 - name: name in: query required: true @@ -93231,7 +93534,7 @@ paths: description: Response for successful upload content: application/json: - schema: *570 + schema: *571 examples: response-for-successful-upload: value: @@ -93286,9 +93589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 - 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. @@ -93312,9 +93615,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *515 + default: *516 headers: Link: *59 '404': *6 @@ -93335,9 +93638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - *319 - - *574 + - *320 + - *575 requestBody: required: true content: @@ -93367,16 +93670,16 @@ paths: description: Reaction exists content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '201': description: Reaction created content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -93398,10 +93701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - *319 - - *574 - - *516 + - *320 + - *575 + - *517 responses: '204': description: Response @@ -93425,9 +93728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - *319 - - *385 + - *320 + - *386 - *17 - *19 responses: @@ -93443,8 +93746,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *280 - - &575 + - *281 + - &576 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93463,69 +93766,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *281 - - *575 - allOf: - *282 - - *575 + - *576 - allOf: - *283 - - *575 - - allOf: - *576 - - *575 - allOf: - *284 - - *575 + - *576 + - allOf: + - *577 + - *576 - allOf: - *285 - - *575 + - *576 - allOf: - *286 - - *575 + - *576 - allOf: - *287 - - *575 + - *576 - allOf: - *288 - - *575 + - *576 - allOf: - *289 - - *575 + - *576 - allOf: - *290 - - *575 + - *576 - allOf: - *291 - - *575 + - *576 - allOf: - *292 - - *575 + - *576 - allOf: - *293 - - *575 + - *576 - allOf: - *294 - - *575 + - *576 - allOf: - *295 - - *575 + - *576 - allOf: - *296 - - *575 + - *576 - allOf: - *297 - - *575 + - *576 - allOf: - *298 - - *575 + - *576 - allOf: - *299 - - *575 + - *576 - allOf: - *300 - - *575 + - *576 + - allOf: + - *301 + - *576 examples: default: value: @@ -93564,8 +93867,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - *17 - *19 - name: includes_parents @@ -93576,7 +93879,7 @@ paths: schema: type: boolean default: true - - *577 + - *578 responses: '200': description: Response @@ -93584,7 +93887,7 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: default: value: @@ -93631,8 +93934,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 requestBody: description: Request body required: true @@ -93652,16 +93955,16 @@ paths: - tag - push default: branch - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *275 + items: *279 + conditions: *276 rules: type: array description: An array of rules within the ruleset. - items: *578 + items: *579 required: - name - enforcement @@ -93692,9 +93995,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &588 + default: &589 value: id: 42 name: super cool ruleset @@ -93742,12 +94045,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - *319 - - *579 + - *320 - *580 - *581 - *582 + - *583 - *17 - *19 responses: @@ -93755,9 +94058,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *584 + default: *585 '404': *6 '500': *107 x-github: @@ -93778,17 +94081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - *319 - - *585 + - *320 + - *586 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '404': *6 '500': *107 x-github: @@ -93816,8 +94119,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93837,9 +94140,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *588 + default: *589 '404': *6 '500': *107 put: @@ -93857,8 +94160,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93883,16 +94186,16 @@ paths: - branch - tag - push - enforcement: *277 + enforcement: *278 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *278 - conditions: *275 + items: *279 + conditions: *276 rules: description: An array of rules within the ruleset. type: array - items: *578 + items: *579 examples: default: value: @@ -93920,9 +94223,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *588 + default: *589 '404': *6 '422': *15 '500': *107 @@ -93941,8 +94244,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93965,8 +94268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *318 - *319 + - *320 - *17 - *19 - name: ruleset_id @@ -93982,9 +94285,9 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: - default: *589 + default: *590 '404': *6 '500': *107 x-github: @@ -94003,8 +94306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *318 - *319 + - *320 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94022,7 +94325,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -94077,22 +94380,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *318 - *319 - - *591 + - *320 - *592 - *593 - *594 - *595 + - *596 - *53 - *19 - *17 - - *596 - *597 - *598 - *599 - *600 - *601 + - *602 responses: '200': description: Response @@ -94100,7 +94403,7 @@ paths: application/json: schema: type: array - items: &605 + items: &606 type: object properties: number: *166 @@ -94116,8 +94419,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *602 - resolution: *603 + state: *603 + resolution: *604 resolved_at: type: - string @@ -94211,7 +94514,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *604 + - *605 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -94356,16 +94659,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 - - *601 + - *320 + - *416 + - *602 responses: '200': description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -94419,9 +94722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 requestBody: required: true content: @@ -94429,8 +94732,8 @@ paths: schema: type: object properties: - state: *602 - resolution: *603 + state: *603 + resolution: *604 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -94466,7 +94769,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -94561,9 +94864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *318 - *319 - - *415 + - *320 + - *416 - *19 - *17 responses: @@ -94601,7 +94904,6 @@ paths: - commit details: oneOf: - - *606 - *607 - *608 - *609 @@ -94614,6 +94916,7 @@ paths: - *616 - *617 - *618 + - *619 examples: default: value: @@ -94699,8 +95002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -94708,14 +95011,14 @@ paths: schema: type: object properties: - reason: &620 + reason: &621 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *619 + placeholder_id: *620 required: - reason - placeholder_id @@ -94732,7 +95035,7 @@ paths: schema: type: object properties: - reason: *620 + reason: *621 expire_at: type: - string @@ -94779,8 +95082,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: - - *318 - *319 + - *320 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -94795,7 +95098,7 @@ paths: properties: incremental_scans: type: array - items: &621 + items: &622 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94823,15 +95126,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *621 + items: *622 backfill_scans: type: array - items: *621 + items: *622 custom_pattern_backfill_scans: type: array items: allOf: - - *621 + - *622 - type: object properties: pattern_name: @@ -94901,8 +95204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - *319 + - *320 - *53 - name: sort description: The property to sort the results by. @@ -94946,9 +95249,9 @@ paths: application/json: schema: type: array - items: *622 + items: *623 examples: - default: *623 + default: *624 '400': *14 '404': *6 x-github: @@ -94971,8 +95274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -95052,7 +95355,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 required: - login - type @@ -95142,9 +95445,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: &625 + default: &626 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95377,8 +95680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -95491,7 +95794,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: default: value: @@ -95638,17 +95941,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *318 - *319 - - *624 + - *320 + - *625 responses: '200': description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: *625 + default: *626 '403': *27 '404': *6 x-github: @@ -95672,9 +95975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *318 - *319 - - *624 + - *320 + - *625 requestBody: required: true content: @@ -95754,7 +96057,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *308 required: - login - type @@ -95845,10 +96148,10 @@ paths: description: Response content: application/json: - schema: *622 + schema: *623 examples: - default: *625 - add_credit: *625 + default: *626 + add_credit: *626 '403': *27 '404': *6 '422': @@ -95886,9 +96189,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: - - *318 - *319 - - *624 + - *320 + - *625 responses: '202': *37 '400': *14 @@ -95915,17 +96218,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *318 - *319 - - *624 + - *320 + - *625 responses: '202': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 '400': *14 '422': *15 '403': *27 @@ -95951,8 +96254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -96048,8 +96351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -96058,7 +96361,7 @@ paths: application/json: schema: type: array - items: &626 + items: &627 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96091,8 +96394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -96170,8 +96473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -96265,8 +96568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - *319 + - *320 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -96420,8 +96723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *318 - *319 + - *320 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -96431,7 +96734,7 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: default: value: @@ -96464,8 +96767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *318 - *319 + - *320 - name: sha in: path required: true @@ -96521,7 +96824,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: default: value: @@ -96575,8 +96878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -96608,14 +96911,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *318 - *319 + - *320 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &628 + schema: &629 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96688,8 +96991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *318 - *319 + - *320 requestBody: required: false content: @@ -96715,7 +97018,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -96742,8 +97045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -96763,8 +97066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -96846,8 +97149,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - *319 + - *320 - name: ref in: path required: true @@ -96883,8 +97186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *318 - *319 + - *320 - *17 - *19 responses: @@ -96896,7 +97199,7 @@ paths: type: array items: *183 examples: - default: *239 + default: *240 headers: Link: *59 '404': *6 @@ -96916,8 +97219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *318 - *319 + - *320 - *19 - *17 responses: @@ -96925,7 +97228,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96937,7 +97240,7 @@ paths: required: - names examples: - default: &630 + default: &631 value: names: - octocat @@ -96960,8 +97263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -96992,9 +97295,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: - default: *630 + default: *631 '404': *6 '422': *7 x-github: @@ -97015,9 +97318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *318 - *319 - - &631 + - *320 + - &632 name: per description: The time frame to display results for. in: query @@ -97048,7 +97351,7 @@ paths: - 128 clones: type: array - items: &632 + items: &633 title: Traffic type: object properties: @@ -97135,8 +97438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -97230,8 +97533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - *319 + - *320 responses: '200': description: Response @@ -97294,9 +97597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *318 - *319 - - *631 + - *320 + - *632 responses: '200': description: Response @@ -97317,7 +97620,7 @@ paths: - 3782 views: type: array - items: *632 + items: *633 required: - uniques - count @@ -97394,8 +97697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *318 - *319 + - *320 requestBody: required: true content: @@ -97669,8 +97972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *318 - *319 + - *320 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97693,8 +97996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -97716,8 +98019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -97743,8 +98046,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - *319 + - *320 - name: ref in: path required: true @@ -97836,9 +98139,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97986,7 +98289,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *137 - - *519 + - *520 requestBody: required: true content: @@ -98052,9 +98355,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *522 + items: *523 examples: - default: *633 + default: *634 '400': *14 '403': *27 '404': *6 @@ -98091,7 +98394,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *137 - - *519 + - *520 requestBody: required: true content: @@ -98158,9 +98461,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *522 + items: *523 examples: - default: *633 + default: *634 '400': *14 '403': *27 '404': *6 @@ -98192,8 +98495,8 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *137 - - *519 - - *222 + - *520 + - *223 responses: '204': description: Issue field value deleted successfully @@ -98333,7 +98636,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &634 + text_matches: &635 title: Search Result Text Matches type: array items: @@ -98496,7 +98799,7 @@ paths: enum: - author-date - committer-date - - &635 + - &636 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 @@ -98565,7 +98868,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 comment_count: type: integer message: @@ -98584,7 +98887,7 @@ paths: url: type: string format: uri - verification: *499 + verification: *500 required: - author - committer @@ -98599,7 +98902,7 @@ paths: committer: anyOf: - type: 'null' - - *383 + - *384 parents: type: array items: @@ -98616,7 +98919,7 @@ paths: type: number node_id: type: string - text_matches: *634 + text_matches: *635 required: - sha - node_id @@ -98808,7 +99111,7 @@ paths: - interactions - created - updated - - *635 + - *636 - *17 - *19 - name: advanced_search @@ -98905,11 +99208,11 @@ paths: type: - string - 'null' - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: type: string state_reason: @@ -98923,7 +99226,7 @@ paths: milestone: anyOf: - type: 'null' - - *259 + - *260 comments: type: integer created_at: @@ -98937,7 +99240,7 @@ paths: - string - 'null' format: date-time - text_matches: *634 + text_matches: *635 pull_request: type: object properties: @@ -98986,7 +99289,7 @@ paths: timeline_url: type: string format: uri - type: *223 + type: *224 performed_via_github_app: anyOf: - type: 'null' @@ -99192,7 +99495,7 @@ paths: enum: - created - updated - - *635 + - *636 - *17 - *19 responses: @@ -99237,7 +99540,7 @@ paths: - 'null' score: type: number - text_matches: *634 + text_matches: *635 required: - id - node_id @@ -99322,7 +99625,7 @@ paths: - forks - help-wanted-issues - updated - - *635 + - *636 - *17 - *19 responses: @@ -99570,7 +99873,7 @@ paths: - admin - pull - push - text_matches: *634 + text_matches: *635 temp_clone_token: type: string allow_merge_commit: @@ -99878,7 +100181,7 @@ paths: - string - 'null' format: uri - text_matches: *634 + text_matches: *635 related: type: - array @@ -100071,7 +100374,7 @@ paths: - followers - repositories - joined - - *635 + - *636 - *17 - *19 responses: @@ -100181,7 +100484,7 @@ paths: type: - boolean - 'null' - text_matches: *634 + text_matches: *635 blog: type: - string @@ -100263,7 +100566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &638 + - &639 name: team_id description: The unique identifier of the team. in: path @@ -100275,9 +100578,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -100304,7 +100607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *638 + - *639 requestBody: required: true content: @@ -100368,16 +100671,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '201': description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '404': *6 '422': *15 '403': *27 @@ -100405,7 +100708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *638 + - *639 responses: '204': description: Response @@ -100434,7 +100737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -100444,9 +100747,9 @@ paths: application/json: schema: type: array - items: *217 + items: *218 examples: - default: *218 + default: *219 headers: Link: *59 x-github: @@ -100472,7 +100775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *638 + - *639 - name: role description: Filters members returned by their role in the team. in: query @@ -100523,7 +100826,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -100560,7 +100863,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -100600,7 +100903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -100637,16 +100940,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 responses: '200': description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-user-is-a-team-maintainer: *639 + response-if-user-is-a-team-maintainer: *640 '404': *6 x-github: githubCloudOnly: false @@ -100679,7 +100982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 requestBody: required: false @@ -100705,9 +101008,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - response-if-users-membership-with-team-is-now-pending: *640 + response-if-users-membership-with-team-is-now-pending: *641 '403': description: Forbidden if team synchronization is set up '422': @@ -100741,7 +101044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *638 + - *639 - *63 responses: '204': @@ -100769,7 +101072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -100781,7 +101084,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 '404': *6 @@ -100811,15 +101114,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *641 + schema: *642 examples: alternative-response-with-extra-repository-information: value: @@ -100970,9 +101273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 requestBody: required: false content: @@ -101022,9 +101325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *638 - - *318 + - *639 - *319 + - *320 responses: '204': description: Response @@ -101049,7 +101352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *638 + - *639 - *17 - *19 responses: @@ -101061,7 +101364,7 @@ paths: type: array items: *183 examples: - response-if-child-teams-exist: *642 + response-if-child-teams-exist: *643 headers: Link: *59 '404': *6 @@ -101094,7 +101397,7 @@ paths: application/json: schema: oneOf: - - &644 + - &645 title: Private User description: Private User type: object @@ -101344,7 +101647,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *643 + - *644 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101504,7 +101807,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: default: value: @@ -101707,9 +102010,9 @@ paths: type: integer codespaces: type: array - items: *228 + items: *229 examples: - default: *229 + default: *230 '304': *35 '500': *107 '401': *23 @@ -101848,17 +102151,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -101902,7 +102205,7 @@ paths: type: integer secrets: type: array - items: &645 + items: &646 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -101944,7 +102247,7 @@ paths: - visibility - selected_repositories_url examples: - default: *440 + default: *441 headers: Link: *59 x-github: @@ -102022,7 +102325,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: default: value: @@ -102168,7 +102471,7 @@ paths: type: array items: *148 examples: - default: *646 + default: *184 '401': *23 '403': *27 '404': *6 @@ -102312,15 +102615,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '304': *35 '500': *107 '401': *23 @@ -102346,7 +102649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 requestBody: required: false content: @@ -102376,9 +102679,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '401': *23 '403': *27 '404': *6 @@ -102400,7 +102703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '202': *37 '304': *35 @@ -102429,7 +102732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '202': description: Response @@ -102520,7 +102823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *230 + - *231 - name: export_id in: path required: true @@ -102556,7 +102859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *230 + - *231 responses: '200': description: Response @@ -102572,7 +102875,7 @@ paths: type: integer machines: type: array - items: *439 + items: *440 examples: default: *649 '304': *35 @@ -102603,7 +102906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *230 + - *231 requestBody: required: true content: @@ -102659,11 +102962,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *322 machine: anyOf: - type: 'null' - - *439 + - *440 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -103460,15 +103763,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '304': *35 '500': *107 '400': *14 @@ -103500,15 +103803,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *438 + default: *439 '500': *107 '401': *23 '403': *27 @@ -103538,7 +103841,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: &660 value: @@ -104652,12 +104955,12 @@ paths: application/json: schema: anyOf: - - *215 + - *216 - type: object properties: {} additionalProperties: false examples: - default: *216 + default: *217 '204': description: Response when there are no restrictions x-github: @@ -104681,7 +104984,7 @@ paths: required: true content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -104692,7 +104995,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -104773,7 +105076,7 @@ paths: - closed - all default: open - - *226 + - *227 - name: sort description: What to sort results by. in: query @@ -104798,7 +105101,7 @@ paths: type: array items: *75 examples: - default: *227 + default: *228 headers: Link: *59 '404': *6 @@ -104969,7 +105272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *540 + - *541 responses: '200': description: Response @@ -105000,7 +105303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *540 + - *541 responses: '204': description: Response @@ -105216,7 +105519,7 @@ paths: application/json: schema: type: array - items: *232 + items: *233 examples: default: value: @@ -105330,7 +105633,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: default: value: @@ -105417,7 +105720,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: default: value: @@ -105489,7 +105792,7 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: default: value: @@ -105751,7 +106054,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -105931,7 +106234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *235 + - *236 - name: exclude in: query required: false @@ -105944,7 +106247,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: default: value: @@ -106138,7 +106441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *235 + - *236 responses: '302': description: Response @@ -106164,7 +106467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *235 + - *236 responses: '204': description: Response @@ -106193,7 +106496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *235 + - *236 - *658 responses: '204': @@ -106218,7 +106521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *235 + - *236 - *17 - *19 responses: @@ -106230,7 +106533,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 '404': *6 @@ -106337,7 +106640,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *660 '400': *661 @@ -106360,14 +106663,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: default: &679 value: @@ -106482,8 +106785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 responses: '204': description: Response @@ -106513,8 +106816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *242 - *243 + - *244 - name: token description: package token schema: @@ -106546,8 +106849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *242 - *243 + - *244 - *19 - *17 - name: state @@ -106567,7 +106870,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -106616,15 +106919,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -106660,9 +106963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '204': description: Response @@ -106692,9 +106995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 responses: '204': description: Response @@ -107164,9 +107467,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107210,7 +107513,7 @@ paths: application/json: schema: type: array - items: *512 + items: *513 examples: default: *663 headers: @@ -107235,7 +107538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *219 + - *220 responses: '204': description: Response @@ -107264,7 +107567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *219 + - *220 responses: '204': description: Response @@ -107835,8 +108138,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: - - *318 - *319 + - *320 responses: '204': description: Response if this repository is starred by you @@ -107864,8 +108167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -107889,8 +108192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *318 - *319 + - *320 responses: '204': description: Response @@ -107925,7 +108228,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 '304': *35 @@ -107962,7 +108265,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: value: @@ -108048,8 +108351,8 @@ paths: application/json: schema: oneOf: + - *645 - *644 - - *643 examples: default-response: &673 summary: Default response @@ -108150,7 +108453,7 @@ paths: required: true schema: type: string - - *258 + - *259 requestBody: required: true description: Details of the draft item to create in the project. @@ -108184,9 +108487,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: - draft_issue: *264 + draft_issue: *265 '304': *35 '403': *27 '401': *23 @@ -108245,7 +108548,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *671 - - *258 + - *259 requestBody: required: true content: @@ -108323,13 +108626,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *268 + value: *269 board_view: summary: Response for creating a board view with filter - value: *268 + value: *269 roadmap_view: summary: Response for creating a roadmap view - value: *268 + value: *269 '304': *35 '403': *27 '401': *23 @@ -108371,8 +108674,8 @@ paths: application/json: schema: oneOf: + - *645 - *644 - - *643 examples: default-response: *673 response-with-git-hub-plan-information: *674 @@ -108700,7 +109003,7 @@ paths: initiator: type: string examples: - default: *379 + default: *380 '201': description: Response content: @@ -108753,7 +109056,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *660 '403': *27 @@ -109245,7 +109548,7 @@ paths: application/json: schema: *20 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109381,7 +109684,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *660 '403': *27 @@ -109406,15 +109709,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: default: *679 x-github: @@ -109437,8 +109740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '204': @@ -109471,8 +109774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *242 - *243 + - *244 - *63 - name: token description: package token @@ -109505,8 +109808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *242 - *243 + - *244 - *63 responses: '200': @@ -109515,7 +109818,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -109573,16 +109876,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *242 - *243 - - *245 + - *244 + - *246 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -109617,10 +109920,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *242 - *243 + - *244 - *63 - - *245 + - *246 responses: '204': description: Response @@ -109652,10 +109955,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *242 - *243 + - *244 - *63 - - *245 + - *246 responses: '204': description: Response @@ -109696,9 +109999,9 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -109720,16 +110023,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *258 + - *259 - *63 responses: '200': description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 headers: Link: *59 '304': *35 @@ -109751,7 +110054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *258 + - *259 - *63 - *17 - *45 @@ -109763,7 +110066,7 @@ paths: application/json: schema: type: array - items: *261 + items: *262 examples: default: *680 headers: @@ -109787,7 +110090,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *63 - - *258 + - *259 requestBody: required: true content: @@ -109870,7 +110173,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: text_field: *685 number_field: *686 @@ -109897,7 +110200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *258 + - *259 - *690 - *63 responses: @@ -109905,7 +110208,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *262 examples: default: *691 headers: @@ -109930,7 +110233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *258 + - *259 - *63 - *45 - *46 @@ -109963,9 +110266,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -109987,7 +110290,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *258 + - *259 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -110057,22 +110360,22 @@ paths: description: Response content: application/json: - schema: *263 + schema: *264 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *264 + value: *265 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *264 + value: *265 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *264 + value: *265 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *264 + value: *265 '304': *35 '403': *27 '401': *23 @@ -110092,9 +110395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *258 + - *259 - *63 - - *267 + - *268 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -110114,9 +110417,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -110137,9 +110440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *258 + - *259 - *63 - - *267 + - *268 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -110212,13 +110515,13 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - text_field: *266 - number_field: *266 - date_field: *266 - single_select_field: *266 - iteration_field: *266 + text_field: *267 + number_field: *267 + date_field: *267 + single_select_field: *267 + iteration_field: *267 '401': *23 '403': *27 '404': *6 @@ -110238,9 +110541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *258 + - *259 - *63 - - *267 + - *268 responses: '204': description: Response @@ -110262,7 +110565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *258 + - *259 - *63 - *692 - name: fields @@ -110290,9 +110593,9 @@ paths: application/json: schema: type: array - items: *265 + items: *266 examples: - default: *266 + default: *267 headers: Link: *59 '304': *35 @@ -110513,7 +110816,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -111011,7 +111314,7 @@ paths: type: array items: *148 examples: - default: *246 + default: *247 headers: Link: *59 x-github: @@ -116811,7 +117114,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117143,7 +117446,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117487,7 +117790,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117846,7 +118149,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118129,7 +118432,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118427,7 +118730,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118748,7 +119051,7 @@ webhooks: required: - login - id - dismissed_comment: *410 + dismissed_comment: *411 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119350,7 +119653,7 @@ webhooks: type: string enum: - created - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -119517,7 +119820,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -119597,7 +119900,7 @@ webhooks: type: string enum: - updated - definition: *269 + definition: *270 enterprise: *700 installation: *701 organization: *702 @@ -119685,11 +119988,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *273 + items: *274 old_property_values: type: array description: The old custom property values for the repository. - items: *273 + items: *274 required: - action - repository @@ -119856,7 +120159,7 @@ webhooks: type: string enum: - assignees_changed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -119940,7 +120243,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120025,7 +120328,7 @@ webhooks: type: string enum: - auto_reopened - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120110,7 +120413,7 @@ webhooks: type: string enum: - created - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120193,7 +120496,7 @@ webhooks: type: string enum: - dismissed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120276,7 +120579,7 @@ webhooks: type: string enum: - fixed - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120360,7 +120663,7 @@ webhooks: type: string enum: - reintroduced - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -120443,7 +120746,7 @@ webhooks: type: string enum: - reopened - alert: *468 + alert: *469 installation: *701 organization: *702 enterprise: *700 @@ -121969,10 +122272,10 @@ webhooks: deployment: anyOf: - type: 'null' - - *474 + - *475 pull_requests: type: array - items: *558 + items: *559 repository: *703 organization: *702 installation: *701 @@ -130162,7 +130465,7 @@ webhooks: pin: anyOf: - type: 'null' - - *537 + - *538 user: title: User type: @@ -131061,8 +131364,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131079,7 +131382,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -131661,7 +131964,7 @@ webhooks: pin: anyOf: - type: 'null' - - *537 + - *538 required: - url - html_url @@ -132484,8 +132787,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132502,7 +132805,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -133754,8 +134057,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133772,7 +134075,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -135013,8 +135316,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135031,7 +135334,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -136273,8 +136576,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136291,7 +136594,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -137895,11 +138198,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137916,7 +138219,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -138917,11 +139220,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138938,7 +139241,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -140072,11 +140375,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140093,7 +140396,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -141106,11 +141409,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141127,7 +141430,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -142263,11 +142566,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142281,7 +142584,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -143280,11 +143583,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143298,7 +143601,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -144322,11 +144625,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144340,7 +144643,7 @@ webhooks: timeline_url: type: string format: uri - type: *223 + type: *224 title: description: Title of the issue type: string @@ -145333,11 +145636,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145354,7 +145657,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -146323,11 +146626,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146427,7 +146730,7 @@ webhooks: required: - login - id - type: *223 + type: *224 required: - id - number @@ -147731,11 +148034,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147752,7 +148055,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -148746,11 +149049,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148767,7 +149070,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -149783,11 +150086,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149884,7 +150187,7 @@ webhooks: format: uri user_view_type: type: string - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -150774,11 +151077,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150795,7 +151098,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -151479,7 +151782,7 @@ webhooks: enterprise: *700 installation: *701 issue: *727 - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -152636,11 +152939,11 @@ webhooks: anyOf: - type: 'null' - *76 - sub_issues_summary: *636 - issue_dependencies_summary: *637 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *522 + items: *523 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152657,7 +152960,7 @@ webhooks: title: description: Title of the issue type: string - type: *223 + type: *224 updated_at: type: string format: date-time @@ -152904,7 +153207,7 @@ webhooks: enterprise: *700 installation: *701 issue: *727 - type: *223 + type: *224 organization: *702 repository: *703 sender: *4 @@ -154910,7 +155213,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *399 + head_commit: *400 required: - head_sha - head_ref @@ -160701,7 +161004,7 @@ webhooks: - closed installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -160784,7 +161087,7 @@ webhooks: - created installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -160867,7 +161170,7 @@ webhooks: - deleted installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -160990,7 +161293,7 @@ webhooks: type: string installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -161109,7 +161412,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *262 + content_type: *263 creator: *4 created_at: type: string @@ -161864,7 +162167,7 @@ webhooks: - reopened installation: *701 organization: *702 - projects_v2: *256 + projects_v2: *257 sender: *4 required: - action @@ -169763,7 +170066,7 @@ webhooks: organization: *702 pull_request: &746 allOf: - - *558 + - *559 - type: object properties: allow_auto_merge: @@ -169992,7 +170295,7 @@ webhooks: enum: - demilestoned enterprise: *700 - milestone: *259 + milestone: *260 number: *745 organization: *702 pull_request: &747 @@ -182476,7 +182779,7 @@ webhooks: enum: - milestoned enterprise: *700 - milestone: *259 + milestone: *260 number: *745 organization: *702 pull_request: *747 @@ -226312,7 +226615,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_advisory: *622 + repository_advisory: *623 sender: *4 required: - action @@ -226392,7 +226695,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_advisory: *622 + repository_advisory: *623 sender: *4 required: - action @@ -227258,7 +227561,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 sender: *4 required: - action @@ -227340,7 +227643,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 sender: *4 required: - action @@ -227422,7 +227725,7 @@ webhooks: installation: *701 organization: *702 repository: *703 - repository_ruleset: *301 + repository_ruleset: *302 changes: type: object properties: @@ -227441,16 +227744,16 @@ webhooks: properties: added: type: array - items: *275 + items: *276 deleted: type: array - items: *275 + items: *276 updated: type: array items: type: object properties: - condition: *275 + condition: *276 changes: type: object properties: @@ -227483,16 +227786,16 @@ webhooks: properties: added: type: array - items: *578 + items: *579 deleted: type: array - items: *578 + items: *579 updated: type: array items: type: object properties: - rule: *578 + rule: *579 changes: type: object properties: @@ -230146,11 +230449,11 @@ webhooks: from: type: object properties: - security_and_analysis: *274 + security_and_analysis: *275 enterprise: *700 installation: *701 organization: *702 - repository: *321 + repository: *322 sender: *4 required: - changes @@ -235480,7 +235783,7 @@ webhooks: type: string required: - conclusion - deployment: *474 + deployment: *475 required: - action - repository @@ -235844,7 +236147,7 @@ webhooks: required: - status - steps - deployment: *474 + deployment: *475 required: - action - repository @@ -236072,7 +236375,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *474 + deployment: *475 required: - action - repository @@ -236301,7 +236604,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *474 + deployment: *475 required: - action - repository 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 b01be10db..154d219f3 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -5711,6 +5711,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -6859,6 +6867,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -7780,6 +7796,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -8266,6 +8290,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -10637,6 +10669,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -11817,6 +11857,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -12861,6 +12909,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13608,6 +13664,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -31561,6 +31625,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -32440,1105 +32512,14 @@ "write" ] }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": [ - "read" - ] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": [ - "read", - "write" - ] - }, - "email_addresses": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "enum": [ "read", "write" ] }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": [ - "read", - "write" - ] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": [ - "read", - "write" - ] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": [ - "write" - ] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "enterprise_organization_installations": { - "type": "string", - "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_organization_installation_repositories": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository access of GitHub Apps on Enterprise-owned organizations.", - "enum": [ - "read", - "write" - ] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "events": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "single_file_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "config.yaml" - ] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [ - true - ] - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "app_slug": { - "type": "string", - "examples": [ - "github-actions" - ] - }, - "suspended_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "suspended_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "contact_email": { - "type": [ - "string", - "null" - ], - "examples": [ - "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"" - ] - } - }, - "required": [ - "id", - "app_id", - "app_slug", - "target_id", - "target_type", - "single_file_name", - "repository_selection", - "access_tokens_url", - "html_url", - "repositories_url", - "events", - "account", - "permissions", - "created_at", - "updated_at", - "suspended_by", - "suspended_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": [ - "push", - "pull_request" - ], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ], - "repository_selection": "selected", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - } - } - } - } - }, - "201": { - "description": "A GitHub App installation.", - "content": { - "application/json": { - "schema": { - "title": "Installation", - "description": "Installation", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [ - 1 - ] - }, - "account": { - "anyOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - } - ], - "type": [ - "null", - "object" - ] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", - "type": "string", - "enum": [ - "all", - "selected" - ] - }, - "access_tokens_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/app/installations/1/access_tokens" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/installation/repositories" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/organizations/github/settings/installations/1" - ] - }, - "app_id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "client_id": { - "type": "string", - "examples": [ - "Iv1.ab1112223334445c" - ] - }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { - "type": "string", - "examples": [ - "Organization" - ] - }, - "permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": [ - "read", - "write" - ] - }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, - "attestations": { - "type": "string", - "description": "The level of permission to create and retrieve the access token for repository attestations.", - "enum": [ - "read", - "write" - ] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": [ - "read", - "write" - ] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": [ - "read", - "write" - ] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": [ - "read", - "write" - ] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - "discussions": { - "type": "string", - "description": "The level of permission to grant the access token for discussions and related comments and labels.", - "enum": [ - "read", - "write" - ] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - "issues": { - "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", - "enum": [ - "read", - "write" - ] - }, - "merge_queues": { - "type": "string", - "description": "The level of permission to grant the access token to manage the merge queues for a repository.", - "enum": [ - "read", - "write" - ] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": [ - "read", - "write" - ] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": [ - "read", - "write" - ] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": [ - "read", - "write" - ] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": [ - "read", - "write" - ] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - "custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": [ - "write" - ] - }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -34027,406 +33008,9 @@ } } } - } - }, - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "client_id": { - "type": "string", - "description": "The Client ID of the GitHub App to install." - }, - "repository_selection": { - "type": "string", - "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", - "enum": [ - "all", - "selected", - "none" - ] - }, - "repositories": { - "type": "array", - "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", - "items": { - "type": "string" - }, - "maxItems": 50 - } - }, - "required": [ - "client_id", - "repository_selection" - ] - }, - "examples": { - "default": { - "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", - "value": { - "client_id": "Iv2abc123aabbcc", - "repository_selection": "all" - } - }, - "repository_selection_selected": { - "value": { - "client_id": "Iv2abc123aabbcc", - "repository_selection": "selected", - "repositories": [ - "hello-world", - "hello-world-2" - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - } - }, - "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { - "delete": { - "summary": "Uninstall a GitHub App from an enterprise-owned organization", - "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/delete-installation", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - } - ], - "responses": { - "204": { - "description": "An empty response indicates that the installation was successfully removed." - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - } - }, - "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { - "get": { - "summary": "Get the repositories accessible to a given GitHub App installation", - "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/organization-installation-repositories", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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": "A list of repositories owned by the enterprise organization to which the installation has access.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Accessible Repository", - "description": "A repository that may be made accessible to a GitHub App.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" - ] - } - }, - "required": [ - "full_name", - "id", - "name" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "name": "Hello World", - "full_name": "octocat/Hello-World" - }, - { - "id": 2, - "login": "Goodbye World", - "full_name": "octocat/Goodbye-World" - } - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - }, - "patch": { - "summary": "Toggle installation repository access between selected and all repositories", - "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/change-installation-repository-access-selection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_selection": { - "type": "string", - "description": "One of either 'all' or 'selected'", - "enum": [ - "all", - "selected" - ] - }, - "repositories": { - "type": "array", - "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", - "items": { - "type": "string" - }, - "maxItems": 50 - } - }, - "required": [ - "repository_selection" - ] - }, - "examples": { - "default": { - "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", - "value": { - "repository_selection": "selected", - "repositories": [ - "hello-world", - "hello-world-2" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "The GitHub App installation that was updated.", + "201": { + "description": "A GitHub App installation.", "content": { "application/json": { "schema": { @@ -35035,6 +33619,1518 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "enterprise_organization_installations": { + "type": "string", + "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_organization_installation_repositories": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository access of GitHub Apps on Enterprise-owned organizations.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": [ + "string", + "null" + ], + "examples": [ + "config.yaml" + ] + }, + "has_multiple_single_files": { + "type": "boolean", + "examples": [ + true + ] + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "examples": [ + "github-actions" + ] + }, + "suspended_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "suspended_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "contact_email": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"" + ] + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { + "get": { + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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": "A list of repositories owned by the enterprise organization to which the installation has access.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "patch": { + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/change-installation-repository-access-selection", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_selection": { + "type": "string", + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] + }, + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", + "value": { + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The GitHub App installation that was updated.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "account": { + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ], + "type": [ + "null", + "object" + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/app/installations/1/access_tokens" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/installation/repositories" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/organizations/github/settings/installations/1" + ] + }, + "app_id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "client_id": { + "type": "string", + "examples": [ + "Iv1.ab1112223334445c" + ] + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "examples": [ + "Organization" + ] + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "artifact_metadata": { + "type": "string", + "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", + "enum": [ + "read", + "write" + ] + }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -54205,6 +54301,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -176447,8 +176551,2476 @@ } } }, - "401": { - "description": "Requires authentication", + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + }, + "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", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + }, + "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": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "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", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "has_commit_comments": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "template_repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "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": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -176473,8 +179045,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -176499,8 +179071,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -176526,26 +179098,98 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "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": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -176556,71 +179200,49 @@ "schema": { "type": "string" } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } } } }, - "500": { - "description": "Internal Error", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -176645,8 +179267,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -176671,8 +179293,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -176697,8 +179319,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -176722,16 +179344,13 @@ } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } } }, @@ -207033,6 +209652,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -208196,6 +210823,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -486308,6 +488943,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -778361,6 +781004,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -868550,6 +871201,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1147484,6 +1150143,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1150631,6 +1153298,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1153683,6 +1156358,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1156735,6 +1159418,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1159921,6 +1162612,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1163114,6 +1165813,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1168326,6 +1171033,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", 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 b417d7094..0cb8d4d61 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &436 + type: &437 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1079,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: - - &740 + - &741 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &344 + - &345 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &345 + items: &346 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &346 + default: &347 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &750 + schema: &751 title: Scim Error description: Scim Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &348 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &348 + default: &349 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2585,6 +2585,14 @@ paths: This property is in public preview and is subject to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access + token to view and manage Copilot coding agent settings + for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access @@ -9425,7 +9433,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &751 + '401': &752 description: Authorization failure '404': *6 x-github: @@ -13698,7 +13706,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &525 + instances_url: &526 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13734,7 +13742,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &526 + dismissed_reason: &527 type: - string - 'null' @@ -13745,14 +13753,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &527 + dismissed_comment: &528 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &528 + rule: &529 type: object properties: id: @@ -13813,7 +13821,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &529 + tool: &530 type: object properties: name: *111 @@ -13824,26 +13832,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &530 + most_recent_instance: &531 type: object properties: - ref: &523 + ref: &524 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &540 + analysis_key: &541 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &541 + environment: &542 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &543 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13857,7 +13865,7 @@ paths: properties: text: type: string - location: &543 + location: &544 type: object description: Describe a region within a file for the alert. properties: @@ -13878,7 +13886,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &544 + items: &545 type: - string - 'null' @@ -16288,7 +16296,7 @@ paths: parent: anyOf: - type: 'null' - - &383 + - &384 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -17066,7 +17074,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &323 + '413': &324 description: Payload Too Large content: application/json: @@ -18145,7 +18153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &328 + - &329 name: state in: query description: |- @@ -18154,7 +18162,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &329 + - &330 name: severity in: query description: |- @@ -18163,7 +18171,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &330 + - &331 name: ecosystem in: query description: |- @@ -18172,14 +18180,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &331 + - &332 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &332 + - &333 name: epss_percentage in: query description: |- @@ -18191,7 +18199,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &581 + - &582 name: has in: query description: |- @@ -18205,7 +18213,7 @@ paths: type: string enum: - patch - - &333 + - &334 name: assignee in: query description: |- @@ -18214,7 +18222,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &334 + - &335 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -18224,7 +18232,7 @@ paths: enum: - development - runtime - - &335 + - &336 name: sort in: query description: |- @@ -18250,7 +18258,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 type: object description: A Dependabot alert. properties: @@ -18317,7 +18325,7 @@ paths: - direct - transitive - - security_advisory: &582 + security_advisory: &583 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -18553,7 +18561,7 @@ paths: dismissal. maxLength: 280 fixed_at: *136 - auto_dismissed_at: &583 + auto_dismissed_at: &584 type: - string - 'null' @@ -18561,7 +18569,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &584 + dismissal_request: &585 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18624,7 +18632,7 @@ paths: - repository additionalProperties: false examples: - default: &337 + default: &338 value: - number: 2 state: dismissed @@ -19601,7 +19609,7 @@ paths: application/json: schema: *20 examples: - default: &360 + default: &361 value: id: 1 account: @@ -19862,7 +19870,7 @@ paths: - name - created_on examples: - default: &440 + default: &441 value: total_count: 2 network_configurations: @@ -20087,7 +20095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &441 + - &442 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -20099,7 +20107,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &443 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -20138,7 +20146,7 @@ paths: - subnet_id - region examples: - default: &443 + default: &444 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20991,7 +20999,7 @@ paths: required: true content: application/json: - schema: &414 + schema: &415 title: Custom Property Set Payload description: Custom property set payload type: object @@ -22193,7 +22201,7 @@ paths: conditions: anyOf: - *158 - - &418 + - &419 title: Organization ruleset conditions type: object description: |- @@ -22243,7 +22251,7 @@ paths: - object rules: type: array - items: &706 + items: &707 title: Repository Rule type: object description: A repository rule. @@ -22252,7 +22260,7 @@ paths: - *167 - *168 - *169 - - &704 + - &705 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -22580,7 +22588,7 @@ paths: type: string format: date-time examples: - default: &421 + default: &422 value: - version_id: 3 actor: @@ -22633,7 +22641,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &423 allOf: - *191 - type: object @@ -22688,7 +22696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &423 + - &424 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22699,7 +22707,7 @@ paths: enum: - open - resolved - - &424 + - &425 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22709,7 +22717,7 @@ paths: required: false schema: type: string - - &425 + - &426 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22718,7 +22726,7 @@ paths: required: false schema: type: string - - &426 + - &427 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22737,7 +22745,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &427 + - &428 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. @@ -22753,7 +22761,7 @@ paths: - *17 - *108 - *109 - - &428 + - &429 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22762,7 +22770,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22771,7 +22779,7 @@ paths: schema: type: boolean default: false - - &430 + - &431 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22780,7 +22788,7 @@ paths: schema: type: boolean default: false - - &431 + - &432 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22796,7 +22804,7 @@ paths: application/json: schema: type: array - items: &432 + items: &433 type: object properties: number: *126 @@ -22812,14 +22820,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &718 + state: &719 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: &719 + resolution: &720 type: - string - 'null' @@ -22926,14 +22934,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &720 + - &721 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &722 + - &723 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22990,7 +22998,7 @@ paths: - blob_url - commit_sha - commit_url - - &723 + - &724 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -23051,7 +23059,7 @@ paths: - page_url - commit_sha - commit_url - - &724 + - &725 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -23066,7 +23074,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &725 + - &726 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -23081,7 +23089,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &726 + - &727 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -23096,7 +23104,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &727 + - &728 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -23111,7 +23119,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &728 + - &729 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -23126,7 +23134,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &729 + - &730 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -23141,7 +23149,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &730 + - &731 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -23156,7 +23164,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &731 + - &732 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -23171,7 +23179,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &732 + - &733 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -23186,7 +23194,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &733 + - &734 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -23201,7 +23209,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &734 + - &735 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -23226,7 +23234,7 @@ paths: - type: 'null' - *4 examples: - default: &433 + default: &434 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -23435,7 +23443,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -23522,7 +23530,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &435 + default: &436 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -23658,7 +23666,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &437 + - &438 name: advanced_security_product in: query description: | @@ -23678,7 +23686,7 @@ paths: description: Success content: application/json: - schema: &438 + schema: &439 type: object properties: total_advanced_security_committers: @@ -23741,7 +23749,7 @@ paths: required: - repositories examples: - default: &439 + default: &440 value: total_advanced_security_committers: 2 total_count: 2 @@ -27402,7 +27410,7 @@ paths: milestone: anyOf: - type: 'null' - - &404 + - &405 title: Milestone description: A collection of related issues and pull requests. @@ -27574,7 +27582,7 @@ paths: timeline_url: type: string format: uri - type: &370 + type: &371 title: Issue Type description: The type of issue. type: @@ -27685,7 +27693,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &778 + sub_issues_summary: &779 title: Sub-issues Summary type: object properties: @@ -27769,7 +27777,7 @@ paths: pin: anyOf: - type: 'null' - - &663 + - &664 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27796,7 +27804,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &779 + issue_dependencies_summary: &780 title: Issue Dependencies Summary type: object properties: @@ -27815,7 +27823,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -28598,7 +28606,7 @@ paths: type: string release: allOf: - - &697 + - &698 title: Release description: A release. type: object @@ -28680,7 +28688,7 @@ paths: author: *4 assets: type: array - items: &698 + items: &699 title: Release Asset description: Data related to a release. type: object @@ -29271,7 +29279,7 @@ paths: url: type: string format: uri - user: &785 + user: &786 title: Public User description: Public User type: object @@ -31168,7 +31176,7 @@ paths: - closed - all default: open - - &373 + - &374 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -31219,7 +31227,7 @@ paths: type: array items: *219 examples: - default: &374 + default: &375 value: - id: 1 node_id: MDU6SXNzdWUx @@ -32631,14 +32639,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: - - &452 + - &453 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &453 + - &454 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -32700,7 +32708,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &458 + '301': &459 description: Moved permanently content: application/json: @@ -32722,7 +32730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &671 + - &672 name: all description: If `true`, show notifications marked as read. in: query @@ -32730,7 +32738,7 @@ paths: schema: type: boolean default: false - - &672 + - &673 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -32740,7 +32748,7 @@ paths: type: boolean default: false - *224 - - &673 + - &674 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: @@ -33124,7 +33132,7 @@ paths: type: boolean examples: - false - security_and_analysis: &415 + security_and_analysis: &416 type: - object - 'null' @@ -33336,7 +33344,7 @@ paths: - url - subscription_url examples: - default: &674 + default: &675 value: - id: '1' repository: @@ -33941,7 +33949,7 @@ paths: - 3 custom_roles: type: array - items: &324 + items: &325 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -33990,7 +33998,7 @@ paths: - created_at - updated_at examples: - default: &325 + default: &326 value: id: 8030 name: Security Engineer @@ -34465,7 +34473,7 @@ paths: type: array items: *152 examples: - default: &680 + default: &681 value: - property_name: environment value: production @@ -34515,7 +34523,7 @@ paths: required: - properties examples: - default: &681 + default: &682 value: properties: - property_name: environment @@ -35406,7 +35414,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &466 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37643,7 +37651,7 @@ paths: type: array items: *279 examples: - default: &788 + default: &323 value: total_count: 1 repositories: @@ -38687,7 +38695,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -38722,7 +38730,7 @@ paths: - key_id - key examples: - default: &486 + default: &487 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39135,7 +39143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &470 + - &471 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)." @@ -40803,7 +40811,7 @@ paths: initiator: type: string examples: - default: &499 + default: &500 value: attestations: - bundle: @@ -41725,7 +41733,7 @@ paths: be returned. in: query required: false - schema: &524 + schema: &525 type: string description: Severity of a code scanning alert. enum: @@ -42781,7 +42789,7 @@ paths: type: integer codespaces: type: array - items: &375 + items: &376 type: object title: Codespace description: A codespace. @@ -42816,7 +42824,7 @@ paths: machine: anyOf: - type: 'null' - - &556 + - &557 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -43103,7 +43111,7 @@ paths: - pulls_url - recent_folders examples: - default: &376 + default: &377 value: total_count: 3 codespaces: @@ -43768,7 +43776,7 @@ paths: - updated_at - visibility examples: - default: &557 + default: &558 value: total_count: 2 secrets: @@ -43806,7 +43814,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &559 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -43841,7 +43849,7 @@ paths: - key_id - key examples: - default: &559 + default: &560 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43873,7 +43881,7 @@ paths: application/json: schema: *322 examples: - default: &561 + default: &562 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44670,6 +44678,301 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - *87 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': *38 + '401': *23 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *279 + required: + - total_count + - repositories + examples: + default: *323 + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *273 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *273 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -44804,7 +45107,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *323 + '413': *324 '422': *7 x-github: githubCloudOnly: @@ -45251,7 +45554,7 @@ paths: - 3 custom_roles: type: array - items: *324 + items: *325 examples: default: value: @@ -45343,7 +45646,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &327 type: object properties: name: @@ -45385,9 +45688,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45418,9 +45721,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: true @@ -45448,7 +45751,7 @@ paths: required: true content: application/json: - schema: &327 + schema: &328 type: object properties: name: @@ -45487,9 +45790,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45547,7 +45850,7 @@ paths: required: true content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -45561,9 +45864,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45600,9 +45903,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: true @@ -45636,7 +45939,7 @@ paths: required: true content: application/json: - schema: *327 + schema: *328 examples: default: value: @@ -45651,9 +45954,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45713,11 +46016,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *328 - *329 - *330 - *331 - *332 + - *333 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -45747,7 +46050,7 @@ paths: enum: - patch - deployment - - *333 + - *334 - name: runtime_risk in: query description: |- @@ -45756,8 +46059,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *334 - *335 + - *336 - *110 - *108 - *109 @@ -45769,9 +46072,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 '304': *35 '400': *14 '403': *27 @@ -45815,7 +46118,7 @@ paths: type: integer secrets: type: array - items: &338 + items: &339 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -45894,7 +46197,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &588 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -45913,7 +46216,7 @@ paths: - key_id - key examples: - default: &588 + default: &589 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -45943,7 +46246,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -46241,7 +46544,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &596 + - &597 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -46249,7 +46552,7 @@ paths: required: false schema: type: string - - &597 + - &598 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -46257,7 +46560,7 @@ paths: required: false schema: type: string - - &598 + - &599 name: time_period description: |- The time period to filter by. @@ -46273,7 +46576,7 @@ paths: - week - month default: month - - &599 + - &600 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -46298,7 +46601,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -46408,7 +46711,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &339 + items: &340 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -46461,7 +46764,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &601 + default: &602 value: - id: 21 number: 42 @@ -46553,7 +46856,7 @@ paths: - *103 - *104 - *105 - - &340 + - &341 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -46579,7 +46882,7 @@ paths: application/json: schema: type: array - items: &602 + items: &603 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -46689,7 +46992,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *339 + items: *340 url: type: string format: uri @@ -46702,7 +47005,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &603 + default: &604 value: - id: 21 number: 42 @@ -46794,7 +47097,7 @@ paths: - *103 - *104 - *105 - - *340 + - *341 - *17 - *19 responses: @@ -46804,7 +47107,7 @@ paths: application/json: schema: type: array - items: &604 + items: &605 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -46931,7 +47234,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &605 + default: &606 value: - id: 21 number: 42 @@ -47019,7 +47322,7 @@ paths: application/json: schema: type: array - items: &385 + items: &386 title: Package description: A software package type: object @@ -47090,7 +47393,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &387 value: - id: 197 name: hello_docker @@ -47277,7 +47580,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -47367,7 +47670,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &450 + default: &451 value: group_id: '123' group_name: Octocat admins @@ -47422,7 +47725,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &447 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -47462,7 +47765,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &447 + default: &448 value: groups: - group_id: '123' @@ -47507,7 +47810,7 @@ paths: application/json: schema: type: array - items: &364 + items: &365 title: Organization Invitation description: Organization Invitation type: object @@ -47561,7 +47864,7 @@ paths: - invitation_teams_url - node_id examples: - default: &365 + default: &366 value: - id: 1 login: monalisa @@ -47628,7 +47931,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -47642,7 +47945,7 @@ paths: - name - description examples: - default: &417 + default: &418 value: - name: add_assignee description: Assign or remove a user @@ -47683,7 +47986,7 @@ paths: application/json: schema: type: array - items: &341 + items: &342 title: Org Hook description: Org Hook type: object @@ -47866,9 +48169,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: &342 + default: &343 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -47913,7 +48216,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &343 + - &344 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -47926,9 +48229,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *342 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -47950,7 +48253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *343 + - *344 requestBody: required: false content: @@ -47996,7 +48299,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -48036,7 +48339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *343 + - *344 responses: '204': description: Response @@ -48062,7 +48365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *343 + - *344 responses: '200': description: Response @@ -48091,7 +48394,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *343 + - *344 requestBody: required: false content: @@ -48140,9 +48443,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *343 - - *17 - *344 + - *17 + - *345 responses: '200': description: Response @@ -48150,9 +48453,9 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *346 + default: *347 '400': *14 '422': *15 x-github: @@ -48176,16 +48479,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *343 + - *344 - *16 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 '400': *14 '422': *15 x-github: @@ -48209,7 +48512,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *343 + - *344 - *16 responses: '202': *37 @@ -48236,7 +48539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *343 + - *344 responses: '204': description: Response @@ -48259,7 +48562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &353 + - &354 name: actor_type in: path description: The type of the actor @@ -48272,14 +48575,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &354 + - &355 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &349 + - &350 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -48287,7 +48590,7 @@ paths: required: true schema: type: string - - &350 + - &351 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -48382,12 +48685,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *349 - *350 + - *351 - *19 - *17 - *110 - - &359 + - &360 name: sort description: The property to sort the results by. in: query @@ -48466,14 +48769,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *349 - *350 + - *351 responses: '200': description: Response content: application/json: - schema: &351 + schema: &352 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -48489,7 +48792,7 @@ paths: type: integer format: int64 examples: - default: &352 + default: &353 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -48510,23 +48813,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &355 + - &356 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *349 - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: enabledForGitHubApps: true category: orgs @@ -48545,18 +48848,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *349 - *350 - - *353 + - *351 - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: enabledForGitHubApps: true category: orgs @@ -48574,9 +48877,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *349 - *350 - - &356 + - *351 + - &357 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -48589,7 +48892,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &358 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -48605,7 +48908,7 @@ paths: type: integer format: int64 examples: - default: &358 + default: &359 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -48642,18 +48945,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *355 - - *349 - - *350 - *356 + - *350 + - *351 + - *357 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: enabledForGitHubApps: true category: orgs @@ -48671,19 +48974,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *353 - *354 - - *349 + - *355 - *350 - - *356 + - *351 + - *357 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: enabledForGitHubApps: true category: orgs @@ -48701,13 +49004,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *355 - - *349 + - *356 - *350 + - *351 - *19 - *17 - *110 - - *359 + - *360 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -48791,7 +49094,7 @@ paths: application/json: schema: *20 examples: - default: *360 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48911,12 +49214,12 @@ paths: application/json: schema: anyOf: - - &362 + - &363 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &361 + limit: &362 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -48944,7 +49247,7 @@ paths: properties: {} additionalProperties: false examples: - default: &363 + default: &364 value: limit: collaborators_only origin: organization @@ -48973,13 +49276,13 @@ paths: required: true content: application/json: - schema: &636 + schema: &637 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *361 + limit: *362 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -49004,9 +49307,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '422': *15 x-github: githubCloudOnly: false @@ -49084,9 +49387,9 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 '404': *6 @@ -49164,7 +49467,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *365 examples: default: value: @@ -49221,7 +49524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &366 + - &367 name: invitation_id description: The unique identifier of the invitation. in: path @@ -49255,7 +49558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *366 + - *367 - *17 - *19 responses: @@ -49267,7 +49570,7 @@ paths: type: array items: *308 examples: - default: &384 + default: &385 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -49310,7 +49613,7 @@ paths: application/json: schema: type: array - items: &367 + items: &368 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -49553,9 +49856,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &368 + default: &369 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -49611,7 +49914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &369 + - &370 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -49712,9 +50015,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *368 + default: *369 '404': *6 '422': *7 x-github: @@ -49739,7 +50042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *369 + - *370 responses: '204': *151 '404': *6 @@ -49769,7 +50072,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -49857,9 +50160,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -49892,7 +50195,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &372 + - &373 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -49948,9 +50251,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 '422': *7 x-github: @@ -49975,7 +50278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *372 + - *373 responses: '204': description: Response @@ -50038,7 +50341,7 @@ paths: - closed - all default: open - - *373 + - *374 - name: type description: Can be the name of an issue type. in: query @@ -50069,7 +50372,7 @@ paths: type: array items: *219 examples: - default: *374 + default: *375 headers: Link: *45 '404': *6 @@ -50228,9 +50531,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 '304': *35 '500': *38 '401': *23 @@ -50257,7 +50560,7 @@ paths: parameters: - *87 - *139 - - &377 + - &378 name: codespace_name in: path required: true @@ -50292,15 +50595,15 @@ paths: parameters: - *87 - *139 - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &555 + default: &556 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -50556,7 +50859,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &379 title: Org Membership description: Org Membership type: object @@ -50625,7 +50928,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &379 + response-if-user-has-an-active-admin-membership-with-organization: &380 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -50726,9 +51029,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: - response-if-user-already-had-membership-with-organization: *379 + response-if-user-already-had-membership-with-organization: *380 '422': *15 '403': *27 x-github: @@ -50800,7 +51103,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Migration description: A migration. type: object @@ -51138,7 +51441,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -51317,7 +51620,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &381 + - &382 name: migration_id description: The unique identifier of the migration. in: path @@ -51345,7 +51648,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -51515,7 +51818,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *381 + - *382 responses: '302': description: Response @@ -51537,7 +51840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *381 + - *382 responses: '204': description: Response @@ -51561,7 +51864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *381 + - *382 - &800 name: repo_name description: repo_name parameter @@ -51590,7 +51893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *381 + - *382 - *17 - *19 responses: @@ -51602,7 +51905,7 @@ paths: type: array items: *279 examples: - default: &391 + default: &392 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51813,7 +52116,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &382 + items: &383 title: Organization Role description: Organization roles type: object @@ -52022,7 +52325,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52252,7 +52555,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52349,7 +52652,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52508,7 +52811,7 @@ paths: parent: anyOf: - type: 'null' - - *383 + - *384 type: description: The ownership type of the team type: string @@ -52541,7 +52844,7 @@ paths: - type - parent examples: - default: *384 + default: *385 headers: Link: *45 '404': @@ -52600,7 +52903,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *383 + items: *384 name: type: - string @@ -52946,9 +53249,9 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 '403': *27 '401': *23 '400': &803 @@ -52973,7 +53276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &387 + - &388 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -52991,7 +53294,7 @@ paths: - docker - nuget - container - - &388 + - &389 name: package_name description: The name of the package. in: path @@ -53004,7 +53307,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -53056,8 +53359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *387 - *388 + - *389 - *87 responses: '204': @@ -53090,8 +53393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - name: token description: package token @@ -53124,8 +53427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *387 - *388 + - *389 - *87 - *19 - *17 @@ -53146,7 +53449,7 @@ paths: application/json: schema: type: array - items: &389 + items: &390 title: Package Version description: A version of a software package type: object @@ -53281,10 +53584,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - &390 + - &391 name: package_version_id description: Unique identifier of the package version. in: path @@ -53296,7 +53599,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -53332,10 +53635,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - *390 + - *391 responses: '204': description: Response @@ -53367,10 +53670,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - *390 + - *391 responses: '204': description: Response @@ -53400,7 +53703,7 @@ paths: - *87 - *17 - *19 - - &392 + - &393 name: sort description: The property by which to sort the results. in: query @@ -53411,7 +53714,7 @@ paths: - created_at default: created_at - *110 - - &393 + - &394 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -53423,7 +53726,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &394 + - &395 name: repository description: The name of the repository to use to filter the results. in: query @@ -53432,7 +53735,7 @@ paths: type: string examples: - Hello-World - - &395 + - &396 name: permission description: The permission to use to filter the results. in: query @@ -53441,7 +53744,7 @@ paths: type: string examples: - issues_read - - &396 + - &397 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -53451,7 +53754,7 @@ paths: schema: type: string format: date-time - - &397 + - &398 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -53461,7 +53764,7 @@ paths: schema: type: string format: date-time - - &398 + - &399 name: token_id description: The ID of the token in: query @@ -53780,7 +54083,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -53806,14 +54109,14 @@ paths: - *87 - *17 - *19 - - *392 - - *110 - *393 + - *110 - *394 - *395 - *396 - *397 - *398 + - *399 responses: '500': *38 '422': *15 @@ -54097,7 +54400,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -54139,7 +54442,7 @@ paths: type: integer configurations: type: array - items: &399 + items: &400 title: Organization private registry description: Private registry configuration for an organization type: object @@ -54435,7 +54738,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &400 + org-private-registry-with-selected-visibility: &401 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -54533,9 +54836,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -54703,7 +55006,7 @@ paths: application/json: schema: type: array - items: &401 + items: &402 title: Projects v2 Project description: A projects v2 project type: object @@ -54862,7 +55165,7 @@ paths: - deleted_at - deleted_by examples: - default: &402 + default: &403 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -54965,7 +55268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &403 + - &404 name: project_number description: The project's number. in: path @@ -54978,9 +55281,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -55003,7 +55306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true description: Details of the draft item to create in the project. @@ -55037,7 +55340,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 title: Projects v2 Item description: An item belonging to a project type: object @@ -55051,7 +55354,7 @@ paths: content: oneOf: - *219 - - &570 + - &571 title: Pull Request Simple description: Pull Request Simple type: object @@ -55171,7 +55474,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 active_lock_reason: type: - string @@ -55264,7 +55567,7 @@ paths: _links: type: object properties: - comments: &405 + comments: &406 title: Link description: Hypermedia Link type: object @@ -55273,13 +55576,13 @@ paths: type: string required: - href - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + commits: *406 + statuses: *406 + html: *406 + issue: *406 + review_comments: *406 + review_comment: *406 + self: *406 required: - comments - commits @@ -55290,7 +55593,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: &683 + auto_merge: &684 title: Auto merge description: The status of auto merging a pull request. type: @@ -55392,7 +55695,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &407 + content_type: &408 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -55436,7 +55739,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &409 + draft_issue: &410 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -55510,7 +55813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *403 + - *404 - *87 - *17 - *108 @@ -55522,7 +55825,7 @@ paths: application/json: schema: type: array - items: &406 + items: &407 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -55805,7 +56108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *403 + - *404 - *87 requestBody: required: true @@ -55990,7 +56293,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *406 + schema: *407 examples: text_field: &827 value: @@ -56098,7 +56401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *403 + - *404 - &832 name: field_id description: The unique identifier of the field. @@ -56112,7 +56415,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: &833 value: @@ -56170,7 +56473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *403 + - *404 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -56203,7 +56506,7 @@ paths: application/json: schema: type: array - items: &410 + items: &411 title: Projects v2 Item description: An item belonging to a project type: object @@ -56220,7 +56523,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *407 + content_type: *408 content: type: - object @@ -56270,7 +56573,7 @@ paths: - updated_at - archived_at examples: - default: &411 + default: &412 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -56968,7 +57271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -57038,22 +57341,22 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *409 + value: *410 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *409 + value: *410 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *409 + value: *410 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *409 + value: *410 '304': *35 '403': *27 '401': *23 @@ -57073,9 +57376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *403 + - *404 - *87 - - &412 + - &413 name: item_id description: The unique identifier of the project item. in: path @@ -57101,9 +57404,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -57124,9 +57427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *403 + - *404 - *87 - - *412 + - *413 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -57199,13 +57502,13 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - text_field: *411 - number_field: *411 - date_field: *411 - single_select_field: *411 - iteration_field: *411 + text_field: *412 + number_field: *412 + date_field: *412 + single_select_field: *412 + iteration_field: *412 '401': *23 '403': *27 '404': *6 @@ -57225,9 +57528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *403 + - *404 - *87 - - *412 + - *413 responses: '204': description: Response @@ -57251,7 +57554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true content: @@ -57429,7 +57732,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &413 + value: &414 value: id: 1 number: 1 @@ -57475,10 +57778,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *413 + value: *414 roadmap_view: summary: Response for creating a roadmap view - value: *413 + value: *414 '304': *35 '403': *27 '401': *23 @@ -57506,7 +57809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view parameters: - - *403 + - *404 - *87 - &834 name: view_number @@ -57540,9 +57843,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -57706,7 +58009,7 @@ paths: required: true content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -58074,7 +58377,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -58278,7 +58581,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: Full Repository description: Full Repository type: object @@ -58760,7 +59063,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &575 + code_of_conduct: &576 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -58790,7 +59093,7 @@ paths: - key - name - html_url - security_and_analysis: *415 + security_and_analysis: *416 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -58874,7 +59177,7 @@ paths: - network_count - subscribers_count examples: - default: &459 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59400,9 +59703,9 @@ paths: application/json: schema: type: array - items: *416 + items: *417 examples: - default: *417 + default: *418 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59427,7 +59730,7 @@ paths: - *87 - *17 - *19 - - &705 + - &706 name: targets description: | A comma-separated list of rule targets to filter by. @@ -59519,11 +59822,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *418 + conditions: *419 rules: type: array description: An array of rules within the ruleset. - items: &420 + items: &421 title: Repository Rule type: object description: A repository rule. @@ -59588,7 +59891,7 @@ paths: application/json: schema: *187 examples: - default: &419 + default: &420 value: id: 21 name: super cool ruleset @@ -59644,7 +59947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &707 + - &708 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 @@ -59656,14 +59959,14 @@ paths: x-multi-segment: true - *305 - *105 - - &708 + - &709 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 - - &709 + - &710 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -59683,7 +59986,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &711 title: Rule Suites description: Response type: array @@ -59739,7 +60042,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &711 + default: &712 value: - id: 21 actor_id: 12 @@ -59783,7 +60086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &712 + - &713 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -59799,7 +60102,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &714 title: Rule Suite description: Response type: object @@ -59906,7 +60209,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &714 + default: &715 value: id: 21 actor_id: 12 @@ -59981,7 +60284,7 @@ paths: application/json: schema: *187 examples: - default: *419 + default: *420 '404': *6 '500': *38 put: @@ -60030,11 +60333,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *418 + conditions: *419 rules: description: An array of rules within the ruleset. type: array - items: *420 + items: *421 examples: default: value: @@ -60071,7 +60374,7 @@ paths: application/json: schema: *187 examples: - default: *419 + default: *420 '404': *6 '422': *15 '500': *38 @@ -60131,7 +60434,7 @@ paths: type: array items: *191 examples: - default: *421 + default: *422 '404': *6 '500': *38 x-github: @@ -60168,7 +60471,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -60231,15 +60534,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *423 - *424 - *425 - *426 - *427 + - *428 - *110 - *19 - *17 - - &716 + - &717 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 @@ -60249,7 +60552,7 @@ paths: required: false schema: type: string - - &717 + - &718 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 @@ -60259,10 +60562,10 @@ paths: required: false schema: type: string - - *428 - *429 - *430 - *431 + - *432 responses: '200': description: Response @@ -60270,9 +60573,9 @@ paths: application/json: schema: type: array - items: *432 + items: *433 examples: - default: *433 + default: *434 headers: Link: *45 '404': *6 @@ -60307,9 +60610,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '403': *27 '404': *6 patch: @@ -60462,7 +60765,7 @@ paths: application/json: schema: type: array - items: &738 + items: &739 description: A repository security advisory. type: object properties: @@ -60706,7 +61009,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 credits_detailed: type: - array @@ -60717,7 +61020,7 @@ paths: type: object properties: user: *4 - type: *436 + type: *437 state: type: string description: The state of the user's acceptance of the @@ -60781,7 +61084,7 @@ paths: - private_fork additionalProperties: false examples: - default: &739 + default: &740 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -61168,7 +61471,7 @@ paths: application/json: schema: type: array - items: *383 + items: *384 examples: default: value: @@ -61267,7 +61570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *437 + - *438 - *17 - *19 responses: @@ -61275,9 +61578,9 @@ paths: description: Success content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61560,7 +61863,7 @@ paths: type: array items: *144 examples: - default: *440 + default: *441 headers: Link: *45 x-github: @@ -61763,15 +62066,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *441 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 headers: Link: *45 x-github: @@ -61809,7 +62112,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &455 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -61861,7 +62164,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &455 + default: &456 value: groups: - group_id: '123' @@ -61987,7 +62290,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 headers: Link: *45 '403': *27 @@ -62081,7 +62384,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &445 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -62155,7 +62458,7 @@ paths: parent: anyOf: - type: 'null' - - *383 + - *384 members_count: type: integer examples: @@ -62480,7 +62783,7 @@ paths: - repos_count - organization examples: - default: &445 + default: &446 value: id: 1 node_id: MDQ6VGVhbTE= @@ -62557,9 +62860,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -62644,16 +62947,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '201': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 '422': *15 '403': *27 @@ -62683,7 +62986,7 @@ paths: responses: '204': description: Response - '422': &448 + '422': &449 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -62712,10 +63015,10 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: *447 - '422': *448 + default: *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -62759,10 +63062,10 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 - '422': *448 + default: *451 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62786,7 +63089,7 @@ paths: responses: '204': description: Response - '422': *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62818,12 +63121,12 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 - '422': *448 + '422': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62905,7 +63208,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: Team Membership description: Team Membership type: object @@ -62933,7 +63236,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &781 + response-if-user-is-a-team-maintainer: &782 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -62996,9 +63299,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-users-membership-with-team-is-now-pending: &782 + response-if-users-membership-with-team-is-now-pending: &783 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -63074,7 +63377,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -63105,14 +63408,14 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &784 title: Team Repository description: A team's access to a repository. type: object @@ -63755,8 +64058,8 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 requestBody: required: false content: @@ -63803,8 +64106,8 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 responses: '204': description: Response @@ -63837,10 +64140,10 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 - '422': *448 + default: *456 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -63906,7 +64209,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -63918,7 +64221,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -63952,7 +64255,7 @@ paths: type: array items: *308 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &785 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -64106,7 +64409,7 @@ paths: resources: type: object properties: - core: &456 + core: &457 title: Rate Limit type: object properties: @@ -64123,21 +64426,21 @@ paths: - remaining - reset - used - graphql: *456 - search: *456 - code_search: *456 - source_import: *456 - integration_manifest: *456 - code_scanning_upload: *456 - actions_runner_registration: *456 - scim: *456 - dependency_snapshots: *456 - dependency_sbom: *456 - code_scanning_autofix: *456 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search - rate: *456 + rate: *457 required: - rate - resources @@ -64242,14 +64545,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: default-response: summary: Default response @@ -64758,7 +65061,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *458 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64776,8 +65079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -65079,10 +65382,10 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 - '307': &460 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -65111,8 +65414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -65134,7 +65437,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': *460 + '307': *461 '404': *6 '409': *119 x-github: @@ -65158,11 +65461,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 - - &477 + - &478 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -65185,7 +65488,7 @@ paths: type: integer artifacts: type: array - items: &461 + items: &462 title: Artifact description: An artifact type: object @@ -65280,7 +65583,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &479 value: total_count: 2 artifacts: @@ -65341,9 +65644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *452 - *453 - - &462 + - *454 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -65355,7 +65658,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -65393,9 +65696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *452 - *453 - - *462 + - *454 + - *463 responses: '204': description: Response @@ -65419,9 +65722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *452 - *453 - - *462 + - *454 + - *463 - name: archive_format in: path required: true @@ -65435,7 +65738,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': &639 + '410': &640 description: Gone content: application/json: @@ -65460,14 +65763,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -65501,13 +65804,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *463 + schema: *464 examples: selected_actions: *42 responses: @@ -65536,14 +65839,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &464 + schema: &465 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -65577,13 +65880,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *464 + schema: *465 examples: selected_actions: *44 responses: @@ -65614,14 +65917,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: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -65647,11 +65950,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: - - *452 - *453 + - *454 - *17 - *19 - - &466 + - &467 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 @@ -65685,7 +65988,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &468 title: Repository actions caches description: Repository actions caches type: object @@ -65735,7 +66038,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &469 value: total_count: 1 actions_caches: @@ -65767,23 +66070,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: - - *452 - *453 + - *454 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65803,8 +66106,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: - - *452 - *453 + - *454 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -65835,9 +66138,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: - - *452 - *453 - - &469 + - *454 + - &470 name: job_id description: The unique identifier of the job. in: path @@ -65849,7 +66152,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: Job description: Information of a job execution in a workflow run type: object @@ -66196,9 +66499,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: - - *452 - *453 - - *469 + - *454 + - *470 responses: '302': description: Response @@ -66226,9 +66529,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: - - *452 - *453 - - *469 + - *454 + - *470 requestBody: required: false content: @@ -66274,8 +66577,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: - - *452 - *453 + - *454 responses: '200': description: Status response @@ -66325,8 +66628,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -66389,8 +66692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -66408,7 +66711,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -66429,7 +66732,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &485 value: total_count: 2 secrets: @@ -66462,9 +66765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *452 - *453 - - *470 + - *454 + - *471 - *19 responses: '200': @@ -66481,7 +66784,7 @@ paths: type: integer variables: type: array - items: &487 + items: &488 title: Actions Variable type: object properties: @@ -66515,7 +66818,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 variables: @@ -66548,8 +66851,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66558,7 +66861,7 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &472 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -66593,8 +66896,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -66605,7 +66908,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *472 allowed_actions: *60 sha_pinning_required: *61 required: @@ -66638,14 +66941,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: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &472 + schema: &473 type: object properties: access_level: @@ -66663,7 +66966,7 @@ paths: required: - access_level examples: - default: &473 + default: &474 value: access_level: organization x-github: @@ -66688,15 +66991,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: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 responses: '204': description: Response @@ -66720,8 +67023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66751,8 +67054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Empty response for successful settings update @@ -66786,8 +67089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66814,8 +67117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -66849,8 +67152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66878,8 +67181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -66910,8 +67213,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66942,8 +67245,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -66975,8 +67278,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67005,8 +67308,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: - - *452 - *453 + - *454 responses: '204': description: Success response @@ -67046,8 +67349,8 @@ paths: in: query schema: type: string - - *452 - *453 + - *454 - *17 - *19 responses: @@ -67091,8 +67394,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67124,8 +67427,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -67199,8 +67502,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: - - *452 - *453 + - *454 responses: '201': description: Response @@ -67236,8 +67539,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: - - *452 - *453 + - *454 responses: '201': description: Response @@ -67267,8 +67570,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: - - *452 - *453 + - *454 - *75 responses: '200': @@ -67298,8 +67601,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: - - *452 - *453 + - *454 - *75 responses: '204': @@ -67326,8 +67629,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: - - *452 - *453 + - *454 - *75 responses: '200': *81 @@ -67352,8 +67655,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: - - *452 - *453 + - *454 - *75 requestBody: required: true @@ -67402,8 +67705,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: - - *452 - *453 + - *454 - *75 requestBody: required: true @@ -67453,8 +67756,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: - - *452 - *453 + - *454 - *75 responses: '200': *286 @@ -67484,8 +67787,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: - - *452 - *453 + - *454 - *75 - *287 responses: @@ -67515,9 +67818,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: - - *452 - *453 - - &491 + - *454 + - &492 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. @@ -67525,7 +67828,7 @@ paths: required: false schema: type: string - - &492 + - &493 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -67533,7 +67836,7 @@ paths: required: false schema: type: string - - &493 + - &494 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -67542,7 +67845,7 @@ paths: required: false schema: type: string - - &494 + - &495 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 @@ -67569,7 +67872,7 @@ paths: - pending - *17 - *19 - - &495 + - &496 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)." @@ -67578,7 +67881,7 @@ paths: schema: type: string format: date-time - - &474 + - &475 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -67587,13 +67890,13 @@ paths: schema: type: boolean default: false - - &496 + - &497 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &498 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -67616,7 +67919,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &476 title: Workflow Run description: An invocation of a workflow type: object @@ -67794,7 +68097,7 @@ paths: head_commit: anyOf: - type: 'null' - - &519 + - &520 title: Simple Commit description: A commit. type: object @@ -67909,7 +68212,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &499 value: total_count: 1 workflow_runs: @@ -68145,24 +68448,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *452 - *453 - - &476 + - *454 + - &477 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &479 + default: &480 value: id: 30433642 name: Build @@ -68403,9 +68706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '204': description: Response @@ -68428,9 +68731,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -68558,9 +68861,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '201': description: Response @@ -68593,12 +68896,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *452 - *453 - - *476 + - *454 + - *477 - *17 - *19 - - *477 + - *478 - *110 responses: '200': @@ -68615,9 +68918,9 @@ paths: type: integer artifacts: type: array - items: *461 + items: *462 examples: - default: *478 + default: *479 headers: Link: *45 x-github: @@ -68641,25 +68944,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *452 - *453 - - *476 - - &480 + - *454 + - *477 + - &481 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68682,10 +68985,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: - - *452 - *453 - - *476 - - *480 + - *454 + - *477 + - *481 - *17 - *19 responses: @@ -68703,9 +69006,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *482 examples: - default: &482 + default: &483 value: total_count: 1 jobs: @@ -68818,10 +69121,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *452 - *453 - - *476 - - *480 + - *454 + - *477 + - *481 responses: '302': description: Response @@ -68849,9 +69152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '202': description: Response @@ -68884,9 +69187,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: true content: @@ -68953,9 +69256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '202': description: Response @@ -68988,9 +69291,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: - - *452 - *453 - - *476 + - *454 + - *477 - 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 @@ -69020,9 +69323,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *482 examples: - default: *482 + default: *483 headers: Link: *45 x-github: @@ -69047,9 +69350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '302': description: Response @@ -69076,9 +69379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '204': description: Response @@ -69105,9 +69408,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -69176,7 +69479,7 @@ paths: items: type: object properties: - type: &606 + type: &607 type: string description: The type of reviewer. enum: @@ -69262,9 +69565,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: true content: @@ -69314,7 +69617,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -69426,7 +69729,7 @@ paths: - created_at - updated_at examples: - default: &592 + default: &593 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -69482,9 +69785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: false content: @@ -69529,9 +69832,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: false content: @@ -69586,9 +69889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -69725,8 +70028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -69744,9 +70047,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *484 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -69771,16 +70074,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69802,17 +70105,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &619 + default: &620 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -69838,8 +70141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -69897,8 +70200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -69924,9 +70227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *452 - *453 - - *470 + - *454 + - *471 - *19 responses: '200': @@ -69943,9 +70246,9 @@ paths: type: integer variables: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *45 x-github: @@ -69968,8 +70271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -70021,17 +70324,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &620 + default: &621 value: name: USERNAME value: octocat @@ -70057,8 +70360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 requestBody: required: true @@ -70101,8 +70404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 responses: '204': @@ -70128,8 +70431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -70147,7 +70450,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &490 title: Workflow description: A GitHub Actions workflow type: object @@ -70265,9 +70568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *452 - *453 - - &490 + - *454 + - &491 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -70282,7 +70585,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -70315,9 +70618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Response @@ -70342,9 +70645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -70431,9 +70734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Response @@ -70460,19 +70763,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: - - *452 - *453 - - *490 + - *454 - *491 - *492 - *493 - *494 + - *495 - *17 - *19 - - *495 - - *474 - *496 + - *475 - *497 + - *498 responses: '200': description: Response @@ -70488,9 +70791,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *476 examples: - default: *498 + default: *499 headers: Link: *45 x-github: @@ -70523,9 +70826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '200': description: Response @@ -70586,8 +70889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *452 - *453 + - *454 - *110 - *17 - *108 @@ -70755,8 +71058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -70793,8 +71096,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: - - *452 - *453 + - *454 - name: assignee in: path required: true @@ -70830,8 +71133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -70943,8 +71246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *452 - *453 + - *454 - *17 - *108 - *109 @@ -71001,7 +71304,7 @@ paths: initiator: type: string examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71021,8 +71324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -71030,7 +71333,7 @@ paths: application/json: schema: type: array - items: &500 + items: &501 title: Autolink reference description: An autolink reference. type: object @@ -71089,8 +71392,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -71129,9 +71432,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 key_prefix: TICKET- @@ -71162,9 +71465,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: - - *452 - *453 - - &502 + - *454 + - &503 name: autolink_id description: The unique identifier of the autolink. in: path @@ -71176,9 +71479,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '404': *6 x-github: githubCloudOnly: false @@ -71198,9 +71501,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: - - *452 - *453 - - *502 + - *454 + - *503 responses: '204': description: Response @@ -71224,8 +71527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response if Dependabot is enabled @@ -71275,8 +71578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -71297,8 +71600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -71318,8 +71621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *452 - *453 + - *454 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -71357,7 +71660,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &505 title: Branch Protection description: Branch Protection type: object @@ -71400,7 +71703,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &508 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -71417,7 +71720,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &510 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -71501,7 +71804,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &507 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -71794,9 +72097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *452 - *453 - - &505 + - *454 + - &506 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). @@ -71810,14 +72113,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &566 + commit: &567 title: Commit description: Commit type: object @@ -71856,7 +72159,7 @@ paths: author: anyOf: - type: 'null' - - &503 + - &504 title: Git User description: Metaproperties for Git author/committer information. @@ -71878,7 +72181,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 message: type: string examples: @@ -71902,7 +72205,7 @@ paths: required: - sha - url - verification: &626 + verification: &627 title: Verification type: object properties: @@ -71982,7 +72285,7 @@ paths: type: integer files: type: array - items: &577 + items: &578 title: Diff Entry description: Diff Entry type: object @@ -72078,7 +72381,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *505 protection_url: type: string format: uri @@ -72187,7 +72490,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *458 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -72209,15 +72512,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: default: value: @@ -72411,9 +72714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -72673,7 +72976,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &513 title: Status Check Policy description: Status Check Policy type: object @@ -72832,7 +73135,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *507 required_conversation_resolution: type: object properties: @@ -72944,9 +73247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -72971,17 +73274,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -73003,17 +73306,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73032,9 +73335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73059,17 +73362,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: &510 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -73165,9 +73468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73265,9 +73568,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 '422': *15 x-github: githubCloudOnly: false @@ -73288,9 +73591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73317,17 +73620,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &511 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -73350,17 +73653,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -73380,9 +73683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73407,17 +73710,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -73443,9 +73746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73497,9 +73800,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *513 + default: *514 '404': *6 '422': *15 x-github: @@ -73521,9 +73824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73547,9 +73850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -73583,9 +73886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73652,9 +73955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73718,9 +74021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: content: application/json: @@ -73786,15 +74089,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -73885,9 +74188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73910,9 +74213,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -73922,7 +74225,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &515 value: - id: 1 slug: octoapp @@ -73979,9 +74282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74015,7 +74318,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -74036,9 +74339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74072,7 +74375,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -74093,9 +74396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74129,7 +74432,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -74151,9 +74454,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -74163,7 +74466,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -74183,9 +74486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74223,7 +74526,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -74244,9 +74547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74284,7 +74587,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -74305,9 +74608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: content: application/json: @@ -74344,7 +74647,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -74366,9 +74669,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -74402,9 +74705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74462,9 +74765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74522,9 +74825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74584,9 +74887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74608,7 +74911,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: default: value: @@ -74722,8 +75025,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 @@ -74759,8 +75062,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -74833,8 +75136,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 @@ -74874,8 +75177,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -74945,8 +75248,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -75017,8 +75320,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_response_id in: path required: true @@ -75051,8 +75354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -75331,7 +75634,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 title: CheckRun description: A check performed on the code of a given code change type: object @@ -75754,9 +76057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *452 - *453 - - &517 + - *454 + - &518 name: check_run_id description: The unique identifier of the check run. in: path @@ -75768,9 +76071,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &518 + default: &519 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -75870,9 +76173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *452 - *453 - - *517 + - *454 + - *518 requestBody: required: true content: @@ -76112,9 +76415,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76134,9 +76437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *452 - *453 - - *517 + - *454 + - *518 - *17 - *19 responses: @@ -76246,9 +76549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *452 - *453 - - *517 + - *454 + - *518 responses: '201': description: Response @@ -76292,8 +76595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -76315,7 +76618,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &520 + schema: &521 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -76413,7 +76716,7 @@ paths: - string - 'null' format: date-time - head_commit: *519 + head_commit: *520 latest_check_runs_count: type: integer check_runs_url: @@ -76441,7 +76744,7 @@ paths: - check_runs_url - pull_requests examples: - default: &521 + default: &522 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -76732,9 +77035,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76753,8 +77056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -77063,9 +77366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *452 - *453 - - &522 + - *454 + - &523 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -77077,9 +77380,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77102,17 +77405,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: - - *452 - *453 - - *522 - - &572 + - *454 + - *523 + - &573 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &573 + - &574 name: status description: Returns check runs with the specified `status`. in: query @@ -77151,9 +77454,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *517 examples: - default: &574 + default: &575 value: total_count: 1 check_runs: @@ -77255,9 +77558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *452 - *453 - - *522 + - *454 + - *523 responses: '201': description: Response @@ -77290,21 +77593,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: - - *452 - *453 + - *454 - *312 - *313 - *19 - *17 - - &538 + - &539 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: *523 - - &539 + schema: *524 + - &540 name: pr description: The number of the pull request for the results you want to list. in: query @@ -77335,7 +77638,7 @@ paths: be returned. in: query required: false - schema: *524 + schema: *525 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -77359,7 +77662,7 @@ paths: updated_at: *134 url: *131 html_url: *132 - instances_url: *525 + instances_url: *526 state: *113 fixed_at: *136 dismissed_by: @@ -77367,11 +77670,11 @@ paths: - type: 'null' - *4 dismissed_at: *135 - dismissed_reason: *526 - dismissed_comment: *527 - rule: *528 - tool: *529 - most_recent_instance: *530 + dismissed_reason: *527 + dismissed_comment: *528 + rule: *529 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: anyOf: - type: 'null' @@ -77494,7 +77797,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &531 + '403': &532 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -77521,9 +77824,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: - - *452 - *453 - - &532 + - *454 + - &533 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -77537,7 +77840,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 type: object properties: number: *126 @@ -77545,7 +77848,7 @@ paths: updated_at: *134 url: *131 html_url: *132 - instances_url: *525 + instances_url: *526 state: *113 fixed_at: *136 dismissed_by: @@ -77553,8 +77856,8 @@ paths: - type: 'null' - *4 dismissed_at: *135 - dismissed_reason: *526 - dismissed_comment: *527 + dismissed_reason: *527 + dismissed_comment: *528 rule: type: object properties: @@ -77616,8 +77919,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *529 - most_recent_instance: *530 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: anyOf: - type: 'null' @@ -77713,7 +78016,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -77733,9 +78036,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: true content: @@ -77750,8 +78053,8 @@ paths: enum: - open - dismissed - dismissed_reason: *526 - dismissed_comment: *527 + dismissed_reason: *527 + dismissed_comment: *528 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -77779,7 +78082,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -77855,7 +78158,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &537 + '403': &538 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -77882,15 +78185,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: - - *452 - *453 - - *532 + - *454 + - *533 responses: '200': description: Response content: application/json: - schema: &534 + schema: &535 type: object properties: status: @@ -77917,13 +78220,13 @@ paths: - description - started_at examples: - default: &535 + default: &536 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &536 + '400': &537 description: Bad Request content: application/json: @@ -77934,7 +78237,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': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -77959,29 +78262,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: - - *452 - *453 - - *532 + - *454 + - *533 responses: '200': description: OK content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '202': description: Accepted content: application/json: - schema: *534 + schema: *535 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *536 + '400': *537 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -78013,9 +78316,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: false content: @@ -78061,8 +78364,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *536 - '403': *537 + '400': *537 + '403': *538 '404': *6 '422': description: Unprocessable Entity @@ -78086,13 +78389,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: - - *452 - *453 - - *532 + - *454 + - *533 - *19 - *17 - - *538 - *539 + - *540 responses: '200': description: Response @@ -78103,10 +78406,10 @@ paths: items: type: object properties: - ref: *523 - analysis_key: *540 - environment: *541 - category: *542 + ref: *524 + analysis_key: *541 + environment: *542 + category: *543 state: type: - string @@ -78123,7 +78426,7 @@ paths: properties: text: type: string - location: *543 + location: *544 html_url: type: string classifications: @@ -78131,7 +78434,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *544 + items: *545 examples: default: value: @@ -78168,7 +78471,7 @@ paths: end_column: 50 classifications: - source - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78202,25 +78505,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: - - *452 - *453 + - *454 - *312 - *313 - *19 - *17 - - *539 + - *540 - 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: *523 + schema: *524 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &545 + schema: &546 type: string description: An identifier for the upload. examples: @@ -78242,23 +78545,23 @@ paths: application/json: schema: type: array - items: &546 + items: &547 type: object properties: - ref: *523 - commit_sha: &554 + ref: *524 + commit_sha: &555 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: *540 + analysis_key: *541 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *543 error: type: string examples: @@ -78283,8 +78586,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *545 - tool: *529 + sarif_id: *546 + tool: *530 deletable: type: boolean warning: @@ -78346,7 +78649,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78382,8 +78685,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: - - *452 - *453 + - *454 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -78396,7 +78699,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: response: summary: application/json response @@ -78450,7 +78753,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *531 + '403': *532 '404': *6 '422': description: Response if analysis could not be processed @@ -78537,8 +78840,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: - - *452 - *453 + - *454 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -78594,7 +78897,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': *537 + '403': *538 '404': *6 '503': *192 x-github: @@ -78616,8 +78919,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -78625,7 +78928,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: CodeQL Database description: A CodeQL database. type: object @@ -78737,7 +79040,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': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78766,8 +79069,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: - - *452 - *453 + - *454 - name: language in: path description: The language of the CodeQL database. @@ -78779,7 +79082,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -78811,9 +79114,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': &579 + '302': &580 description: Found - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78835,8 +79138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *452 - *453 + - *454 - name: language in: path description: The language of the CodeQL database. @@ -78846,7 +79149,7 @@ paths: responses: '204': description: Response - '403': *537 + '403': *538 '404': *6 '503': *192 x-github: @@ -78874,8 +79177,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -78884,7 +79187,7 @@ paths: type: object additionalProperties: false properties: - language: &548 + language: &549 type: string description: The language targeted by the CodeQL query enum: @@ -78964,7 +79267,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &552 + schema: &553 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -78974,7 +79277,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *548 + query_language: *549 query_pack_url: type: string description: The download url for the query pack. @@ -79022,7 +79325,7 @@ paths: items: type: object properties: - repository: &549 + repository: &550 title: Repository Identifier description: Repository Identifier type: object @@ -79064,7 +79367,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &553 + analysis_status: &554 type: string description: The new status of the CodeQL variant analysis repository task. @@ -79096,7 +79399,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &550 + access_mismatch_repos: &551 type: object properties: repository_count: @@ -79111,7 +79414,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: *549 + items: *550 required: - repository_count - repositories @@ -79134,8 +79437,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *550 - over_limit_repos: *550 + no_codeql_db_repos: *551 + over_limit_repos: *551 required: - access_mismatch_repos - not_found_repos @@ -79151,7 +79454,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &551 + value: &552 summary: Default response value: id: 1 @@ -79297,10 +79600,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *551 + value: *552 repository_lists: summary: Response for a successful variant analysis submission - value: *551 + value: *552 '404': *6 '422': description: Unable to process variant analysis submission @@ -79328,8 +79631,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: - - *452 - *453 + - *454 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -79341,9 +79644,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *551 + default: *552 '404': *6 '503': *192 x-github: @@ -79366,7 +79669,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: - - *452 + - *453 - name: repo in: path description: The name of the controller repository. @@ -79401,7 +79704,7 @@ paths: type: object properties: repository: *120 - analysis_status: *553 + analysis_status: *554 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -79526,8 +79829,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -79620,7 +79923,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -79641,8 +79944,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -79736,7 +80039,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *537 + '403': *538 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -79807,8 +80110,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -79816,7 +80119,7 @@ paths: schema: type: object properties: - commit_sha: *554 + commit_sha: *555 ref: type: string description: |- @@ -79876,7 +80179,7 @@ paths: schema: type: object properties: - id: *545 + id: *546 url: type: string description: The REST API URL for checking the status of the upload. @@ -79890,7 +80193,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': *537 + '403': *538 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -79913,8 +80216,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: - - *452 - *453 + - *454 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -79962,7 +80265,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': *531 + '403': *532 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -79987,8 +80290,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -80069,8 +80372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *452 - *453 + - *454 - 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 @@ -80198,8 +80501,8 @@ paths: parameters: - *17 - *19 - - *452 - *453 + - *454 responses: '200': description: Response @@ -80215,7 +80518,7 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: default: value: @@ -80513,8 +80816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -80578,17 +80881,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '400': *14 '401': *23 '403': *27 @@ -80617,8 +80920,8 @@ paths: parameters: - *17 - *19 - - *452 - *453 + - *454 responses: '200': description: Response @@ -80682,8 +80985,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: - - *452 - *453 + - *454 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -80720,7 +81023,7 @@ paths: type: integer machines: type: array - items: *556 + items: *557 examples: default: &791 value: @@ -80762,8 +81065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *452 - *453 + - *454 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -80850,8 +81153,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: - - *452 - *453 + - *454 - 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 @@ -80920,8 +81223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -80939,7 +81242,7 @@ paths: type: integer secrets: type: array - items: &560 + items: &561 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -80960,7 +81263,7 @@ paths: - created_at - updated_at examples: - default: *557 + default: *558 headers: Link: *45 x-github: @@ -80983,16 +81286,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81012,17 +81315,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81042,8 +81345,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: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -81096,8 +81399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -81126,8 +81429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *452 - *453 + - *454 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -81165,7 +81468,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Collaborator description: Collaborator type: object @@ -81358,8 +81661,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: - - *452 - *453 + - *454 - *139 responses: '204': @@ -81406,8 +81709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *452 - *453 + - *454 - *139 requestBody: required: false @@ -81434,7 +81737,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81662,8 +81965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *452 - *453 + - *454 - *139 responses: '204': @@ -81695,8 +81998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *452 - *453 + - *454 - *139 responses: '200': @@ -81717,7 +82020,7 @@ paths: user: anyOf: - type: 'null' - - *562 + - *563 required: - permission - role_name @@ -81771,8 +82074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -81782,7 +82085,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Commit Comment description: Commit Comment type: object @@ -81840,7 +82143,7 @@ paths: - created_at - updated_at examples: - default: &568 + default: &569 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81899,17 +82202,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &569 + default: &570 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81966,8 +82269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -81990,7 +82293,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -82041,8 +82344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -82064,8 +82367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -82092,7 +82395,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -82136,7 +82439,7 @@ paths: - content - created_at examples: - default: &641 + default: &642 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -82181,8 +82484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -82215,9 +82518,9 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -82246,9 +82549,9 @@ paths: description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -82270,10 +82573,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - &642 + - &643 name: reaction_id description: The unique identifier of the reaction. in: path @@ -82328,8 +82631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *452 - *453 + - *454 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -82385,9 +82688,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &690 + default: &691 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -82481,9 +82784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *452 - *453 - - &567 + - *454 + - &568 name: commit_sha description: The SHA of the commit. in: path @@ -82555,9 +82858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *452 - *453 - - *567 + - *454 + - *568 - *17 - *19 responses: @@ -82567,9 +82870,9 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: - default: *568 + default: *569 headers: Link: *45 x-github: @@ -82597,9 +82900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *452 - *453 - - *567 + - *454 + - *568 requestBody: required: true content: @@ -82634,9 +82937,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *569 + default: *570 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -82664,9 +82967,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: - - *452 - *453 - - *567 + - *454 + - *568 - *17 - *19 responses: @@ -82676,9 +82979,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: &682 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83215,11 +83518,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *452 - *453 + - *454 - *19 - *17 - - &571 + - &572 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)" @@ -83234,9 +83537,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &668 + default: &669 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -83349,11 +83652,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: - - *452 - *453 - - *571 + - *454 - *572 - *573 + - *574 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -83387,9 +83690,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *517 examples: - default: *574 + default: *575 headers: Link: *45 x-github: @@ -83414,9 +83717,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: - - *452 - *453 - - *571 + - *454 + - *572 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -83424,7 +83727,7 @@ paths: schema: type: integer example: 1 - - *572 + - *573 - *17 - *19 responses: @@ -83442,7 +83745,7 @@ paths: type: integer check_suites: type: array - items: *520 + items: *521 examples: default: value: @@ -83642,9 +83945,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: - - *452 - *453 - - *571 + - *454 + - *572 - *17 - *19 responses: @@ -83846,9 +84149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *452 - *453 - - *571 + - *454 + - *572 - *17 - *19 responses: @@ -83858,7 +84161,7 @@ paths: application/json: schema: type: array - items: &743 + items: &744 title: Status description: The status of a commit. type: object @@ -83939,7 +84242,7 @@ paths: site_admin: false headers: Link: *45 - '301': *458 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83967,8 +84270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -84001,11 +84304,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *575 + - *576 code_of_conduct_file: anyOf: - type: 'null' - - &576 + - &577 title: Community Health File type: object properties: @@ -84025,19 +84328,19 @@ paths: contributing: anyOf: - type: 'null' - - *576 + - *577 readme: anyOf: - type: 'null' - - *576 + - *577 issue_template: anyOf: - type: 'null' - - *576 + - *577 pull_request_template: anyOf: - type: 'null' - - *576 + - *577 required: - code_of_conduct - code_of_conduct_file @@ -84166,8 +84469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *452 - *453 + - *454 - *19 - *17 - name: basehead @@ -84215,8 +84518,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *566 - merge_base_commit: *566 + base_commit: *567 + merge_base_commit: *567 status: type: string enum: @@ -84240,10 +84543,10 @@ paths: - 6 commits: type: array - items: *566 + items: *567 files: type: array - items: *577 + items: *578 required: - url - html_url @@ -84529,8 +84832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -84700,7 +85003,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &578 + response-if-content-is-a-file-github-object: &579 summary: Response if content is a file value: type: file @@ -84837,7 +85140,7 @@ paths: - size - type - url - - &695 + - &696 title: Content File description: Content File type: object @@ -85055,7 +85358,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *579 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -85124,7 +85427,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *579 + '302': *580 '304': *35 x-github: githubCloudOnly: false @@ -85147,8 +85450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -85243,7 +85546,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &581 title: File Commit description: File Commit type: object @@ -85399,7 +85702,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: example-for-creating-a-file: value: @@ -85453,7 +85756,7 @@ paths: schema: oneOf: - *3 - - &621 + - &622 description: Repository rule violation was detected type: object properties: @@ -85474,7 +85777,7 @@ paths: items: type: object properties: - placeholder_id: &735 + placeholder_id: &736 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -85506,8 +85809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -85568,7 +85871,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -85623,8 +85926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *452 - *453 + - *454 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -85748,23 +86051,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *452 - *453 - - *328 + - *454 - *329 - *330 - *331 + - *332 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *332 - - *581 - *333 + - *582 - *334 - *335 + - *336 - *110 - *108 - *109 @@ -85776,7 +86079,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 type: object description: A Dependabot alert. properties: @@ -85826,7 +86129,7 @@ paths: - direct - transitive - - security_advisory: *582 + security_advisory: *583 security_vulnerability: *130 url: *131 html_url: *132 @@ -85857,8 +86160,8 @@ paths: dismissal. maxLength: 280 fixed_at: *136 - auto_dismissed_at: *583 - dismissal_request: *584 + auto_dismissed_at: *584 + dismissal_request: *585 assignees: type: array description: The users assigned to this alert. @@ -86113,9 +86416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *452 - *453 - - &586 + - *454 + - &587 name: alert_number in: path description: |- @@ -86130,7 +86433,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -86262,9 +86565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *452 - *453 - - *586 + - *454 + - *587 requestBody: required: true content: @@ -86320,7 +86623,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -86450,8 +86753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -86469,7 +86772,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &590 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -86523,16 +86826,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86552,15 +86855,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -86586,8 +86889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -86640,8 +86943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -86664,8 +86967,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: - - *452 - *453 + - *454 - 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 @@ -86839,8 +87142,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -87100,8 +87403,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -87184,7 +87487,7 @@ paths: - version - url additionalProperties: false - metadata: &590 + metadata: &591 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -87223,7 +87526,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *590 + metadata: *591 resolved: type: object description: A collection of resolved package dependencies. @@ -87237,7 +87540,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *590 + metadata: *591 relationship: type: string description: A notation of whether a dependency is requested @@ -87370,8 +87673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *452 - *453 + - *454 - name: sha description: The SHA recorded at creation time. in: query @@ -87412,9 +87715,9 @@ paths: application/json: schema: type: array - items: *591 + items: *592 examples: - default: *592 + default: *593 headers: Link: *45 x-github: @@ -87480,8 +87783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -87563,7 +87866,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: simple-example: summary: Simple example @@ -87636,9 +87939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *452 - *453 - - &593 + - *454 + - &594 name: deployment_id description: deployment_id parameter in: path @@ -87650,7 +87953,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -87715,9 +88018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *452 - *453 - - *593 + - *454 + - *594 responses: '204': description: Response @@ -87739,9 +88042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *452 - *453 - - *593 + - *454 + - *594 - *17 - *19 responses: @@ -87751,7 +88054,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 title: Deployment Status description: The status of a deployment. type: object @@ -87915,9 +88218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *452 - *453 - - *593 + - *454 + - *594 requestBody: required: true content: @@ -87992,9 +88295,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: &595 + default: &596 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -88050,9 +88353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *452 - *453 - - *593 + - *454 + - *594 - name: status_id in: path required: true @@ -88063,9 +88366,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -88092,12 +88395,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 - - *596 + - *454 - *597 - *598 - *599 + - *600 - *17 - *19 responses: @@ -88107,9 +88410,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 '404': *6 '403': *27 '500': *38 @@ -88133,8 +88436,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88146,7 +88449,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -88202,8 +88505,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88262,12 +88565,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 - - *596 + - *454 - *597 - *598 - *599 + - *600 - *17 - *19 responses: @@ -88277,9 +88580,9 @@ paths: application/json: schema: type: array - items: *602 + items: *603 examples: - default: *603 + default: *604 '404': *6 '403': *27 '500': *38 @@ -88303,8 +88606,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88316,7 +88619,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -88367,8 +88670,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88406,7 +88709,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -88457,8 +88760,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88529,8 +88832,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88563,12 +88866,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 - - *340 + - *341 - *17 - *19 responses: @@ -88578,9 +88881,9 @@ paths: application/json: schema: type: array - items: *604 + items: *605 examples: - default: *605 + default: *606 '404': *6 '403': *27 '500': *38 @@ -88605,8 +88908,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88618,7 +88921,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *604 + schema: *605 examples: default: value: @@ -88676,8 +88979,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88746,8 +89049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -88804,8 +89107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -88823,7 +89126,7 @@ paths: - 5 environments: type: array - items: &607 + items: &608 title: Environment description: Details of a deployment environment type: object @@ -88885,7 +89188,7 @@ paths: type: string examples: - wait_timer - wait_timer: &609 + wait_timer: &610 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -88927,7 +89230,7 @@ paths: items: type: object properties: - type: *606 + type: *607 reviewer: anyOf: - *4 @@ -88954,7 +89257,7 @@ paths: - id - node_id - type - deployment_branch_policy: &610 + deployment_branch_policy: &611 type: - object - 'null' @@ -89071,9 +89374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *452 - *453 - - &608 + - *454 + - &609 name: environment_name in: path required: true @@ -89086,9 +89389,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &611 + default: &612 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -89172,9 +89475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: false content: @@ -89184,7 +89487,7 @@ paths: - object - 'null' properties: - wait_timer: *609 + wait_timer: *610 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -89203,14 +89506,14 @@ paths: items: type: object properties: - type: *606 + type: *607 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *610 + deployment_branch_policy: *611 additionalProperties: false examples: default: @@ -89230,9 +89533,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *611 + default: *612 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -89256,9 +89559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *452 - *453 - - *608 + - *454 + - *609 responses: '204': description: Default response @@ -89283,9 +89586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *17 - *19 responses: @@ -89304,7 +89607,7 @@ paths: - 2 branch_policies: type: array - items: &612 + items: &613 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -89365,9 +89668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: true content: @@ -89415,9 +89718,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - example-wildcard: &613 + example-wildcard: &614 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -89459,10 +89762,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - &614 + - *454 + - *609 + - &615 name: branch_policy_id in: path required: true @@ -89474,9 +89777,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89495,10 +89798,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - *614 + - *454 + - *609 + - *615 requestBody: required: true content: @@ -89527,9 +89830,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89548,10 +89851,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - *614 + - *454 + - *609 + - *615 responses: '204': description: Response @@ -89576,9 +89879,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: - - *608 + - *609 + - *454 - *453 - - *452 responses: '200': description: List of deployment protection rules @@ -89595,7 +89898,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &615 + items: &616 title: Deployment protection rule description: Deployment protection rule type: object @@ -89617,7 +89920,7 @@ paths: for the environment. examples: - true - app: &616 + app: &617 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -89720,9 +90023,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: - - *608 + - *609 + - *454 - *453 - - *452 requestBody: content: application/json: @@ -89743,9 +90046,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *615 + schema: *616 examples: - default: &617 + default: &618 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -89780,9 +90083,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: - - *608 + - *609 + - *454 - *453 - - *452 - *19 - *17 responses: @@ -89802,7 +90105,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *616 + items: *617 examples: default: value: @@ -89837,10 +90140,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: - - *452 - *453 - - *608 - - &618 + - *454 + - *609 + - &619 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -89852,9 +90155,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: - default: *617 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89875,10 +90178,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: - - *608 + - *609 + - *454 - *453 - - *452 - - *618 + - *619 responses: '204': description: Response @@ -89904,9 +90207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *17 - *19 responses: @@ -89924,9 +90227,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *484 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -89951,17 +90254,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *452 - *453 - - *608 + - *454 + - *609 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89983,18 +90286,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *619 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90016,9 +90319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 requestBody: required: true @@ -90076,9 +90379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 responses: '204': @@ -90104,10 +90407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *452 - *453 - - *608 - - *470 + - *454 + - *609 + - *471 - *19 responses: '200': @@ -90124,9 +90427,9 @@ paths: type: integer variables: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *45 x-github: @@ -90149,9 +90452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: true content: @@ -90203,18 +90506,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *292 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *620 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90235,10 +90538,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *452 - *453 + - *454 - *292 - - *608 + - *609 requestBody: required: true content: @@ -90280,10 +90583,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *452 - *453 + - *454 - *292 - - *608 + - *609 responses: '204': description: Response @@ -90305,8 +90608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -90374,8 +90677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *452 - *453 + - *454 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -90534,8 +90837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -90568,9 +90871,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 '400': *14 '422': *15 '403': *27 @@ -90591,8 +90894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -90652,7 +90955,7 @@ paths: schema: oneOf: - *253 - - *621 + - *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90677,8 +90980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *452 - *453 + - *454 - name: file_sha in: path required: true @@ -90778,8 +91081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -90888,7 +91191,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &623 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -91115,15 +91418,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *452 - *453 - - *567 + - *454 + - *568 responses: '200': description: Response content: application/json: - schema: *622 + schema: *623 examples: default: value: @@ -91179,9 +91482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *452 - *453 - - &623 + - *454 + - &624 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. @@ -91198,7 +91501,7 @@ paths: application/json: schema: type: array - items: &624 + items: &625 title: Git Reference description: Git references within a repository type: object @@ -91274,17 +91577,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 responses: '200': description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: &625 + default: &626 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -91313,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91343,9 +91646,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *625 + default: *626 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -91371,9 +91674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 requestBody: required: true content: @@ -91402,9 +91705,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *625 + default: *626 '422': *15 '409': *119 x-github: @@ -91422,9 +91725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 responses: '204': description: Response @@ -91479,8 +91782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91547,7 +91850,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &628 title: Git Tag description: Metadata for a Git tag type: object @@ -91603,7 +91906,7 @@ paths: - sha - type - url - verification: *626 + verification: *627 required: - sha - url @@ -91613,7 +91916,7 @@ paths: - tag - message examples: - default: &628 + default: &629 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -91686,8 +91989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *452 - *453 + - *454 - name: tag_sha in: path required: true @@ -91698,9 +92001,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '404': *6 '409': *119 x-github: @@ -91724,8 +92027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91799,7 +92102,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -91901,8 +92204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *452 - *453 + - *454 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -91925,7 +92228,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: default-response: summary: Default response @@ -91984,8 +92287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -91995,7 +92298,7 @@ paths: application/json: schema: type: array - items: &630 + items: &631 title: Webhook description: Webhooks for repositories. type: object @@ -92135,8 +92438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -92189,9 +92492,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: &631 + default: &632 value: type: Repository id: 12345678 @@ -92239,17 +92542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '200': description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -92269,9 +92572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 requestBody: required: true content: @@ -92316,9 +92619,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '422': *15 '404': *6 x-github: @@ -92339,9 +92642,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -92365,9 +92668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '200': description: Response @@ -92394,9 +92697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *452 - *453 - - *343 + - *454 + - *344 requestBody: required: false content: @@ -92440,11 +92743,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *452 - *453 - - *343 - - *17 + - *454 - *344 + - *17 + - *345 responses: '200': description: Response @@ -92452,9 +92755,9 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *346 + default: *347 '400': *14 '422': *15 x-github: @@ -92473,18 +92776,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 - *16 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 '400': *14 '422': *15 x-github: @@ -92503,9 +92806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 - *16 responses: '202': *37 @@ -92528,9 +92831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -92555,9 +92858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -92580,8 +92883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response if immutable releases are enabled @@ -92629,8 +92932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *452 - *453 + - *454 responses: '204': *151 '409': *119 @@ -92650,8 +92953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *452 - *453 + - *454 responses: '204': *151 '409': *119 @@ -92708,14 +93011,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &632 + schema: &633 title: Import description: A repository import from an external source. type: object @@ -92822,7 +93125,7 @@ paths: - html_url - authors_url examples: - default: &635 + default: &636 value: vcs: subversion use_lfs: true @@ -92838,7 +93141,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': &633 + '503': &634 description: Unavailable due to service under maintenance. content: application/json: @@ -92867,8 +93170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -92916,7 +93219,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -92941,7 +93244,7 @@ paths: type: string '422': *15 '404': *6 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92969,8 +93272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -93022,7 +93325,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: example-1: summary: Example 1 @@ -93070,7 +93373,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': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93093,12 +93396,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *452 - *453 + - *454 responses: '204': description: Response - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93124,8 +93427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *452 - *453 + - *454 - &812 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -93140,7 +93443,7 @@ paths: application/json: schema: type: array - items: &634 + items: &635 title: Porter Author description: Porter Author type: object @@ -93194,7 +93497,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': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93219,8 +93522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *452 - *453 + - *454 - name: author_id in: path required: true @@ -93250,7 +93553,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -93263,7 +93566,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93287,8 +93590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -93329,7 +93632,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93357,8 +93660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -93385,11 +93688,11 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '422': *15 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93412,8 +93715,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -93421,8 +93724,8 @@ paths: application/json: schema: *20 examples: - default: *360 - '301': *458 + default: *361 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -93442,8 +93745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -93451,12 +93754,12 @@ paths: application/json: schema: anyOf: - - *362 + - *363 - type: object properties: {} additionalProperties: false examples: - default: &637 + default: &638 value: limit: collaborators_only origin: repository @@ -93481,13 +93784,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *636 + schema: *637 examples: default: summary: Example request body @@ -93499,9 +93802,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *637 + default: *638 '409': description: Response x-github: @@ -93523,8 +93826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -93547,8 +93850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -93558,7 +93861,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: &805 value: @@ -93691,9 +93994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *452 - *453 - - *366 + - *454 + - *367 requestBody: required: false content: @@ -93722,7 +94025,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -93853,9 +94156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *452 - *453 - - *366 + - *454 + - *367 responses: '204': description: Response @@ -93886,8 +94189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *452 - *453 + - *454 - 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 @@ -93935,7 +94238,7 @@ paths: required: false schema: type: string - - *373 + - *374 - name: sort description: What to sort results by. in: query @@ -93960,7 +94263,7 @@ paths: type: array items: *219 examples: - default: &647 + default: &648 value: - id: 1 node_id: MDU6SXNzdWUx @@ -94109,7 +94412,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *458 + '301': *459 '422': *15 '404': *6 x-github: @@ -94138,8 +94441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -94231,7 +94534,7 @@ paths: application/json: schema: *219 examples: - default: &644 + default: &645 value: id: 1 node_id: MDU6SXNzdWUx @@ -94388,7 +94691,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *639 + '410': *640 x-github: triggersNotification: true githubCloudOnly: false @@ -94416,8 +94719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *452 - *453 + - *454 - *241 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -94440,7 +94743,7 @@ paths: type: array items: *220 examples: - default: &646 + default: &647 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -94498,8 +94801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': @@ -94508,7 +94811,7 @@ paths: application/json: schema: *220 examples: - default: &640 + default: &641 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -94563,8 +94866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -94589,7 +94892,7 @@ paths: application/json: schema: *220 examples: - default: *640 + default: *641 '422': *15 x-github: githubCloudOnly: false @@ -94607,8 +94910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -94637,8 +94940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': @@ -94701,7 +95004,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -94718,8 +95021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -94727,7 +95030,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 '503': *192 x-github: githubCloudOnly: false @@ -94745,8 +95048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -94773,9 +95076,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -94796,8 +95099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -94830,16 +95133,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -94861,10 +95164,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - *642 + - *643 responses: '204': description: Response @@ -94884,8 +95187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -94895,7 +95198,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Issue Event description: Issue Event type: object @@ -95235,8 +95538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *452 - *453 + - *454 - name: event_id in: path required: true @@ -95247,7 +95550,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -95440,7 +95743,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *639 + '410': *640 '403': *27 x-github: githubCloudOnly: false @@ -95474,9 +95777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *452 - *453 - - &645 + - *454 + - &646 name: issue_number description: The number that identifies the issue. in: path @@ -95492,7 +95795,7 @@ paths: examples: default: summary: Issue - value: *644 + value: *645 pinned_comment: summary: Issue with pinned comment value: @@ -95691,9 +95994,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 '304': *35 x-github: githubCloudOnly: false @@ -95718,9 +96021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -95861,13 +96164,13 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 '422': *15 '503': *192 '403': *27 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95885,9 +96188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -95915,7 +96218,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95931,9 +96234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: content: application/json: @@ -95960,7 +96263,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95982,9 +96285,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: - - *452 - *453 - - *645 + - *454 + - *646 - name: assignee in: path required: true @@ -96024,9 +96327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *224 - *17 - *19 @@ -96039,11 +96342,11 @@ paths: type: array items: *220 examples: - default: *646 + default: *647 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96072,9 +96375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -96098,14 +96401,14 @@ paths: application/json: schema: *220 examples: - default: *640 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -96133,9 +96436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96147,12 +96450,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96180,9 +96483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -96206,15 +96509,15 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *458 + '301': *459 '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -96245,9 +96548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -96261,13 +96564,13 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *458 + default: *645 + '301': *459 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 x-github: triggersNotification: true githubCloudOnly: false @@ -96293,9 +96596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96307,12 +96610,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96329,9 +96632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96345,7 +96648,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &650 + - &651 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -96394,7 +96697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &652 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -96522,7 +96825,7 @@ paths: - performed_via_github_app - assignee - assigner - - &652 + - &653 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -96568,7 +96871,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &654 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -96614,7 +96917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &655 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -96663,7 +96966,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &656 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -96705,7 +97008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &657 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -96747,7 +97050,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &658 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -96803,7 +97106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &659 title: Locked Issue Event description: Locked Issue Event type: object @@ -96848,7 +97151,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &660 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -96909,7 +97212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &661 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -96970,7 +97273,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &661 + - &662 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -97031,7 +97334,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &662 + - &663 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -97124,7 +97427,7 @@ paths: color: red headers: Link: *45 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97141,9 +97444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97153,9 +97456,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &749 + default: &750 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -97179,9 +97482,9 @@ paths: value: '2025-12-25' headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97198,9 +97501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97212,7 +97515,7 @@ paths: type: array items: *218 examples: - default: &649 + default: &650 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97230,9 +97533,9 @@ paths: default: false headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97248,9 +97551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -97295,10 +97598,10 @@ paths: type: array items: *218 examples: - default: *649 - '301': *458 + default: *650 + '301': *459 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -97315,9 +97618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -97379,10 +97682,10 @@ paths: type: array items: *218 examples: - default: *649 - '301': *458 + default: *650 + '301': *459 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -97399,15 +97702,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '204': description: Response - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97426,9 +97729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - name: name in: path required: true @@ -97452,9 +97755,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97474,9 +97777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -97505,7 +97808,7 @@ paths: '204': description: Response '403': *27 - '410': *639 + '410': *640 '404': *6 '422': *15 x-github: @@ -97523,9 +97826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '204': description: Response @@ -97555,9 +97858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '200': description: Response @@ -97565,10 +97868,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *458 + default: *645 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97585,9 +97888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - 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. @@ -97613,13 +97916,13 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,9 +97940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97671,16 +97974,16 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -97702,10 +98005,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *452 - *453 - - *645 - - *642 + - *454 + - *646 + - *643 responses: '204': description: Response @@ -97734,9 +98037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97760,7 +98063,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -97793,9 +98096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97807,11 +98110,11 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97839,9 +98142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97870,14 +98173,14 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -97897,9 +98200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97932,7 +98235,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 '403': *27 '404': *6 '422': *7 @@ -97954,9 +98257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97971,7 +98274,6 @@ paths: description: Timeline Event type: object anyOf: - - *650 - *651 - *652 - *653 @@ -97984,6 +98286,7 @@ paths: - *660 - *661 - *662 + - *663 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -98040,7 +98343,7 @@ paths: pin: anyOf: - type: 'null' - - *663 + - *664 required: - event - actor @@ -98316,7 +98619,7 @@ paths: type: string comments: type: array - items: &684 + items: &685 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -98557,7 +98860,7 @@ paths: type: string comments: type: array - items: *563 + items: *564 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -98832,7 +99135,7 @@ paths: headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98849,8 +99152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -98860,7 +99163,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -98928,8 +99231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -98965,9 +99268,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: id: 1 key: ssh-rsa AAA... @@ -99001,9 +99304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *452 - *453 - - &666 + - *454 + - &667 name: key_id description: The unique identifier of the key. in: path @@ -99015,9 +99318,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -99035,9 +99338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *452 - *453 - - *666 + - *454 + - *667 responses: '204': description: Response @@ -99057,8 +99360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -99070,7 +99373,7 @@ paths: type: array items: *218 examples: - default: *649 + default: *650 headers: Link: *45 '404': *6 @@ -99091,8 +99394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99130,7 +99433,7 @@ paths: application/json: schema: *218 examples: - default: &667 + default: &668 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -99162,8 +99465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -99176,7 +99479,7 @@ paths: application/json: schema: *218 examples: - default: *667 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -99193,8 +99496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -99259,8 +99562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -99286,8 +99589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -99323,8 +99626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *452 - *453 + - *454 responses: '202': *37 '403': @@ -99352,8 +99655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -99379,9 +99682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *452 - *453 - - *538 + - *454 + - *539 responses: '200': description: Response @@ -99528,8 +99831,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99594,8 +99897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99629,9 +99932,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *566 + schema: *567 examples: - default: *668 + default: *669 '204': description: Response when already merged '404': @@ -99656,8 +99959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *452 - *453 + - *454 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -99698,7 +100001,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -99754,8 +100057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99795,9 +100098,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &669 + default: &670 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -99856,9 +100159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *452 - *453 - - &670 + - *454 + - &671 name: milestone_number description: The number that identifies the milestone. in: path @@ -99870,9 +100173,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *669 + default: *670 '404': *6 x-github: githubCloudOnly: false @@ -99889,9 +100192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *452 - *453 - - *670 + - *454 + - *671 requestBody: required: false content: @@ -99929,9 +100232,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *669 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99947,9 +100250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *452 - *453 - - *670 + - *454 + - *671 responses: '204': description: Response @@ -99970,9 +100273,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: - - *452 - *453 - - *670 + - *454 + - *671 - *17 - *19 responses: @@ -99984,7 +100287,7 @@ paths: type: array items: *218 examples: - default: *649 + default: *650 headers: Link: *45 x-github: @@ -100003,12 +100306,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: - - *452 - *453 - - *671 + - *454 - *672 - - *224 - *673 + - *224 + - *674 - *17 - *19 responses: @@ -100020,7 +100323,7 @@ paths: type: array items: *244 examples: - default: *674 + default: *675 headers: Link: *45 x-github: @@ -100044,8 +100347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -100103,14 +100406,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &675 + schema: &676 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -100254,7 +100557,7 @@ paths: - custom_404 - public examples: - default: &676 + default: &677 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -100295,8 +100598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100351,9 +100654,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '422': *15 '409': *119 x-github: @@ -100376,8 +100679,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100485,8 +100788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -100512,8 +100815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -100523,7 +100826,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Page Build description: Page Build type: object @@ -100615,8 +100918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *452 - *453 + - *454 responses: '201': description: Response @@ -100663,16 +100966,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &678 + default: &679 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -100720,8 +101023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *452 - *453 + - *454 - name: build_id in: path required: true @@ -100732,9 +101035,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100754,8 +101057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100863,9 +101166,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: - - *452 - *453 - - &679 + - *454 + - &680 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -100923,9 +101226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *452 - *453 - - *679 + - *454 + - *680 responses: '204': *151 '404': *6 @@ -100952,8 +101255,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -101248,8 +101551,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: - - *452 - *453 + - *454 responses: '200': description: Private vulnerability reporting status @@ -101286,8 +101589,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: - - *452 - *453 + - *454 responses: '204': *151 '422': *14 @@ -101308,8 +101611,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: - - *452 - *453 + - *454 responses: '204': *151 '422': *14 @@ -101331,8 +101634,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -101342,7 +101645,7 @@ paths: type: array items: *152 examples: - default: *680 + default: *681 '403': *27 '404': *6 x-github: @@ -101364,8 +101667,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -101381,7 +101684,7 @@ paths: required: - properties examples: - default: *681 + default: *682 responses: '204': description: No Content when custom property values are successfully created @@ -101419,8 +101722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *452 - *453 + - *454 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -101480,9 +101783,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *682 + default: *683 headers: Link: *45 '304': *35 @@ -101514,8 +101817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -101582,7 +101885,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &687 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -101711,7 +102014,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 active_lock_reason: type: - string @@ -101760,7 +102063,7 @@ paths: items: *4 requested_teams: type: array - items: *383 + items: *384 head: type: object properties: @@ -101798,14 +102101,14 @@ paths: _links: type: object properties: - comments: *405 - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + comments: *406 + commits: *406 + statuses: *406 + html: *406 + issue: *406 + review_comments: *406 + review_comment: *406 + self: *406 required: - comments - commits @@ -101816,7 +102119,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: *683 + auto_merge: *684 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -101918,7 +102221,7 @@ paths: - merged_by - review_comments examples: - default: &687 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -102445,8 +102748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *452 - *453 + - *454 - name: sort in: query required: false @@ -102475,9 +102778,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: &689 + default: &690 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -102554,17 +102857,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: - - *452 - *453 + - *454 - *233 responses: '200': description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -102639,8 +102942,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: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -102663,9 +102966,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102681,8 +102984,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: - - *452 - *453 + - *454 - *233 responses: '204': @@ -102704,8 +103007,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: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -102732,9 +103035,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -102755,8 +103058,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: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -102789,16 +103092,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -102820,10 +103123,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - *642 + - *643 responses: '204': description: Response @@ -102866,9 +103169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *452 - *453 - - &688 + - *454 + - &689 name: pull_number description: The number that identifies the pull request. in: path @@ -102881,9 +103184,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '304': *35 '404': *6 '406': @@ -102918,9 +103221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -102962,9 +103265,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '422': *15 '403': *27 x-github: @@ -102986,9 +103289,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -103049,17 +103352,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -103089,9 +103392,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: - - *452 - *453 - - *688 + - *454 + - *689 - *241 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -103112,9 +103415,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *689 + default: *690 headers: Link: *45 x-github: @@ -103147,9 +103450,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -103255,7 +103558,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: example-for-a-multi-line-comment: value: @@ -103343,9 +103646,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: - - *452 - *453 - - *688 + - *454 + - *689 - *233 requestBody: required: true @@ -103368,7 +103671,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: default: value: @@ -103454,9 +103757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -103466,9 +103769,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *690 + default: *691 headers: Link: *45 x-github: @@ -103498,9 +103801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -103510,7 +103813,7 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: default: value: @@ -103548,9 +103851,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: - - *452 - *453 - - *688 + - *454 + - *689 responses: '204': description: Response if pull request has been merged @@ -103573,9 +103876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -103687,9 +103990,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: - - *452 - *453 - - *688 + - *454 + - *689 responses: '200': description: Response @@ -103764,9 +104067,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -103803,7 +104106,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -104339,9 +104642,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -104375,7 +104678,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -104880,9 +105183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -104892,7 +105195,7 @@ paths: application/json: schema: type: array - items: &691 + items: &692 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -105048,9 +105351,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -105140,9 +105443,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &693 + default: &694 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -105205,10 +105508,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: - - *452 - *453 - - *688 - - &692 + - *454 + - *689 + - &693 name: review_id description: The unique identifier of the review. in: path @@ -105220,9 +105523,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &694 + default: &695 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -105281,10 +105584,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -105307,7 +105610,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: default: value: @@ -105369,18 +105672,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 responses: '200': description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *693 + default: *694 '422': *7 '404': *6 x-github: @@ -105407,10 +105710,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 - *17 - *19 responses: @@ -105508,9 +105811,9 @@ paths: _links: type: object properties: - self: *405 - html: *405 - pull_request: *405 + self: *406 + html: *406 + pull_request: *406 required: - self - html @@ -105668,10 +105971,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -105700,7 +106003,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: default: value: @@ -105763,10 +106066,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -105801,9 +106104,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *694 + default: *695 '404': *6 '422': *7 '403': *27 @@ -105825,9 +106128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -105891,8 +106194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *452 - *453 + - *454 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -105905,9 +106208,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: &696 + default: &697 value: type: file encoding: base64 @@ -105949,8 +106252,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: - - *452 - *453 + - *454 - name: dir description: The alternate path to look for a README file in: path @@ -105970,9 +106273,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *15 x-github: @@ -105994,8 +106297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -106005,7 +106308,7 @@ paths: application/json: schema: type: array - items: *697 + items: *698 examples: default: value: @@ -106099,8 +106402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -106176,9 +106479,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: &701 + default: &702 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -106283,9 +106586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *452 - *453 - - &699 + - *454 + - &700 name: asset_id description: The unique identifier of the asset. in: path @@ -106297,9 +106600,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: &700 + default: &701 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 @@ -106334,7 +106637,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106350,9 +106653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *452 - *453 - - *699 + - *454 + - *700 requestBody: required: false content: @@ -106381,9 +106684,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *700 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106399,9 +106702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *452 - *453 - - *699 + - *454 + - *700 responses: '204': description: Response @@ -106425,8 +106728,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -106512,16 +106815,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106538,8 +106841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *452 - *453 + - *454 - name: tag description: tag parameter in: path @@ -106552,9 +106855,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 '404': *6 x-github: githubCloudOnly: false @@ -106576,9 +106879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *452 - *453 - - &702 + - *454 + - &703 name: release_id description: The unique identifier of the release. in: path @@ -106592,9 +106895,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: *697 + schema: *698 examples: - default: *701 + default: *702 '401': description: Unauthorized x-github: @@ -106612,9 +106915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 requestBody: required: false content: @@ -106678,9 +106981,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 '404': description: Not Found if the discussion category name is invalid content: @@ -106701,9 +107004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 responses: '204': description: Response @@ -106723,9 +107026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *452 - *453 - - *702 + - *454 + - *703 - *17 - *19 responses: @@ -106735,7 +107038,7 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: default: value: @@ -106817,9 +107120,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: - - *452 - *453 - - *702 + - *454 + - *703 - name: name in: query required: true @@ -106845,7 +107148,7 @@ paths: description: Response for successful upload content: application/json: - schema: *698 + schema: *699 examples: response-for-successful-upload: value: @@ -106900,9 +107203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 - 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. @@ -106926,9 +107229,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -106949,9 +107252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 requestBody: required: true content: @@ -106981,16 +107284,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -107012,10 +107315,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *452 - *453 - - *702 - - *642 + - *454 + - *703 + - *643 responses: '204': description: Response @@ -107039,9 +107342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *452 - *453 - - *505 + - *454 + - *506 - *17 - *19 responses: @@ -107058,7 +107361,7 @@ paths: oneOf: - allOf: - *166 - - &703 + - &704 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -107079,67 +107382,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *703 + - *704 - allOf: - *168 - - *703 + - *704 - allOf: - *169 - - *703 + - *704 - allOf: + - *705 - *704 - - *703 - allOf: - *170 - - *703 + - *704 - allOf: - *171 - - *703 + - *704 - allOf: - *172 - - *703 + - *704 - allOf: - *173 - - *703 + - *704 - allOf: - *174 - - *703 + - *704 - allOf: - *175 - - *703 + - *704 - allOf: - *176 - - *703 + - *704 - allOf: - *177 - - *703 + - *704 - allOf: - *178 - - *703 + - *704 - allOf: - *179 - - *703 + - *704 - allOf: - *180 - - *703 + - *704 - allOf: - *181 - - *703 + - *704 - allOf: - *182 - - *703 + - *704 - allOf: - *183 - - *703 + - *704 - allOf: - *184 - - *703 + - *704 - allOf: - *185 - - *703 + - *704 - allOf: - *186 - - *703 + - *704 examples: default: value: @@ -107178,8 +107481,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - *17 - *19 - name: includes_parents @@ -107190,7 +107493,7 @@ paths: schema: type: boolean default: true - - *705 + - *706 responses: '200': description: Response @@ -107245,8 +107548,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 requestBody: description: Request body required: true @@ -107275,7 +107578,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *706 + items: *707 required: - name - enforcement @@ -107308,7 +107611,7 @@ paths: application/json: schema: *187 examples: - default: &715 + default: &716 value: id: 42 name: super cool ruleset @@ -107356,12 +107659,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *452 - *453 - - *707 - - *105 + - *454 - *708 + - *105 - *709 + - *710 - *17 - *19 responses: @@ -107369,9 +107672,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *711 + default: *712 '404': *6 '500': *38 x-github: @@ -107392,17 +107695,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *452 - *453 - - *712 + - *454 + - *713 responses: '200': description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 '500': *38 x-github: @@ -107430,8 +107733,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107453,7 +107756,7 @@ paths: application/json: schema: *187 examples: - default: *715 + default: *716 '404': *6 '500': *38 put: @@ -107471,8 +107774,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107506,7 +107809,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *706 + items: *707 examples: default: value: @@ -107536,7 +107839,7 @@ paths: application/json: schema: *187 examples: - default: *715 + default: *716 '404': *6 '422': *15 '500': *38 @@ -107555,8 +107858,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107579,8 +107882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *452 - *453 + - *454 - *17 - *19 - name: ruleset_id @@ -107598,7 +107901,7 @@ paths: type: array items: *191 examples: - default: *421 + default: *422 '404': *6 '500': *38 x-github: @@ -107617,8 +107920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107636,7 +107939,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -107691,22 +107994,22 @@ 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: - - *452 - *453 - - *423 + - *454 - *424 - *425 - *426 - *427 + - *428 - *110 - *19 - *17 - - *716 - *717 - - *428 + - *718 - *429 - *430 - *431 + - *432 responses: '200': description: Response @@ -107714,7 +108017,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 type: object properties: number: *126 @@ -107730,8 +108033,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *718 - resolution: *719 + state: *719 + resolution: *720 resolved_at: type: - string @@ -107825,7 +108128,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *720 + - *721 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -107970,16 +108273,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *452 - *453 - - *532 - - *431 + - *454 + - *533 + - *432 responses: '200': description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -108033,9 +108336,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: true content: @@ -108043,8 +108346,8 @@ paths: schema: type: object properties: - state: *718 - resolution: *719 + state: *719 + resolution: *720 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -108080,7 +108383,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -108175,9 +108478,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: - - *452 - *453 - - *532 + - *454 + - *533 - *19 - *17 responses: @@ -108215,7 +108518,6 @@ paths: - commit details: oneOf: - - *722 - *723 - *724 - *725 @@ -108228,6 +108530,7 @@ paths: - *732 - *733 - *734 + - *735 examples: default: value: @@ -108313,8 +108616,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -108322,14 +108625,14 @@ paths: schema: type: object properties: - reason: &736 + reason: &737 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *735 + placeholder_id: *736 required: - reason - placeholder_id @@ -108346,7 +108649,7 @@ paths: schema: type: object properties: - reason: *736 + reason: *737 expire_at: type: - string @@ -108393,8 +108696,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: - - *452 - *453 + - *454 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -108409,7 +108712,7 @@ paths: properties: incremental_scans: type: array - items: &737 + items: &738 description: Information on a single scan performed by secret scanning on the repository type: object @@ -108437,15 +108740,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *737 + items: *738 backfill_scans: type: array - items: *737 + items: *738 custom_pattern_backfill_scans: type: array items: allOf: - - *737 + - *738 - type: object properties: pattern_name: @@ -108515,8 +108818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *452 - *453 + - *454 - *110 - name: sort description: The property to sort the results by. @@ -108560,9 +108863,9 @@ paths: application/json: schema: type: array - items: *738 + items: *739 examples: - default: *739 + default: *740 '400': *14 '404': *6 x-github: @@ -108585,8 +108888,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -108666,7 +108969,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 required: - login - type @@ -108756,9 +109059,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: &741 + default: &742 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -108991,8 +109294,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -109105,7 +109408,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: default: value: @@ -109252,17 +109555,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '200': description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: *741 + default: *742 '403': *27 '404': *6 x-github: @@ -109286,9 +109589,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: - - *452 - *453 - - *740 + - *454 + - *741 requestBody: required: true content: @@ -109368,7 +109671,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 required: - login - type @@ -109459,10 +109762,10 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: *741 - add_credit: *741 + default: *742 + add_credit: *742 '403': *27 '404': *6 '422': @@ -109500,9 +109803,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '202': *37 '400': *14 @@ -109529,17 +109832,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '202': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 '400': *14 '422': *15 '403': *27 @@ -109565,8 +109868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -109662,8 +109965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *452 - *453 + - *454 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -109672,7 +109975,7 @@ paths: application/json: schema: type: array - items: &742 + items: &743 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -109705,8 +110008,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -109784,8 +110087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -109879,8 +110182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *452 - *453 + - *454 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -110034,8 +110337,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: - - *452 - *453 + - *454 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -110045,7 +110348,7 @@ paths: application/json: schema: type: array - items: *742 + items: *743 examples: default: value: @@ -110078,8 +110381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *452 - *453 + - *454 - name: sha in: path required: true @@ -110135,7 +110438,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *744 examples: default: value: @@ -110189,8 +110492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -110222,14 +110525,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *452 - *453 + - *454 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &744 + schema: &745 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -110302,8 +110605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -110329,7 +110632,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: default: value: @@ -110356,8 +110659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -110377,8 +110680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -110460,8 +110763,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *452 - *453 + - *454 - name: ref in: path required: true @@ -110497,8 +110800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -110510,7 +110813,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 headers: Link: *45 '404': *6 @@ -110530,8 +110833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *452 - *453 + - *454 - *19 - *17 responses: @@ -110539,7 +110842,7 @@ paths: description: Response content: application/json: - schema: &745 + schema: &746 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -110551,7 +110854,7 @@ paths: required: - names examples: - default: &746 + default: &747 value: names: - octocat @@ -110574,8 +110877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -110606,9 +110909,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 '422': *7 x-github: @@ -110629,9 +110932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *452 - *453 - - &747 + - *454 + - &748 name: per description: The time frame to display results for. in: query @@ -110662,7 +110965,7 @@ paths: - 128 clones: type: array - items: &748 + items: &749 title: Traffic type: object properties: @@ -110749,8 +111052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -110844,8 +111147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -110908,9 +111211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *452 - *453 - - *747 + - *454 + - *748 responses: '200': description: Response @@ -110931,7 +111234,7 @@ paths: - 3782 views: type: array - items: *748 + items: *749 required: - uniques - count @@ -111008,8 +111311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -111283,8 +111586,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: - - *452 - *453 + - *454 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -111307,8 +111610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -111330,8 +111633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -111357,8 +111660,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *452 - *453 + - *454 - name: ref in: path required: true @@ -111450,9 +111753,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111600,7 +111903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *273 - - *645 + - *646 requestBody: required: true content: @@ -111666,9 +111969,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *648 + items: *649 examples: - default: *749 + default: *750 '400': *14 '403': *27 '404': *6 @@ -111705,7 +112008,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *273 - - *645 + - *646 requestBody: required: true content: @@ -111772,9 +112075,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *648 + items: *649 examples: - default: *749 + default: *750 '400': *14 '403': *27 '404': *6 @@ -111806,8 +112109,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *273 - - *645 - - *369 + - *646 + - *370 responses: '204': description: Issue field value deleted successfully @@ -111849,7 +112152,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &757 + - &758 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -111859,7 +112162,7 @@ paths: type: string examples: - members - - &762 + - &763 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -111871,7 +112174,7 @@ paths: format: int32 examples: - 1 - - &763 + - &764 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -111915,7 +112218,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &752 + items: &753 allOf: - type: object required: @@ -111997,7 +112300,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: &764 + meta: &765 type: object description: The metadata associated with the creation/updates to the user. @@ -112062,30 +112365,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &753 + '400': &754 description: Bad request content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '401': *751 - '403': &754 + schema: *751 + '401': *752 + '403': &755 description: Permission denied - '429': &755 + '429': &756 description: Too many requests content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '500': &756 + schema: *751 + '500': &757 description: Internal server error content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 + schema: *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112109,7 +112412,7 @@ paths: required: true content: application/json: - schema: &760 + schema: &761 type: object required: - schemas @@ -112173,9 +112476,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *752 + schema: *753 examples: - group: &758 + group: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -112194,13 +112497,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': *753 - '401': *751 - '403': *754 - '409': &761 + '400': *754 + '401': *752 + '403': *755 + '409': &762 description: Duplicate record detected - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112217,7 +112520,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: - - &759 + - &760 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -112226,22 +112529,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *757 + - *758 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *752 + schema: *753 examples: - default: *758 - '400': *753 - '401': *751 - '403': *754 + default: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112260,13 +112563,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: - - *759 + - *760 - *39 requestBody: required: true content: application/json: - schema: *760 + schema: *761 examples: group: summary: Group @@ -112292,17 +112595,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - group: *758 - groupWithMembers: *758 - '400': *753 - '401': *751 - '403': *754 + group: *759 + groupWithMembers: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112326,13 +112629,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: - - *759 + - *760 - *39 requestBody: required: true content: application/json: - schema: &771 + schema: &772 type: object required: - Operations @@ -112392,17 +112695,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - updateGroup: *758 - addMembers: *758 - '400': *753 - '401': *751 - '403': *754 + updateGroup: *759 + addMembers: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112418,17 +112721,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: - - *759 + - *760 - *39 responses: '204': description: Group was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112462,8 +112765,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *762 - *763 + - *764 - *39 responses: '200': @@ -112497,7 +112800,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &766 + items: &767 allOf: - type: object required: @@ -112589,7 +112892,7 @@ paths: address. examples: - true - roles: &765 + roles: &766 type: array description: The roles assigned to the user. items: @@ -112648,7 +112951,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *764 + meta: *765 startIndex: type: integer description: A starting index for the returned page @@ -112687,11 +112990,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *753 - '401': *751 - '403': *754 - '429': *755 - '500': *756 + '400': *754 + '401': *752 + '403': *755 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112715,7 +113018,7 @@ paths: required: true content: application/json: - schema: &769 + schema: &770 type: object required: - schemas @@ -112808,9 +113111,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *765 + roles: *766 examples: - user: &770 + user: &771 summary: User value: schemas: @@ -112857,9 +113160,9 @@ paths: description: User has been created content: application/scim+json: - schema: *766 + schema: *767 examples: - user: &767 + user: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -112885,13 +113188,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: *767 - '400': *753 - '401': *751 - '403': *754 - '409': *761 - '429': *755 - '500': *756 + enterpriseOwner: *768 + '400': *754 + '401': *752 + '403': *755 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112908,7 +113211,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: - - &768 + - &769 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -112921,15 +113224,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *766 + schema: *767 examples: - default: *767 - '400': *753 - '401': *751 - '403': *754 + default: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112980,30 +113283,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: - - *768 + - *769 - *39 requestBody: required: true content: application/json: - schema: *769 + schema: *770 examples: - user: *770 + user: *771 responses: '200': description: User was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - user: *767 - '400': *753 - '401': *751 - '403': *754 + user: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113044,13 +113347,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: - - *768 + - *769 - *39 requestBody: required: true content: application/json: - schema: *771 + schema: *772 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -113090,18 +113393,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - userMultiValuedProperties: *767 - userSingleValuedProperties: *767 - disableUser: *767 - '400': *753 - '401': *751 - '403': *754 + userMultiValuedProperties: *768 + userSingleValuedProperties: *768 + disableUser: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113121,17 +113424,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: - - *768 + - *769 - *39 responses: '204': description: User was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113222,7 +113525,7 @@ paths: - 1 Resources: type: array - items: &772 + items: &773 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -113469,22 +113772,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': &773 + '404': &774 description: Resource not found content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '403': &774 + schema: *751 + '403': &775 description: Forbidden content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '400': *753 - '429': *755 + schema: *751 + '400': *754 + '429': *756 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -113510,9 +113813,9 @@ paths: description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: &775 + default: &776 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -113535,17 +113838,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': *773 - '403': *774 - '500': *756 + '404': *774 + '403': *775 + '500': *757 '409': description: Conflict content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '400': *753 + schema: *751 + '400': *754 requestBody: required: true content: @@ -113645,17 +113948,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 - '404': *773 - '403': *774 + default: *776 + '404': *774 + '403': *775 '304': *35 x-github: githubCloudOnly: true @@ -113679,18 +113982,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 + default: *776 '304': *35 - '404': *773 - '403': *774 + '404': *774 + '403': *775 requestBody: required: true content: @@ -113805,19 +114108,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 + default: *776 '304': *35 - '404': *773 - '403': *774 - '400': *753 + '404': *774 + '403': *775 + '400': *754 '429': description: Response content: @@ -113913,12 +114216,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *768 + - *769 responses: '204': description: Response - '404': *773 - '403': *774 + '404': *774 + '403': *775 '304': *35 x-github: githubCloudOnly: true @@ -114052,7 +114355,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &776 + text_matches: &777 title: Search Result Text Matches type: array items: @@ -114216,7 +114519,7 @@ paths: enum: - author-date - committer-date - - &777 + - &778 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 @@ -114285,7 +114588,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 comment_count: type: integer message: @@ -114304,7 +114607,7 @@ paths: url: type: string format: uri - verification: *626 + verification: *627 required: - author - committer @@ -114319,7 +114622,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 parents: type: array items: @@ -114336,7 +114639,7 @@ paths: type: number node_id: type: string - text_matches: *776 + text_matches: *777 required: - sha - node_id @@ -114529,7 +114832,7 @@ paths: - interactions - created - updated - - *777 + - *778 - *17 - *19 - name: advanced_search @@ -114626,11 +114929,11 @@ paths: type: - string - 'null' - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -114644,7 +114947,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 comments: type: integer created_at: @@ -114658,7 +114961,7 @@ paths: - string - 'null' format: date-time - text_matches: *776 + text_matches: *777 pull_request: type: object properties: @@ -114707,7 +115010,7 @@ paths: timeline_url: type: string format: uri - type: *370 + type: *371 performed_via_github_app: anyOf: - type: 'null' @@ -114885,7 +115188,7 @@ paths: enum: - created - updated - - *777 + - *778 - *17 - *19 responses: @@ -114930,7 +115233,7 @@ paths: - 'null' score: type: number - text_matches: *776 + text_matches: *777 required: - id - node_id @@ -115016,7 +115319,7 @@ paths: - forks - help-wanted-issues - updated - - *777 + - *778 - *17 - *19 responses: @@ -115264,7 +115567,7 @@ paths: - admin - pull - push - text_matches: *776 + text_matches: *777 temp_clone_token: type: string allow_merge_commit: @@ -115573,7 +115876,7 @@ paths: - string - 'null' format: uri - text_matches: *776 + text_matches: *777 related: type: - array @@ -115768,7 +116071,7 @@ paths: - followers - repositories - joined - - *777 + - *778 - *17 - *19 responses: @@ -115878,7 +116181,7 @@ paths: type: - boolean - 'null' - text_matches: *776 + text_matches: *777 blog: type: - string @@ -115960,7 +116263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &780 + - &781 name: team_id description: The unique identifier of the team. in: path @@ -115972,9 +116275,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -116001,7 +116304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *780 + - *781 requestBody: required: true content: @@ -116065,16 +116368,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '201': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 '422': *15 '403': *27 @@ -116102,7 +116405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *780 + - *781 responses: '204': description: Response @@ -116131,7 +116434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -116141,9 +116444,9 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 x-github: @@ -116169,7 +116472,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *780 + - *781 - name: role description: Filters members returned by their role in the team. in: query @@ -116220,7 +116523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -116257,7 +116560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -116297,7 +116600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -116334,16 +116637,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: - - *780 + - *781 - *139 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-user-is-a-team-maintainer: *781 + response-if-user-is-a-team-maintainer: *782 '404': *6 x-github: githubCloudOnly: false @@ -116376,7 +116679,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: - - *780 + - *781 - *139 requestBody: required: false @@ -116402,9 +116705,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-users-membership-with-team-is-now-pending: *782 + response-if-users-membership-with-team-is-now-pending: *783 '403': description: Forbidden if team synchronization is set up '422': @@ -116438,7 +116741,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: - - *780 + - *781 - *139 responses: '204': @@ -116466,7 +116769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -116478,7 +116781,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 '404': *6 @@ -116508,15 +116811,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: - - *780 - - *452 + - *781 - *453 + - *454 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *784 examples: alternative-response-with-extra-repository-information: value: @@ -116667,9 +116970,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: - - *780 - - *452 + - *781 - *453 + - *454 requestBody: required: false content: @@ -116719,9 +117022,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: - - *780 - - *452 + - *781 - *453 + - *454 responses: '204': description: Response @@ -116750,15 +117053,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: - - *780 + - *781 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '403': *27 '404': *6 x-github: @@ -116785,7 +117088,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: - - *780 + - *781 requestBody: required: true content: @@ -116846,7 +117149,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -116877,7 +117180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -116889,7 +117192,7 @@ paths: type: array items: *308 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *785 headers: Link: *45 '404': *6 @@ -116922,7 +117225,7 @@ paths: application/json: schema: oneOf: - - &786 + - &787 title: Private User description: Private User type: object @@ -117172,7 +117475,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *785 + - *786 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -117332,7 +117635,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: default: value: @@ -117535,9 +117838,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 '304': *35 '500': *38 '401': *23 @@ -117676,17 +117979,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -117730,7 +118033,7 @@ paths: type: integer secrets: type: array - items: &787 + items: &788 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -117772,7 +118075,7 @@ paths: - visibility - selected_repositories_url examples: - default: *557 + default: *558 headers: Link: *45 x-github: @@ -117850,7 +118153,7 @@ paths: description: Response content: application/json: - schema: *787 + schema: *788 examples: default: value: @@ -117996,7 +118299,7 @@ paths: type: array items: *279 examples: - default: *788 + default: *323 '401': *23 '403': *27 '404': *6 @@ -118140,15 +118443,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '304': *35 '500': *38 '401': *23 @@ -118174,7 +118477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 requestBody: required: false content: @@ -118204,9 +118507,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -118228,7 +118531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '202': *37 '304': *35 @@ -118257,7 +118560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '202': description: Response @@ -118348,7 +118651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *377 + - *378 - name: export_id in: path required: true @@ -118384,7 +118687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *377 + - *378 responses: '200': description: Response @@ -118400,7 +118703,7 @@ paths: type: integer machines: type: array - items: *556 + items: *557 examples: default: *791 '304': *35 @@ -118431,7 +118734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *377 + - *378 requestBody: required: true content: @@ -118487,11 +118790,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *457 + repository: *458 machine: anyOf: - type: 'null' - - *556 + - *557 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -119288,15 +119591,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '304': *35 '500': *38 '400': *14 @@ -119328,15 +119631,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '500': *38 '401': *23 '403': *27 @@ -119366,7 +119669,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: &802 value: @@ -120480,12 +120783,12 @@ paths: application/json: schema: anyOf: - - *362 + - *363 - type: object properties: {} additionalProperties: false examples: - default: *363 + default: *364 '204': description: Response when there are no restrictions x-github: @@ -120509,7 +120812,7 @@ paths: required: true content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -120520,7 +120823,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -120601,7 +120904,7 @@ paths: - closed - all default: open - - *373 + - *374 - name: sort description: What to sort results by. in: query @@ -120626,7 +120929,7 @@ paths: type: array items: *219 examples: - default: *374 + default: *375 headers: Link: *45 '404': *6 @@ -120797,7 +121100,7 @@ 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: - - *666 + - *667 responses: '200': description: Response @@ -120828,7 +121131,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: - - *666 + - *667 responses: '204': description: Response @@ -121044,7 +121347,7 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: default: value: @@ -121158,7 +121461,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -121245,7 +121548,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -121317,7 +121620,7 @@ paths: application/json: schema: type: array - items: *380 + items: *381 examples: default: value: @@ -121579,7 +121882,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -121759,7 +122062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *381 + - *382 - name: exclude in: query required: false @@ -121772,7 +122075,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -121966,7 +122269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *381 + - *382 responses: '302': description: Response @@ -121992,7 +122295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *381 + - *382 responses: '204': description: Response @@ -122021,7 +122324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *381 + - *382 - *800 responses: '204': @@ -122046,7 +122349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *381 + - *382 - *17 - *19 responses: @@ -122058,7 +122361,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 '404': *6 @@ -122147,7 +122450,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *802 '400': *803 @@ -122170,14 +122473,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: default: &821 value: @@ -122292,8 +122595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 responses: '204': description: Response @@ -122323,8 +122626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 - name: token description: package token schema: @@ -122356,8 +122659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *387 - *388 + - *389 - *19 - *17 - name: state @@ -122377,7 +122680,7 @@ paths: application/json: schema: type: array - items: *389 + items: *390 examples: default: value: @@ -122426,15 +122729,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -122470,9 +122773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '204': description: Response @@ -122502,9 +122805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '204': description: Response @@ -122974,9 +123277,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -123014,7 +123317,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: *805 headers: @@ -123039,7 +123342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *366 + - *367 responses: '204': description: Response @@ -123062,7 +123365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *366 + - *367 responses: '204': description: Response @@ -123633,8 +123936,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: - - *452 - *453 + - *454 responses: '204': description: Response if this repository is starred by you @@ -123662,8 +123965,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -123687,8 +123990,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -123723,7 +124026,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 '304': *35 @@ -123760,7 +124063,7 @@ paths: application/json: schema: type: array - items: *444 + items: *445 examples: default: value: @@ -123846,8 +124149,8 @@ paths: application/json: schema: oneOf: + - *787 - *786 - - *785 examples: default-response: &815 summary: Default response @@ -123948,7 +124251,7 @@ paths: required: true schema: type: string - - *403 + - *404 requestBody: required: true description: Details of the draft item to create in the project. @@ -123982,9 +124285,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - draft_issue: *409 + draft_issue: *410 '304': *35 '403': *27 '401': *23 @@ -124043,7 +124346,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *813 - - *403 + - *404 requestBody: required: true content: @@ -124121,13 +124424,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *413 + value: *414 board_view: summary: Response for creating a board view with filter - value: *413 + value: *414 roadmap_view: summary: Response for creating a roadmap view - value: *413 + value: *414 '304': *35 '403': *27 '401': *23 @@ -124169,8 +124472,8 @@ paths: application/json: schema: oneOf: + - *787 - *786 - - *785 examples: default-response: *815 response-with-git-hub-plan-information: *816 @@ -124483,7 +124786,7 @@ paths: initiator: type: string examples: - default: *499 + default: *500 '201': description: Response content: @@ -124522,7 +124825,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *802 '403': *27 @@ -125014,7 +125317,7 @@ paths: application/json: schema: *20 examples: - default: *360 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -125150,7 +125453,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *802 '403': *27 @@ -125175,15 +125478,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: default: *821 x-github: @@ -125206,8 +125509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '204': @@ -125240,8 +125543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 - name: token description: package token @@ -125274,8 +125577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '200': @@ -125284,7 +125587,7 @@ paths: application/json: schema: type: array - items: *389 + items: *390 examples: default: value: @@ -125342,16 +125645,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 - *139 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -125386,10 +125689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *387 - *388 + - *389 - *139 - - *390 + - *391 responses: '204': description: Response @@ -125421,10 +125724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *387 - *388 + - *389 - *139 - - *390 + - *391 responses: '204': description: Response @@ -125465,9 +125768,9 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -125489,16 +125792,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *403 + - *404 - *139 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -125520,7 +125823,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *403 + - *404 - *139 - *17 - *108 @@ -125532,7 +125835,7 @@ paths: application/json: schema: type: array - items: *406 + items: *407 examples: default: *822 headers: @@ -125556,7 +125859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *139 - - *403 + - *404 requestBody: required: true content: @@ -125639,7 +125942,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: text_field: *827 number_field: *828 @@ -125666,7 +125969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *403 + - *404 - *832 - *139 responses: @@ -125674,7 +125977,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: *833 headers: @@ -125699,7 +126002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *403 + - *404 - *139 - *108 - *109 @@ -125732,9 +126035,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -125756,7 +126059,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *139 - - *403 + - *404 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -125826,22 +126129,22 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *409 + value: *410 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *409 + value: *410 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *409 + value: *410 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *409 + value: *410 '304': *35 '403': *27 '401': *23 @@ -125861,9 +126164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *403 + - *404 - *139 - - *412 + - *413 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -125883,9 +126186,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -125906,9 +126209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *403 + - *404 - *139 - - *412 + - *413 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -125981,13 +126284,13 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - text_field: *411 - number_field: *411 - date_field: *411 - single_select_field: *411 - iteration_field: *411 + text_field: *412 + number_field: *412 + date_field: *412 + single_select_field: *412 + iteration_field: *412 '401': *23 '403': *27 '404': *6 @@ -126007,9 +126310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *403 + - *404 - *139 - - *412 + - *413 responses: '204': description: Response @@ -126031,7 +126334,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - - *403 + - *404 - *139 - *834 - name: fields @@ -126059,9 +126362,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -126282,7 +126585,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -126418,7 +126721,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -132943,7 +133246,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133275,7 +133578,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133619,7 +133922,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133978,7 +134281,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -134261,7 +134564,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -134559,7 +134862,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -134880,7 +135183,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -135988,7 +136291,7 @@ webhooks: type: string enum: - assignees_changed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136072,7 +136375,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136157,7 +136460,7 @@ webhooks: type: string enum: - auto_reopened - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136242,7 +136545,7 @@ webhooks: type: string enum: - created - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136325,7 +136628,7 @@ webhooks: type: string enum: - dismissed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136408,7 +136711,7 @@ webhooks: type: string enum: - fixed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136492,7 +136795,7 @@ webhooks: type: string enum: - reintroduced - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136575,7 +136878,7 @@ webhooks: type: string enum: - reopened - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -138101,10 +138404,10 @@ webhooks: deployment: anyOf: - type: 'null' - - *591 + - *592 pull_requests: type: array - items: *686 + items: *687 repository: *841 organization: *840 installation: *839 @@ -147266,7 +147569,7 @@ webhooks: pin: anyOf: - type: 'null' - - *663 + - *664 user: title: User type: @@ -148165,8 +148468,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148183,7 +148486,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -148765,7 +149068,7 @@ webhooks: pin: anyOf: - type: 'null' - - *663 + - *664 required: - url - html_url @@ -149588,8 +149891,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149606,7 +149909,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -150858,8 +151161,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150876,7 +151179,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -152117,8 +152420,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152135,7 +152438,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -153377,8 +153680,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153395,7 +153698,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -154999,11 +155302,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155020,7 +155323,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -156021,11 +156324,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156042,7 +156345,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -157176,11 +157479,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157197,7 +157500,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -158210,11 +158513,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158231,7 +158534,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -159367,11 +159670,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159385,7 +159688,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -160384,11 +160687,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160402,7 +160705,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -161426,11 +161729,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161444,7 +161747,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -162437,11 +162740,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162458,7 +162761,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -163427,11 +163730,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163531,7 +163834,7 @@ webhooks: required: - login - id - type: *370 + type: *371 required: - id - number @@ -164835,11 +165138,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164856,7 +165159,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -165850,11 +166153,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165871,7 +166174,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -166887,11 +167190,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166988,7 +167291,7 @@ webhooks: format: uri user_view_type: type: string - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -167878,11 +168181,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167899,7 +168202,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -168583,7 +168886,7 @@ webhooks: enterprise: *838 installation: *839 issue: *872 - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -169740,11 +170043,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169761,7 +170064,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -170008,7 +170311,7 @@ webhooks: enterprise: *838 installation: *839 issue: *872 - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -172014,7 +172317,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *519 + head_commit: *520 required: - head_sha - head_ref @@ -178121,7 +178424,7 @@ webhooks: - closed installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -178204,7 +178507,7 @@ webhooks: - created installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -178287,7 +178590,7 @@ webhooks: - deleted installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -178410,7 +178713,7 @@ webhooks: type: string installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -178529,7 +178832,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *407 + content_type: *408 creator: *4 created_at: type: string @@ -179284,7 +179587,7 @@ webhooks: - reopened installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -187138,7 +187441,7 @@ webhooks: organization: *840 pull_request: &891 allOf: - - *686 + - *687 - type: object properties: allow_auto_merge: @@ -187367,7 +187670,7 @@ webhooks: enum: - demilestoned enterprise: *838 - milestone: *404 + milestone: *405 number: *890 organization: *840 pull_request: &892 @@ -199763,7 +200066,7 @@ webhooks: enum: - milestoned enterprise: *838 - milestone: *404 + milestone: *405 number: *890 organization: *840 pull_request: *892 @@ -243394,7 +243697,7 @@ webhooks: installation: *839 organization: *840 repository: *841 - repository_advisory: *738 + repository_advisory: *739 sender: *4 required: - action @@ -243474,7 +243777,7 @@ webhooks: installation: *839 organization: *840 repository: *841 - repository_advisory: *738 + repository_advisory: *739 sender: *4 required: - action @@ -244565,16 +244868,16 @@ webhooks: properties: added: type: array - items: *706 + items: *707 deleted: type: array - items: *706 + items: *707 updated: type: array items: type: object properties: - rule: *706 + rule: *707 changes: type: object properties: @@ -247202,11 +247505,11 @@ webhooks: from: type: object properties: - security_and_analysis: *415 + security_and_analysis: *416 enterprise: *838 installation: *839 organization: *840 - repository: *457 + repository: *458 sender: *4 required: - changes @@ -252536,7 +252839,7 @@ webhooks: type: string required: - conclusion - deployment: *591 + deployment: *592 required: - action - repository @@ -252900,7 +253203,7 @@ webhooks: required: - status - steps - deployment: *591 + deployment: *592 required: - action - repository @@ -253128,7 +253431,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *591 + deployment: *592 required: - action - repository @@ -253357,7 +253660,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *591 + deployment: *592 required: - action - repository diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 54b83109c..56df9e9a0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -5639,6 +5639,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -6787,6 +6795,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -7708,6 +7724,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -8194,6 +8218,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -10546,6 +10578,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -11726,6 +11766,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -12770,6 +12818,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13517,6 +13573,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -31432,6 +31496,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -32311,1105 +32383,14 @@ "write" ] }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": [ - "read" - ] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": [ - "read", - "write" - ] - }, - "email_addresses": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "enum": [ "read", "write" ] }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": [ - "read", - "write" - ] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": [ - "read", - "write" - ] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": [ - "write" - ] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "enterprise_organization_installations": { - "type": "string", - "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_organization_installation_repositories": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository access of GitHub Apps on Enterprise-owned organizations.", - "enum": [ - "read", - "write" - ] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "events": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "single_file_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "config.yaml" - ] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [ - true - ] - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "app_slug": { - "type": "string", - "examples": [ - "github-actions" - ] - }, - "suspended_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "suspended_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "contact_email": { - "type": [ - "string", - "null" - ], - "examples": [ - "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"" - ] - } - }, - "required": [ - "id", - "app_id", - "app_slug", - "target_id", - "target_type", - "single_file_name", - "repository_selection", - "access_tokens_url", - "html_url", - "repositories_url", - "events", - "account", - "permissions", - "created_at", - "updated_at", - "suspended_by", - "suspended_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": [ - "push", - "pull_request" - ], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ], - "repository_selection": "selected", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - } - } - } - } - }, - "201": { - "description": "A GitHub App installation.", - "content": { - "application/json": { - "schema": { - "title": "Installation", - "description": "Installation", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [ - 1 - ] - }, - "account": { - "anyOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - } - ], - "type": [ - "null", - "object" - ] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", - "type": "string", - "enum": [ - "all", - "selected" - ] - }, - "access_tokens_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/app/installations/1/access_tokens" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/installation/repositories" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/organizations/github/settings/installations/1" - ] - }, - "app_id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "client_id": { - "type": "string", - "examples": [ - "Iv1.ab1112223334445c" - ] - }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { - "type": "string", - "examples": [ - "Organization" - ] - }, - "permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": [ - "read", - "write" - ] - }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, - "attestations": { - "type": "string", - "description": "The level of permission to create and retrieve the access token for repository attestations.", - "enum": [ - "read", - "write" - ] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": [ - "read", - "write" - ] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": [ - "read", - "write" - ] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": [ - "read", - "write" - ] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - "discussions": { - "type": "string", - "description": "The level of permission to grant the access token for discussions and related comments and labels.", - "enum": [ - "read", - "write" - ] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - "issues": { - "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", - "enum": [ - "read", - "write" - ] - }, - "merge_queues": { - "type": "string", - "description": "The level of permission to grant the access token to manage the merge queues for a repository.", - "enum": [ - "read", - "write" - ] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": [ - "read", - "write" - ] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": [ - "read", - "write" - ] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": [ - "read", - "write" - ] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": [ - "read", - "write" - ] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - "custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": [ - "write" - ] - }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -33898,406 +32879,9 @@ } } } - } - }, - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "client_id": { - "type": "string", - "description": "The Client ID of the GitHub App to install." - }, - "repository_selection": { - "type": "string", - "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", - "enum": [ - "all", - "selected", - "none" - ] - }, - "repositories": { - "type": "array", - "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", - "items": { - "type": "string" - }, - "maxItems": 50 - } - }, - "required": [ - "client_id", - "repository_selection" - ] - }, - "examples": { - "default": { - "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", - "value": { - "client_id": "Iv2abc123aabbcc", - "repository_selection": "all" - } - }, - "repository_selection_selected": { - "value": { - "client_id": "Iv2abc123aabbcc", - "repository_selection": "selected", - "repositories": [ - "hello-world", - "hello-world-2" - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - } - }, - "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { - "delete": { - "summary": "Uninstall a GitHub App from an enterprise-owned organization", - "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/delete-installation", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - } - ], - "responses": { - "204": { - "description": "An empty response indicates that the installation was successfully removed." - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - } - }, - "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { - "get": { - "summary": "Get the repositories accessible to a given GitHub App installation", - "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/organization-installation-repositories", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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": "A list of repositories owned by the enterprise organization to which the installation has access.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Accessible Repository", - "description": "A repository that may be made accessible to a GitHub App.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" - ] - } - }, - "required": [ - "full_name", - "id", - "name" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "name": "Hello World", - "full_name": "octocat/Hello-World" - }, - { - "id": 2, - "login": "Goodbye World", - "full_name": "octocat/Goodbye-World" - } - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - }, - "patch": { - "summary": "Toggle installation repository access between selected and all repositories", - "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/change-installation-repository-access-selection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_selection": { - "type": "string", - "description": "One of either 'all' or 'selected'", - "enum": [ - "all", - "selected" - ] - }, - "repositories": { - "type": "array", - "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", - "items": { - "type": "string" - }, - "maxItems": 50 - } - }, - "required": [ - "repository_selection" - ] - }, - "examples": { - "default": { - "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", - "value": { - "repository_selection": "selected", - "repositories": [ - "hello-world", - "hello-world-2" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "The GitHub App installation that was updated.", + "201": { + "description": "A GitHub App installation.", "content": { "application/json": { "schema": { @@ -34906,6 +33490,1518 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "enterprise_organization_installations": { + "type": "string", + "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_organization_installation_repositories": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository access of GitHub Apps on Enterprise-owned organizations.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": [ + "string", + "null" + ], + "examples": [ + "config.yaml" + ] + }, + "has_multiple_single_files": { + "type": "boolean", + "examples": [ + true + ] + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "examples": [ + "github-actions" + ] + }, + "suspended_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "suspended_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "contact_email": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"" + ] + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { + "get": { + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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": "A list of repositories owned by the enterprise organization to which the installation has access.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "patch": { + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/change-installation-repository-access-selection", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_selection": { + "type": "string", + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] + }, + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", + "value": { + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The GitHub App installation that was updated.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "account": { + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ], + "type": [ + "null", + "object" + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/app/installations/1/access_tokens" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/installation/repositories" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/organizations/github/settings/installations/1" + ] + }, + "app_id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "client_id": { + "type": "string", + "examples": [ + "Iv1.ab1112223334445c" + ] + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "examples": [ + "Organization" + ] + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "artifact_metadata": { + "type": "string", + "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", + "enum": [ + "read", + "write" + ] + }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -54048,6 +54144,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -171853,8 +171957,2473 @@ } } }, - "401": { - "description": "Requires authentication", + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + }, + "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", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + }, + "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": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "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", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "has_commit_comments": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "template_repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "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": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -171879,8 +174448,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -171905,8 +174474,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -171932,26 +174501,98 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "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": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -171962,71 +174603,49 @@ "schema": { "type": "string" } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } } } }, - "500": { - "description": "Internal Error", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -172051,8 +174670,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -172077,8 +174696,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -172103,8 +174722,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -172128,16 +174747,13 @@ } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } } }, @@ -202018,6 +204634,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -203181,6 +205805,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -477525,6 +480157,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -764182,6 +766822,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -850607,6 +853255,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1126897,6 +1129553,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1130032,6 +1132696,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1133072,6 +1135744,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1136112,6 +1138792,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1139286,6 +1141974,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1142467,6 +1145163,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1147655,6 +1150359,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index a4685d040..2b7404a8e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -882,7 +882,7 @@ paths: - subscriptions_url - type - url - type: &436 + type: &437 type: string description: The type of credit the user is receiving. enum: @@ -1047,7 +1047,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: - - &740 + - &741 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1632,7 +1632,7 @@ paths: schema: type: integer default: 30 - - &344 + - &345 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1648,7 +1648,7 @@ paths: application/json: schema: type: array - items: &345 + items: &346 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1744,7 +1744,7 @@ paths: - installation_id - repository_id examples: - default: &346 + default: &347 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1776,7 +1776,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &750 + schema: &751 title: Scim Error description: Scim Error type: object @@ -1879,7 +1879,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &348 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2014,7 +2014,7 @@ paths: - request - response examples: - default: &348 + default: &349 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2553,6 +2553,14 @@ paths: This property is in public preview and is subject to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access + token to view and manage Copilot coding agent settings + for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access @@ -9376,7 +9384,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &751 + '401': &752 description: Authorization failure '404': *6 x-github: @@ -13649,7 +13657,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &525 + instances_url: &526 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13685,7 +13693,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &526 + dismissed_reason: &527 type: - string - 'null' @@ -13696,14 +13704,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &527 + dismissed_comment: &528 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &528 + rule: &529 type: object properties: id: @@ -13764,7 +13772,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &529 + tool: &530 type: object properties: name: *111 @@ -13775,26 +13783,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &530 + most_recent_instance: &531 type: object properties: - ref: &523 + ref: &524 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &540 + analysis_key: &541 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &541 + environment: &542 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &543 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13808,7 +13816,7 @@ paths: properties: text: type: string - location: &543 + location: &544 type: object description: Describe a region within a file for the alert. properties: @@ -13829,7 +13837,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &544 + items: &545 type: - string - 'null' @@ -16239,7 +16247,7 @@ paths: parent: anyOf: - type: 'null' - - &383 + - &384 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -17017,7 +17025,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &323 + '413': &324 description: Payload Too Large content: application/json: @@ -18096,7 +18104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &328 + - &329 name: state in: query description: |- @@ -18105,7 +18113,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &329 + - &330 name: severity in: query description: |- @@ -18114,7 +18122,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &330 + - &331 name: ecosystem in: query description: |- @@ -18123,14 +18131,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &331 + - &332 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &332 + - &333 name: epss_percentage in: query description: |- @@ -18142,7 +18150,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &581 + - &582 name: has in: query description: |- @@ -18156,7 +18164,7 @@ paths: type: string enum: - patch - - &333 + - &334 name: assignee in: query description: |- @@ -18165,7 +18173,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &334 + - &335 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -18175,7 +18183,7 @@ paths: enum: - development - runtime - - &335 + - &336 name: sort in: query description: |- @@ -18201,7 +18209,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 type: object description: A Dependabot alert. properties: @@ -18268,7 +18276,7 @@ paths: - direct - transitive - - security_advisory: &582 + security_advisory: &583 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -18481,7 +18489,7 @@ paths: dismissal. maxLength: 280 fixed_at: *136 - auto_dismissed_at: &583 + auto_dismissed_at: &584 type: - string - 'null' @@ -18489,7 +18497,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &584 + dismissal_request: &585 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18552,7 +18560,7 @@ paths: - repository additionalProperties: false examples: - default: &337 + default: &338 value: - number: 2 state: dismissed @@ -19529,7 +19537,7 @@ paths: application/json: schema: *20 examples: - default: &360 + default: &361 value: id: 1 account: @@ -19790,7 +19798,7 @@ paths: - name - created_on examples: - default: &440 + default: &441 value: total_count: 2 network_configurations: @@ -20015,7 +20023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &441 + - &442 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -20027,7 +20035,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &443 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -20066,7 +20074,7 @@ paths: - subnet_id - region examples: - default: &443 + default: &444 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20919,7 +20927,7 @@ paths: required: true content: application/json: - schema: &414 + schema: &415 title: Custom Property Set Payload description: Custom property set payload type: object @@ -22121,7 +22129,7 @@ paths: conditions: anyOf: - *158 - - &418 + - &419 title: Organization ruleset conditions type: object description: |- @@ -22171,7 +22179,7 @@ paths: - object rules: type: array - items: &706 + items: &707 title: Repository Rule type: object description: A repository rule. @@ -22180,7 +22188,7 @@ paths: - *167 - *168 - *169 - - &704 + - &705 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -22508,7 +22516,7 @@ paths: type: string format: date-time examples: - default: &421 + default: &422 value: - version_id: 3 actor: @@ -22561,7 +22569,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &423 allOf: - *191 - type: object @@ -22616,7 +22624,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &423 + - &424 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22627,7 +22635,7 @@ paths: enum: - open - resolved - - &424 + - &425 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22637,7 +22645,7 @@ paths: required: false schema: type: string - - &425 + - &426 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22646,7 +22654,7 @@ paths: required: false schema: type: string - - &426 + - &427 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22665,7 +22673,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &427 + - &428 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. @@ -22681,7 +22689,7 @@ paths: - *17 - *108 - *109 - - &428 + - &429 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22690,7 +22698,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22699,7 +22707,7 @@ paths: schema: type: boolean default: false - - &430 + - &431 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22708,7 +22716,7 @@ paths: schema: type: boolean default: false - - &431 + - &432 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22724,7 +22732,7 @@ paths: application/json: schema: type: array - items: &432 + items: &433 type: object properties: number: *126 @@ -22740,14 +22748,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &718 + state: &719 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: &719 + resolution: &720 type: - string - 'null' @@ -22854,14 +22862,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &720 + - &721 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &722 + - &723 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22918,7 +22926,7 @@ paths: - blob_url - commit_sha - commit_url - - &723 + - &724 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -22979,7 +22987,7 @@ paths: - page_url - commit_sha - commit_url - - &724 + - &725 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22994,7 +23002,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &725 + - &726 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -23009,7 +23017,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &726 + - &727 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -23024,7 +23032,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &727 + - &728 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -23039,7 +23047,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &728 + - &729 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -23054,7 +23062,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &729 + - &730 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -23069,7 +23077,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &730 + - &731 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -23084,7 +23092,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &731 + - &732 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -23099,7 +23107,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &732 + - &733 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -23114,7 +23122,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &733 + - &734 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -23129,7 +23137,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &734 + - &735 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -23154,7 +23162,7 @@ paths: - type: 'null' - *4 examples: - default: &433 + default: &434 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -23363,7 +23371,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -23450,7 +23458,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &435 + default: &436 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -23586,7 +23594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &437 + - &438 name: advanced_security_product in: query description: | @@ -23606,7 +23614,7 @@ paths: description: Success content: application/json: - schema: &438 + schema: &439 type: object properties: total_advanced_security_committers: @@ -23669,7 +23677,7 @@ paths: required: - repositories examples: - default: &439 + default: &440 value: total_advanced_security_committers: 2 total_count: 2 @@ -27326,7 +27334,7 @@ paths: milestone: anyOf: - type: 'null' - - &404 + - &405 title: Milestone description: A collection of related issues and pull requests. @@ -27503,7 +27511,7 @@ paths: timeline_url: type: string format: uri - type: &370 + type: &371 title: Issue Type description: The type of issue. type: @@ -27614,7 +27622,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &778 + sub_issues_summary: &779 title: Sub-issues Summary type: object properties: @@ -27698,7 +27706,7 @@ paths: pin: anyOf: - type: 'null' - - &663 + - &664 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27725,7 +27733,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &779 + issue_dependencies_summary: &780 title: Issue Dependencies Summary type: object properties: @@ -27744,7 +27752,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -28526,7 +28534,7 @@ paths: type: string release: allOf: - - &697 + - &698 title: Release description: A release. type: object @@ -28608,7 +28616,7 @@ paths: author: *4 assets: type: array - items: &698 + items: &699 title: Release Asset description: Data related to a release. type: object @@ -30860,7 +30868,7 @@ paths: - closed - all default: open - - &373 + - &374 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30911,7 +30919,7 @@ paths: type: array items: *219 examples: - default: &374 + default: &375 value: - id: 1 node_id: MDU6SXNzdWUx @@ -32323,14 +32331,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: - - &452 + - &453 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &453 + - &454 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -32392,7 +32400,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &458 + '301': &459 description: Moved permanently content: application/json: @@ -32414,7 +32422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &671 + - &672 name: all description: If `true`, show notifications marked as read. in: query @@ -32422,7 +32430,7 @@ paths: schema: type: boolean default: false - - &672 + - &673 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -32432,7 +32440,7 @@ paths: type: boolean default: false - *224 - - &673 + - &674 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: @@ -32814,7 +32822,7 @@ paths: type: boolean examples: - false - security_and_analysis: &415 + security_and_analysis: &416 type: - object - 'null' @@ -33026,7 +33034,7 @@ paths: - url - subscription_url examples: - default: &674 + default: &675 value: - id: '1' repository: @@ -34073,7 +34081,7 @@ paths: type: array items: *152 examples: - default: &680 + default: &681 value: - property_name: environment value: production @@ -34123,7 +34131,7 @@ paths: required: - properties examples: - default: &681 + default: &682 value: properties: - property_name: environment @@ -35004,7 +35012,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &466 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37241,7 +37249,7 @@ paths: type: array items: *279 examples: - default: &787 + default: &323 value: total_count: 1 repositories: @@ -38285,7 +38293,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -38320,7 +38328,7 @@ paths: - key_id - key examples: - default: &486 + default: &487 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38733,7 +38741,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &470 + - &471 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)." @@ -40369,7 +40377,7 @@ paths: initiator: type: string examples: - default: &499 + default: &500 value: attestations: - bundle: @@ -41291,7 +41299,7 @@ paths: be returned. in: query required: false - schema: &524 + schema: &525 type: string description: Severity of a code scanning alert. enum: @@ -42347,7 +42355,7 @@ paths: type: integer codespaces: type: array - items: &375 + items: &376 type: object title: Codespace description: A codespace. @@ -42382,7 +42390,7 @@ paths: machine: anyOf: - type: 'null' - - &556 + - &557 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42669,7 +42677,7 @@ paths: - pulls_url - recent_folders examples: - default: &376 + default: &377 value: total_count: 3 codespaces: @@ -43334,7 +43342,7 @@ paths: - updated_at - visibility examples: - default: &557 + default: &558 value: total_count: 2 secrets: @@ -43372,7 +43380,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &559 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -43407,7 +43415,7 @@ paths: - key_id - key examples: - default: &559 + default: &560 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43439,7 +43447,7 @@ paths: application/json: schema: *322 examples: - default: &561 + default: &562 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44236,6 +44244,301 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - *87 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': *38 + '401': *23 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *279 + required: + - total_count + - repositories + examples: + default: *323 + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *273 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *273 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -44370,7 +44673,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *323 + '413': *324 '422': *7 x-github: githubCloudOnly: @@ -44817,7 +45120,7 @@ paths: - 3 custom_roles: type: array - items: &324 + items: &325 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -44956,7 +45259,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &327 type: object properties: name: @@ -44998,9 +45301,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: &325 + default: &326 value: id: 8030 name: Security Engineer @@ -45054,9 +45357,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: true @@ -45084,7 +45387,7 @@ paths: required: true content: application/json: - schema: &327 + schema: &328 type: object properties: name: @@ -45123,9 +45426,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45183,7 +45486,7 @@ paths: required: true content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -45197,9 +45500,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45236,9 +45539,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: true @@ -45272,7 +45575,7 @@ paths: required: true content: application/json: - schema: *327 + schema: *328 examples: default: value: @@ -45287,9 +45590,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45349,11 +45652,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *328 - *329 - *330 - *331 - *332 + - *333 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -45383,7 +45686,7 @@ paths: enum: - patch - deployment - - *333 + - *334 - name: runtime_risk in: query description: |- @@ -45392,8 +45695,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *334 - *335 + - *336 - *110 - *108 - *109 @@ -45405,9 +45708,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 '304': *35 '400': *14 '403': *27 @@ -45451,7 +45754,7 @@ paths: type: integer secrets: type: array - items: &338 + items: &339 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -45530,7 +45833,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &588 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -45549,7 +45852,7 @@ paths: - key_id - key examples: - default: &588 + default: &589 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -45579,7 +45882,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -45875,7 +46178,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &596 + - &597 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45883,7 +46186,7 @@ paths: required: false schema: type: string - - &597 + - &598 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45891,7 +46194,7 @@ paths: required: false schema: type: string - - &598 + - &599 name: time_period description: |- The time period to filter by. @@ -45907,7 +46210,7 @@ paths: - week - month default: month - - &599 + - &600 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45932,7 +46235,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -46042,7 +46345,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &339 + items: &340 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -46095,7 +46398,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &601 + default: &602 value: - id: 21 number: 42 @@ -46187,7 +46490,7 @@ paths: - *103 - *104 - *105 - - &340 + - &341 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -46213,7 +46516,7 @@ paths: application/json: schema: type: array - items: &602 + items: &603 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -46323,7 +46626,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *339 + items: *340 url: type: string format: uri @@ -46336,7 +46639,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &603 + default: &604 value: - id: 21 number: 42 @@ -46428,7 +46731,7 @@ paths: - *103 - *104 - *105 - - *340 + - *341 - *17 - *19 responses: @@ -46438,7 +46741,7 @@ paths: application/json: schema: type: array - items: &604 + items: &605 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -46565,7 +46868,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &605 + default: &606 value: - id: 21 number: 42 @@ -46653,7 +46956,7 @@ paths: application/json: schema: type: array - items: &385 + items: &386 title: Package description: A software package type: object @@ -46724,7 +47027,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &387 value: - id: 197 name: hello_docker @@ -46911,7 +47214,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -47001,7 +47304,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &450 + default: &451 value: group_id: '123' group_name: Octocat admins @@ -47056,7 +47359,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &447 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -47096,7 +47399,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &447 + default: &448 value: groups: - group_id: '123' @@ -47141,7 +47444,7 @@ paths: application/json: schema: type: array - items: &364 + items: &365 title: Organization Invitation description: Organization Invitation type: object @@ -47195,7 +47498,7 @@ paths: - invitation_teams_url - node_id examples: - default: &365 + default: &366 value: - id: 1 login: monalisa @@ -47262,7 +47565,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -47276,7 +47579,7 @@ paths: - name - description examples: - default: &417 + default: &418 value: - name: add_assignee description: Assign or remove a user @@ -47317,7 +47620,7 @@ paths: application/json: schema: type: array - items: &341 + items: &342 title: Org Hook description: Org Hook type: object @@ -47500,9 +47803,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: &342 + default: &343 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -47547,7 +47850,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &343 + - &344 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -47560,9 +47863,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *342 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -47584,7 +47887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *343 + - *344 requestBody: required: false content: @@ -47630,7 +47933,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -47670,7 +47973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *343 + - *344 responses: '204': description: Response @@ -47696,7 +47999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *343 + - *344 responses: '200': description: Response @@ -47725,7 +48028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *343 + - *344 requestBody: required: false content: @@ -47774,9 +48077,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *343 - - *17 - *344 + - *17 + - *345 responses: '200': description: Response @@ -47784,9 +48087,9 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *346 + default: *347 '400': *14 '422': *15 x-github: @@ -47810,16 +48113,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *343 + - *344 - *16 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 '400': *14 '422': *15 x-github: @@ -47843,7 +48146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *343 + - *344 - *16 responses: '202': *37 @@ -47870,7 +48173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *343 + - *344 responses: '204': description: Response @@ -47893,7 +48196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &353 + - &354 name: actor_type in: path description: The type of the actor @@ -47906,14 +48209,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &354 + - &355 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &349 + - &350 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -47921,7 +48224,7 @@ paths: required: true schema: type: string - - &350 + - &351 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -48016,12 +48319,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *349 - *350 + - *351 - *19 - *17 - *110 - - &359 + - &360 name: sort description: The property to sort the results by. in: query @@ -48100,14 +48403,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *349 - *350 + - *351 responses: '200': description: Response content: application/json: - schema: &351 + schema: &352 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -48123,7 +48426,7 @@ paths: type: integer format: int64 examples: - default: &352 + default: &353 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -48144,23 +48447,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &355 + - &356 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *349 - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: enabledForGitHubApps: true category: orgs @@ -48179,18 +48482,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *349 - *350 - - *353 + - *351 - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: enabledForGitHubApps: true category: orgs @@ -48208,9 +48511,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *349 - *350 - - &356 + - *351 + - &357 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -48223,7 +48526,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &358 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -48239,7 +48542,7 @@ paths: type: integer format: int64 examples: - default: &358 + default: &359 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -48276,18 +48579,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *355 - - *349 - - *350 - *356 + - *350 + - *351 + - *357 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: enabledForGitHubApps: true category: orgs @@ -48305,19 +48608,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *353 - *354 - - *349 + - *355 - *350 - - *356 + - *351 + - *357 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: enabledForGitHubApps: true category: orgs @@ -48335,13 +48638,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *355 - - *349 + - *356 - *350 + - *351 - *19 - *17 - *110 - - *359 + - *360 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -48425,7 +48728,7 @@ paths: application/json: schema: *20 examples: - default: *360 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48545,12 +48848,12 @@ paths: application/json: schema: anyOf: - - &362 + - &363 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &361 + limit: &362 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -48578,7 +48881,7 @@ paths: properties: {} additionalProperties: false examples: - default: &363 + default: &364 value: limit: collaborators_only origin: organization @@ -48607,13 +48910,13 @@ paths: required: true content: application/json: - schema: &636 + schema: &637 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *361 + limit: *362 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -48638,9 +48941,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '422': *15 x-github: githubCloudOnly: false @@ -48718,9 +49021,9 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 '404': *6 @@ -48798,7 +49101,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *365 examples: default: value: @@ -48855,7 +49158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &366 + - &367 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48889,7 +49192,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *366 + - *367 - *17 - *19 responses: @@ -48901,7 +49204,7 @@ paths: type: array items: *308 examples: - default: &384 + default: &385 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48944,7 +49247,7 @@ paths: application/json: schema: type: array - items: &367 + items: &368 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -49187,9 +49490,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &368 + default: &369 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -49245,7 +49548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &369 + - &370 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -49346,9 +49649,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *368 + default: *369 '404': *6 '422': *7 x-github: @@ -49373,7 +49676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *369 + - *370 responses: '204': *151 '404': *6 @@ -49403,7 +49706,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -49491,9 +49794,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -49526,7 +49829,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &372 + - &373 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -49582,9 +49885,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 '422': *7 x-github: @@ -49609,7 +49912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *372 + - *373 responses: '204': description: Response @@ -49672,7 +49975,7 @@ paths: - closed - all default: open - - *373 + - *374 - name: type description: Can be the name of an issue type. in: query @@ -49703,7 +50006,7 @@ paths: type: array items: *219 examples: - default: *374 + default: *375 headers: Link: *45 '404': *6 @@ -49863,9 +50166,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 '304': *35 '500': *38 '401': *23 @@ -49892,7 +50195,7 @@ paths: parameters: - *87 - *139 - - &377 + - &378 name: codespace_name in: path required: true @@ -49927,15 +50230,15 @@ paths: parameters: - *87 - *139 - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &555 + default: &556 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -50191,7 +50494,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &379 title: Org Membership description: Org Membership type: object @@ -50260,7 +50563,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &379 + response-if-user-has-an-active-admin-membership-with-organization: &380 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -50361,9 +50664,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: - response-if-user-already-had-membership-with-organization: *379 + response-if-user-already-had-membership-with-organization: *380 '422': *15 '403': *27 '451': *15 @@ -50436,7 +50739,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Migration description: A migration. type: object @@ -50774,7 +51077,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -50953,7 +51256,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &381 + - &382 name: migration_id description: The unique identifier of the migration. in: path @@ -50981,7 +51284,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -51151,7 +51454,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *381 + - *382 responses: '302': description: Response @@ -51173,7 +51476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *381 + - *382 responses: '204': description: Response @@ -51197,7 +51500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *381 + - *382 - &799 name: repo_name description: repo_name parameter @@ -51226,7 +51529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *381 + - *382 - *17 - *19 responses: @@ -51336,7 +51639,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &382 + items: &383 title: Organization Role description: Organization roles type: object @@ -51545,7 +51848,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -51775,7 +52078,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -51872,7 +52175,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52031,7 +52334,7 @@ paths: parent: anyOf: - type: 'null' - - *383 + - *384 type: description: The ownership type of the team type: string @@ -52064,7 +52367,7 @@ paths: - type - parent examples: - default: *384 + default: *385 headers: Link: *45 '404': @@ -52123,7 +52426,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *383 + items: *384 name: type: - string @@ -52469,9 +52772,9 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 '403': *27 '401': *23 '400': &802 @@ -52496,7 +52799,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &387 + - &388 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -52514,7 +52817,7 @@ paths: - docker - nuget - container - - &388 + - &389 name: package_name description: The name of the package. in: path @@ -52527,7 +52830,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -52579,8 +52882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *387 - *388 + - *389 - *87 responses: '204': @@ -52613,8 +52916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - name: token description: package token @@ -52647,8 +52950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *387 - *388 + - *389 - *87 - *19 - *17 @@ -52669,7 +52972,7 @@ paths: application/json: schema: type: array - items: &389 + items: &390 title: Package Version description: A version of a software package type: object @@ -52804,10 +53107,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - &390 + - &391 name: package_version_id description: Unique identifier of the package version. in: path @@ -52819,7 +53122,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -52855,10 +53158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - *390 + - *391 responses: '204': description: Response @@ -52890,10 +53193,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - *390 + - *391 responses: '204': description: Response @@ -52923,7 +53226,7 @@ paths: - *87 - *17 - *19 - - &391 + - &392 name: sort description: The property by which to sort the results. in: query @@ -52934,7 +53237,7 @@ paths: - created_at default: created_at - *110 - - &392 + - &393 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -52946,7 +53249,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &393 + - &394 name: repository description: The name of the repository to use to filter the results. in: query @@ -52955,7 +53258,7 @@ paths: type: string examples: - Hello-World - - &394 + - &395 name: permission description: The permission to use to filter the results. in: query @@ -52964,7 +53267,7 @@ paths: type: string examples: - issues_read - - &395 + - &396 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -52974,7 +53277,7 @@ paths: schema: type: string format: date-time - - &396 + - &397 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -52984,7 +53287,7 @@ paths: schema: type: string format: date-time - - &397 + - &398 name: token_id description: The ID of the token in: query @@ -53303,7 +53606,7 @@ paths: type: array items: *279 examples: - default: &398 + default: &399 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -53440,14 +53743,14 @@ paths: - *87 - *17 - *19 - - *391 - - *110 - *392 + - *110 - *393 - *394 - *395 - *396 - *397 + - *398 responses: '500': *38 '422': *15 @@ -53731,7 +54034,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 x-github: @@ -53773,7 +54076,7 @@ paths: type: integer configurations: type: array - items: &399 + items: &400 title: Organization private registry description: Private registry configuration for an organization type: object @@ -54069,7 +54372,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &400 + org-private-registry-with-selected-visibility: &401 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -54167,9 +54470,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -54337,7 +54640,7 @@ paths: application/json: schema: type: array - items: &401 + items: &402 title: Projects v2 Project description: A projects v2 project type: object @@ -54496,7 +54799,7 @@ paths: - deleted_at - deleted_by examples: - default: &402 + default: &403 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -54599,7 +54902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &403 + - &404 name: project_number description: The project's number. in: path @@ -54612,9 +54915,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -54637,7 +54940,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true description: Details of the draft item to create in the project. @@ -54671,7 +54974,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 title: Projects v2 Item description: An item belonging to a project type: object @@ -54685,7 +54988,7 @@ paths: content: oneOf: - *219 - - &570 + - &571 title: Pull Request Simple description: Pull Request Simple type: object @@ -54805,7 +55108,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 active_lock_reason: type: - string @@ -54888,7 +55191,7 @@ paths: _links: type: object properties: - comments: &405 + comments: &406 title: Link description: Hypermedia Link type: object @@ -54897,13 +55200,13 @@ paths: type: string required: - href - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + commits: *406 + statuses: *406 + html: *406 + issue: *406 + review_comments: *406 + review_comment: *406 + self: *406 required: - comments - commits @@ -54914,7 +55217,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: &683 + auto_merge: &684 title: Auto merge description: The status of auto merging a pull request. type: @@ -55014,7 +55317,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &407 + content_type: &408 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -55058,7 +55361,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &409 + draft_issue: &410 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -55132,7 +55435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *403 + - *404 - *87 - *17 - *108 @@ -55144,7 +55447,7 @@ paths: application/json: schema: type: array - items: &406 + items: &407 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -55427,7 +55730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *403 + - *404 - *87 requestBody: required: true @@ -55612,7 +55915,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *406 + schema: *407 examples: text_field: &827 value: @@ -55720,7 +56023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *403 + - *404 - &832 name: field_id description: The unique identifier of the field. @@ -55734,7 +56037,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: &833 value: @@ -55792,7 +56095,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *403 + - *404 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -55825,7 +56128,7 @@ paths: application/json: schema: type: array - items: &410 + items: &411 title: Projects v2 Item description: An item belonging to a project type: object @@ -55842,7 +56145,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *407 + content_type: *408 content: type: - object @@ -55892,7 +56195,7 @@ paths: - updated_at - archived_at examples: - default: &411 + default: &412 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -56590,7 +56893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -56660,22 +56963,22 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *409 + value: *410 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *409 + value: *410 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *409 + value: *410 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *409 + value: *410 '304': *35 '403': *27 '401': *23 @@ -56695,9 +56998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *403 + - *404 - *87 - - &412 + - &413 name: item_id description: The unique identifier of the project item. in: path @@ -56723,9 +57026,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -56746,9 +57049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *403 + - *404 - *87 - - *412 + - *413 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -56821,13 +57124,13 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - text_field: *411 - number_field: *411 - date_field: *411 - single_select_field: *411 - iteration_field: *411 + text_field: *412 + number_field: *412 + date_field: *412 + single_select_field: *412 + iteration_field: *412 '401': *23 '403': *27 '404': *6 @@ -56847,9 +57150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *403 + - *404 - *87 - - *412 + - *413 responses: '204': description: Response @@ -56873,7 +57176,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true content: @@ -57051,7 +57354,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &413 + value: &414 value: id: 1 number: 1 @@ -57097,10 +57400,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *413 + value: *414 roadmap_view: summary: Response for creating a roadmap view - value: *413 + value: *414 '304': *35 '403': *27 '401': *23 @@ -57128,7 +57431,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view parameters: - - *403 + - *404 - *87 - &834 name: view_number @@ -57162,9 +57465,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -57328,7 +57631,7 @@ paths: required: true content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -57696,7 +57999,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 x-github: @@ -57900,7 +58203,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: Full Repository description: Full Repository type: object @@ -58374,7 +58677,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &575 + code_of_conduct: &576 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -58404,7 +58707,7 @@ paths: - key - name - html_url - security_and_analysis: *415 + security_and_analysis: *416 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -58488,7 +58791,7 @@ paths: - network_count - subscribers_count examples: - default: &459 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59015,9 +59318,9 @@ paths: application/json: schema: type: array - items: *416 + items: *417 examples: - default: *417 + default: *418 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59042,7 +59345,7 @@ paths: - *87 - *17 - *19 - - &705 + - &706 name: targets description: | A comma-separated list of rule targets to filter by. @@ -59134,11 +59437,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *418 + conditions: *419 rules: type: array description: An array of rules within the ruleset. - items: &420 + items: &421 title: Repository Rule type: object description: A repository rule. @@ -59203,7 +59506,7 @@ paths: application/json: schema: *187 examples: - default: &419 + default: &420 value: id: 21 name: super cool ruleset @@ -59259,7 +59562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &707 + - &708 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 @@ -59271,14 +59574,14 @@ paths: x-multi-segment: true - *305 - *105 - - &708 + - &709 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 - - &709 + - &710 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -59298,7 +59601,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &711 title: Rule Suites description: Response type: array @@ -59354,7 +59657,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &711 + default: &712 value: - id: 21 actor_id: 12 @@ -59398,7 +59701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &712 + - &713 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -59414,7 +59717,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &714 title: Rule Suite description: Response type: object @@ -59521,7 +59824,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &714 + default: &715 value: id: 21 actor_id: 12 @@ -59596,7 +59899,7 @@ paths: application/json: schema: *187 examples: - default: *419 + default: *420 '404': *6 '500': *38 put: @@ -59645,11 +59948,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *418 + conditions: *419 rules: description: An array of rules within the ruleset. type: array - items: *420 + items: *421 examples: default: value: @@ -59686,7 +59989,7 @@ paths: application/json: schema: *187 examples: - default: *419 + default: *420 '404': *6 '422': *15 '500': *38 @@ -59746,7 +60049,7 @@ paths: type: array items: *191 examples: - default: *421 + default: *422 '404': *6 '500': *38 x-github: @@ -59783,7 +60086,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -59846,15 +60149,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *423 - *424 - *425 - *426 - *427 + - *428 - *110 - *19 - *17 - - &716 + - &717 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 @@ -59864,7 +60167,7 @@ paths: required: false schema: type: string - - &717 + - &718 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 @@ -59874,10 +60177,10 @@ paths: required: false schema: type: string - - *428 - *429 - *430 - *431 + - *432 responses: '200': description: Response @@ -59885,9 +60188,9 @@ paths: application/json: schema: type: array - items: *432 + items: *433 examples: - default: *433 + default: *434 headers: Link: *45 '404': *6 @@ -59922,9 +60225,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '403': *27 '404': *6 patch: @@ -60077,7 +60380,7 @@ paths: application/json: schema: type: array - items: &738 + items: &739 description: A repository security advisory. type: object properties: @@ -60300,7 +60603,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 credits_detailed: type: - array @@ -60311,7 +60614,7 @@ paths: type: object properties: user: *4 - type: *436 + type: *437 state: type: string description: The state of the user's acceptance of the @@ -60374,7 +60677,7 @@ paths: - private_fork additionalProperties: false examples: - default: &739 + default: &740 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -60761,7 +61064,7 @@ paths: application/json: schema: type: array - items: *383 + items: *384 examples: default: value: @@ -60860,7 +61163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *437 + - *438 - *17 - *19 responses: @@ -60868,9 +61171,9 @@ paths: description: Success content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61153,7 +61456,7 @@ paths: type: array items: *144 examples: - default: *440 + default: *441 headers: Link: *45 x-github: @@ -61356,15 +61659,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *441 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 headers: Link: *45 x-github: @@ -61402,7 +61705,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &455 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -61454,7 +61757,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &455 + default: &456 value: groups: - group_id: '123' @@ -61580,7 +61883,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 headers: Link: *45 '403': *27 @@ -61666,7 +61969,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &445 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -61740,7 +62043,7 @@ paths: parent: anyOf: - type: 'null' - - *383 + - *384 members_count: type: integer examples: @@ -62065,7 +62368,7 @@ paths: - repos_count - organization examples: - default: &445 + default: &446 value: id: 1 node_id: MDQ6VGVhbTE= @@ -62142,9 +62445,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -62229,16 +62532,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '201': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 '422': *15 '403': *27 @@ -62268,7 +62571,7 @@ paths: responses: '204': description: Response - '422': &448 + '422': &449 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -62297,10 +62600,10 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: *447 - '422': *448 + default: *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -62344,10 +62647,10 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 - '422': *448 + default: *451 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62371,7 +62674,7 @@ paths: responses: '204': description: Response - '422': *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62403,12 +62706,12 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 - '422': *448 + '422': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62490,7 +62793,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: Team Membership description: Team Membership type: object @@ -62518,7 +62821,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &781 + response-if-user-is-a-team-maintainer: &782 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -62581,9 +62884,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-users-membership-with-team-is-now-pending: &782 + response-if-users-membership-with-team-is-now-pending: &783 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -62659,7 +62962,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 x-github: @@ -62690,14 +62993,14 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &784 title: Team Repository description: A team's access to a repository. type: object @@ -63333,8 +63636,8 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 requestBody: required: false content: @@ -63381,8 +63684,8 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 responses: '204': description: Response @@ -63415,10 +63718,10 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 - '422': *448 + default: *456 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -63484,7 +63787,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -63496,7 +63799,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -63530,7 +63833,7 @@ paths: type: array items: *308 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &785 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -63684,7 +63987,7 @@ paths: resources: type: object properties: - core: &456 + core: &457 title: Rate Limit type: object properties: @@ -63701,17 +64004,17 @@ paths: - remaining - reset - used - graphql: *456 - search: *456 - code_search: *456 - source_import: *456 - integration_manifest: *456 - code_scanning_upload: *456 - actions_runner_registration: *456 - scim: *456 - dependency_snapshots: *456 - dependency_sbom: *456 - code_scanning_autofix: *456 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search @@ -63818,14 +64121,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: default-response: summary: Default response @@ -64334,7 +64637,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *458 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64352,8 +64655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -64655,10 +64958,10 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 - '307': &460 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -64687,8 +64990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -64710,7 +65013,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': *460 + '307': *461 '404': *6 '409': *119 x-github: @@ -64734,11 +65037,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 - - &477 + - &478 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -64761,7 +65064,7 @@ paths: type: integer artifacts: type: array - items: &461 + items: &462 title: Artifact description: An artifact type: object @@ -64856,7 +65159,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &479 value: total_count: 2 artifacts: @@ -64917,9 +65220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *452 - *453 - - &462 + - *454 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -64931,7 +65234,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -64969,9 +65272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *452 - *453 - - *462 + - *454 + - *463 responses: '204': description: Response @@ -64995,9 +65298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *452 - *453 - - *462 + - *454 + - *463 - name: archive_format in: path required: true @@ -65011,7 +65314,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': &639 + '410': &640 description: Gone content: application/json: @@ -65036,14 +65339,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -65077,13 +65380,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *463 + schema: *464 examples: selected_actions: *42 responses: @@ -65112,14 +65415,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &464 + schema: &465 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -65153,13 +65456,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *464 + schema: *465 examples: selected_actions: *44 responses: @@ -65190,14 +65493,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: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -65223,11 +65526,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: - - *452 - *453 + - *454 - *17 - *19 - - &466 + - &467 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 @@ -65261,7 +65564,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &468 title: Repository actions caches description: Repository actions caches type: object @@ -65311,7 +65614,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &469 value: total_count: 1 actions_caches: @@ -65343,23 +65646,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: - - *452 - *453 + - *454 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65379,8 +65682,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: - - *452 - *453 + - *454 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -65411,9 +65714,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: - - *452 - *453 - - &469 + - *454 + - &470 name: job_id description: The unique identifier of the job. in: path @@ -65425,7 +65728,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: Job description: Information of a job execution in a workflow run type: object @@ -65772,9 +66075,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: - - *452 - *453 - - *469 + - *454 + - *470 responses: '302': description: Response @@ -65802,9 +66105,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: - - *452 - *453 - - *469 + - *454 + - *470 requestBody: required: false content: @@ -65850,8 +66153,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: - - *452 - *453 + - *454 responses: '200': description: Status response @@ -65901,8 +66204,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -65965,8 +66268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -65984,7 +66287,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -66005,7 +66308,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &485 value: total_count: 2 secrets: @@ -66038,9 +66341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *452 - *453 - - *470 + - *454 + - *471 - *19 responses: '200': @@ -66057,7 +66360,7 @@ paths: type: integer variables: type: array - items: &487 + items: &488 title: Actions Variable type: object properties: @@ -66091,7 +66394,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 variables: @@ -66124,8 +66427,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66134,7 +66437,7 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &472 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -66169,8 +66472,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -66181,7 +66484,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *472 allowed_actions: *60 sha_pinning_required: *61 required: @@ -66214,14 +66517,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: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &472 + schema: &473 type: object properties: access_level: @@ -66239,7 +66542,7 @@ paths: required: - access_level examples: - default: &473 + default: &474 value: access_level: organization x-github: @@ -66264,15 +66567,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: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 responses: '204': description: Response @@ -66296,8 +66599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66327,8 +66630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Empty response for successful settings update @@ -66362,8 +66665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66390,8 +66693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -66425,8 +66728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66454,8 +66757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -66486,8 +66789,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66518,8 +66821,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -66551,8 +66854,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66581,8 +66884,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: - - *452 - *453 + - *454 responses: '204': description: Success response @@ -66622,8 +66925,8 @@ paths: in: query schema: type: string - - *452 - *453 + - *454 - *17 - *19 responses: @@ -66667,8 +66970,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -66700,8 +67003,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -66775,8 +67078,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: - - *452 - *453 + - *454 responses: '201': description: Response @@ -66812,8 +67115,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: - - *452 - *453 + - *454 responses: '201': description: Response @@ -66843,8 +67146,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: - - *452 - *453 + - *454 - *75 responses: '200': @@ -66874,8 +67177,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: - - *452 - *453 + - *454 - *75 responses: '204': @@ -66902,8 +67205,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: - - *452 - *453 + - *454 - *75 responses: '200': *81 @@ -66928,8 +67231,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: - - *452 - *453 + - *454 - *75 requestBody: required: true @@ -66978,8 +67281,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: - - *452 - *453 + - *454 - *75 requestBody: required: true @@ -67029,8 +67332,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: - - *452 - *453 + - *454 - *75 responses: '200': *286 @@ -67060,8 +67363,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: - - *452 - *453 + - *454 - *75 - *287 responses: @@ -67091,9 +67394,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: - - *452 - *453 - - &491 + - *454 + - &492 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. @@ -67101,7 +67404,7 @@ paths: required: false schema: type: string - - &492 + - &493 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -67109,7 +67412,7 @@ paths: required: false schema: type: string - - &493 + - &494 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -67118,7 +67421,7 @@ paths: required: false schema: type: string - - &494 + - &495 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 @@ -67145,7 +67448,7 @@ paths: - pending - *17 - *19 - - &495 + - &496 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)." @@ -67154,7 +67457,7 @@ paths: schema: type: string format: date-time - - &474 + - &475 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -67163,13 +67466,13 @@ paths: schema: type: boolean default: false - - &496 + - &497 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &498 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -67192,7 +67495,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &476 title: Workflow Run description: An invocation of a workflow type: object @@ -67370,7 +67673,7 @@ paths: head_commit: anyOf: - type: 'null' - - &519 + - &520 title: Simple Commit description: A commit. type: object @@ -67485,7 +67788,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &499 value: total_count: 1 workflow_runs: @@ -67721,24 +68024,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *452 - *453 - - &476 + - *454 + - &477 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &479 + default: &480 value: id: 30433642 name: Build @@ -67979,9 +68282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '204': description: Response @@ -68004,9 +68307,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -68134,9 +68437,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '201': description: Response @@ -68169,12 +68472,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *452 - *453 - - *476 + - *454 + - *477 - *17 - *19 - - *477 + - *478 - *110 responses: '200': @@ -68191,9 +68494,9 @@ paths: type: integer artifacts: type: array - items: *461 + items: *462 examples: - default: *478 + default: *479 headers: Link: *45 x-github: @@ -68217,25 +68520,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *452 - *453 - - *476 - - &480 + - *454 + - *477 + - &481 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68258,10 +68561,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: - - *452 - *453 - - *476 - - *480 + - *454 + - *477 + - *481 - *17 - *19 responses: @@ -68279,9 +68582,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *482 examples: - default: &482 + default: &483 value: total_count: 1 jobs: @@ -68394,10 +68697,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *452 - *453 - - *476 - - *480 + - *454 + - *477 + - *481 responses: '302': description: Response @@ -68425,9 +68728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '202': description: Response @@ -68460,9 +68763,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: true content: @@ -68529,9 +68832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '202': description: Response @@ -68564,9 +68867,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: - - *452 - *453 - - *476 + - *454 + - *477 - 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 @@ -68596,9 +68899,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *482 examples: - default: *482 + default: *483 headers: Link: *45 x-github: @@ -68623,9 +68926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '302': description: Response @@ -68652,9 +68955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '204': description: Response @@ -68681,9 +68984,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -68752,7 +69055,7 @@ paths: items: type: object properties: - type: &606 + type: &607 type: string description: The type of reviewer. enum: @@ -68838,9 +69141,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: true content: @@ -68890,7 +69193,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -69002,7 +69305,7 @@ paths: - created_at - updated_at examples: - default: &592 + default: &593 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -69058,9 +69361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: false content: @@ -69105,9 +69408,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: false content: @@ -69162,9 +69465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -69301,8 +69604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -69320,9 +69623,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *484 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -69347,16 +69650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69378,17 +69681,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &619 + default: &620 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -69414,8 +69717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -69473,8 +69776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -69500,9 +69803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *452 - *453 - - *470 + - *454 + - *471 - *19 responses: '200': @@ -69519,9 +69822,9 @@ paths: type: integer variables: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *45 x-github: @@ -69544,8 +69847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -69597,17 +69900,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &620 + default: &621 value: name: USERNAME value: octocat @@ -69633,8 +69936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 requestBody: required: true @@ -69677,8 +69980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 responses: '204': @@ -69704,8 +70007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -69723,7 +70026,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &490 title: Workflow description: A GitHub Actions workflow type: object @@ -69841,9 +70144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *452 - *453 - - &490 + - *454 + - &491 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -69858,7 +70161,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -69891,9 +70194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Response @@ -69918,9 +70221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -70001,9 +70304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Response @@ -70030,19 +70333,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: - - *452 - *453 - - *490 + - *454 - *491 - *492 - *493 - *494 + - *495 - *17 - *19 - - *495 - - *474 - *496 + - *475 - *497 + - *498 responses: '200': description: Response @@ -70058,9 +70361,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *476 examples: - default: *498 + default: *499 headers: Link: *45 x-github: @@ -70093,9 +70396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '200': description: Response @@ -70156,8 +70459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *452 - *453 + - *454 - *110 - *17 - *108 @@ -70325,8 +70628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -70363,8 +70666,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: - - *452 - *453 + - *454 - name: assignee in: path required: true @@ -70400,8 +70703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -70513,8 +70816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *452 - *453 + - *454 - *17 - *108 - *109 @@ -70555,7 +70858,7 @@ paths: initiator: type: string examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70575,8 +70878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -70584,7 +70887,7 @@ paths: application/json: schema: type: array - items: &500 + items: &501 title: Autolink reference description: An autolink reference. type: object @@ -70643,8 +70946,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -70683,9 +70986,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 key_prefix: TICKET- @@ -70716,9 +71019,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: - - *452 - *453 - - &502 + - *454 + - &503 name: autolink_id description: The unique identifier of the autolink. in: path @@ -70730,9 +71033,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '404': *6 x-github: githubCloudOnly: false @@ -70752,9 +71055,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: - - *452 - *453 - - *502 + - *454 + - *503 responses: '204': description: Response @@ -70778,8 +71081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response if Dependabot is enabled @@ -70829,8 +71132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -70851,8 +71154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -70872,8 +71175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *452 - *453 + - *454 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -70911,7 +71214,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &505 title: Branch Protection description: Branch Protection type: object @@ -70954,7 +71257,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &508 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -70971,7 +71274,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &510 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -71055,7 +71358,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &507 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -71348,9 +71651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *452 - *453 - - &505 + - *454 + - &506 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). @@ -71364,14 +71667,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &566 + commit: &567 title: Commit description: Commit type: object @@ -71410,7 +71713,7 @@ paths: author: anyOf: - type: 'null' - - &503 + - &504 title: Git User description: Metaproperties for Git author/committer information. @@ -71432,7 +71735,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 message: type: string examples: @@ -71456,7 +71759,7 @@ paths: required: - sha - url - verification: &626 + verification: &627 title: Verification type: object properties: @@ -71536,7 +71839,7 @@ paths: type: integer files: type: array - items: &577 + items: &578 title: Diff Entry description: Diff Entry type: object @@ -71632,7 +71935,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *505 protection_url: type: string format: uri @@ -71741,7 +72044,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *458 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -71763,15 +72066,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: default: value: @@ -71965,9 +72268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -72227,7 +72530,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &513 title: Status Check Policy description: Status Check Policy type: object @@ -72386,7 +72689,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *507 required_conversation_resolution: type: object properties: @@ -72498,9 +72801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -72525,17 +72828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -72557,17 +72860,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72586,9 +72889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -72613,17 +72916,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: &510 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -72719,9 +73022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -72819,9 +73122,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 '422': *15 x-github: githubCloudOnly: false @@ -72842,9 +73145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -72871,17 +73174,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &511 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -72904,17 +73207,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -72934,9 +73237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -72961,17 +73264,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -72997,9 +73300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73051,9 +73354,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *513 + default: *514 '404': *6 '422': *15 x-github: @@ -73075,9 +73378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73101,9 +73404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -73137,9 +73440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73206,9 +73509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73272,9 +73575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: content: application/json: @@ -73340,15 +73643,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -73439,9 +73742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73464,9 +73767,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -73476,7 +73779,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &515 value: - id: 1 slug: octoapp @@ -73533,9 +73836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -73569,7 +73872,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -73590,9 +73893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -73626,7 +73929,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -73647,9 +73950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -73683,7 +73986,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -73705,9 +74008,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -73717,7 +74020,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -73737,9 +74040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73777,7 +74080,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -73798,9 +74101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73838,7 +74141,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -73859,9 +74162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: content: application/json: @@ -73898,7 +74201,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -73920,9 +74223,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -73956,9 +74259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74016,9 +74319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74076,9 +74379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74138,9 +74441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74162,7 +74465,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: default: value: @@ -74276,8 +74579,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 @@ -74313,8 +74616,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -74387,8 +74690,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 @@ -74428,8 +74731,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -74499,8 +74802,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -74571,8 +74874,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_response_id in: path required: true @@ -74605,8 +74908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -74885,7 +75188,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 title: CheckRun description: A check performed on the code of a given code change type: object @@ -75308,9 +75611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *452 - *453 - - &517 + - *454 + - &518 name: check_run_id description: The unique identifier of the check run. in: path @@ -75322,9 +75625,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &518 + default: &519 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -75424,9 +75727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *452 - *453 - - *517 + - *454 + - *518 requestBody: required: true content: @@ -75666,9 +75969,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75688,9 +75991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *452 - *453 - - *517 + - *454 + - *518 - *17 - *19 responses: @@ -75800,9 +76103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *452 - *453 - - *517 + - *454 + - *518 responses: '201': description: Response @@ -75846,8 +76149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -75869,7 +76172,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &520 + schema: &521 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -75967,7 +76270,7 @@ paths: - string - 'null' format: date-time - head_commit: *519 + head_commit: *520 latest_check_runs_count: type: integer check_runs_url: @@ -75995,7 +76298,7 @@ paths: - check_runs_url - pull_requests examples: - default: &521 + default: &522 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -76286,9 +76589,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76307,8 +76610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -76617,9 +76920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *452 - *453 - - &522 + - *454 + - &523 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -76631,9 +76934,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76656,17 +76959,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: - - *452 - *453 - - *522 - - &572 + - *454 + - *523 + - &573 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &573 + - &574 name: status description: Returns check runs with the specified `status`. in: query @@ -76705,9 +77008,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *517 examples: - default: &574 + default: &575 value: total_count: 1 check_runs: @@ -76809,9 +77112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *452 - *453 - - *522 + - *454 + - *523 responses: '201': description: Response @@ -76844,21 +77147,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: - - *452 - *453 + - *454 - *312 - *313 - *19 - *17 - - &538 + - &539 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: *523 - - &539 + schema: *524 + - &540 name: pr description: The number of the pull request for the results you want to list. in: query @@ -76889,7 +77192,7 @@ paths: be returned. in: query required: false - schema: *524 + schema: *525 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -76913,7 +77216,7 @@ paths: updated_at: *134 url: *131 html_url: *132 - instances_url: *525 + instances_url: *526 state: *113 fixed_at: *136 dismissed_by: @@ -76921,11 +77224,11 @@ paths: - type: 'null' - *4 dismissed_at: *135 - dismissed_reason: *526 - dismissed_comment: *527 - rule: *528 - tool: *529 - most_recent_instance: *530 + dismissed_reason: *527 + dismissed_comment: *528 + rule: *529 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: anyOf: - type: 'null' @@ -77048,7 +77351,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &531 + '403': &532 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -77075,9 +77378,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: - - *452 - *453 - - &532 + - *454 + - &533 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -77091,7 +77394,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 type: object properties: number: *126 @@ -77099,7 +77402,7 @@ paths: updated_at: *134 url: *131 html_url: *132 - instances_url: *525 + instances_url: *526 state: *113 fixed_at: *136 dismissed_by: @@ -77107,8 +77410,8 @@ paths: - type: 'null' - *4 dismissed_at: *135 - dismissed_reason: *526 - dismissed_comment: *527 + dismissed_reason: *527 + dismissed_comment: *528 rule: type: object properties: @@ -77170,8 +77473,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *529 - most_recent_instance: *530 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: anyOf: - type: 'null' @@ -77267,7 +77570,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -77287,9 +77590,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: true content: @@ -77304,8 +77607,8 @@ paths: enum: - open - dismissed - dismissed_reason: *526 - dismissed_comment: *527 + dismissed_reason: *527 + dismissed_comment: *528 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -77333,7 +77636,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -77409,7 +77712,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &537 + '403': &538 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -77436,15 +77739,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: - - *452 - *453 - - *532 + - *454 + - *533 responses: '200': description: Response content: application/json: - schema: &534 + schema: &535 type: object properties: status: @@ -77471,13 +77774,13 @@ paths: - description - started_at examples: - default: &535 + default: &536 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &536 + '400': &537 description: Bad Request content: application/json: @@ -77488,7 +77791,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': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -77513,29 +77816,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: - - *452 - *453 - - *532 + - *454 + - *533 responses: '200': description: OK content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '202': description: Accepted content: application/json: - schema: *534 + schema: *535 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *536 + '400': *537 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -77567,9 +77870,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: false content: @@ -77615,8 +77918,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *536 - '403': *537 + '400': *537 + '403': *538 '404': *6 '422': description: Unprocessable Entity @@ -77640,13 +77943,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: - - *452 - *453 - - *532 + - *454 + - *533 - *19 - *17 - - *538 - *539 + - *540 responses: '200': description: Response @@ -77657,10 +77960,10 @@ paths: items: type: object properties: - ref: *523 - analysis_key: *540 - environment: *541 - category: *542 + ref: *524 + analysis_key: *541 + environment: *542 + category: *543 state: type: - string @@ -77677,7 +77980,7 @@ paths: properties: text: type: string - location: *543 + location: *544 html_url: type: string classifications: @@ -77685,7 +77988,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *544 + items: *545 examples: default: value: @@ -77722,7 +78025,7 @@ paths: end_column: 50 classifications: - source - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -77756,25 +78059,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: - - *452 - *453 + - *454 - *312 - *313 - *19 - *17 - - *539 + - *540 - 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: *523 + schema: *524 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &545 + schema: &546 type: string description: An identifier for the upload. examples: @@ -77796,23 +78099,23 @@ paths: application/json: schema: type: array - items: &546 + items: &547 type: object properties: - ref: *523 - commit_sha: &554 + ref: *524 + commit_sha: &555 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: *540 + analysis_key: *541 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *543 error: type: string examples: @@ -77837,8 +78140,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *545 - tool: *529 + sarif_id: *546 + tool: *530 deletable: type: boolean warning: @@ -77900,7 +78203,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -77936,8 +78239,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: - - *452 - *453 + - *454 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77950,7 +78253,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: response: summary: application/json response @@ -78004,7 +78307,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *531 + '403': *532 '404': *6 '422': description: Response if analysis could not be processed @@ -78091,8 +78394,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: - - *452 - *453 + - *454 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -78148,7 +78451,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': *537 + '403': *538 '404': *6 '503': *192 x-github: @@ -78170,8 +78473,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -78179,7 +78482,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: CodeQL Database description: A CodeQL database. type: object @@ -78291,7 +78594,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': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78320,8 +78623,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: - - *452 - *453 + - *454 - name: language in: path description: The language of the CodeQL database. @@ -78333,7 +78636,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -78365,9 +78668,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': &579 + '302': &580 description: Found - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78389,8 +78692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *452 - *453 + - *454 - name: language in: path description: The language of the CodeQL database. @@ -78400,7 +78703,7 @@ paths: responses: '204': description: Response - '403': *537 + '403': *538 '404': *6 '503': *192 x-github: @@ -78428,8 +78731,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -78438,7 +78741,7 @@ paths: type: object additionalProperties: false properties: - language: &548 + language: &549 type: string description: The language targeted by the CodeQL query enum: @@ -78518,7 +78821,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &552 + schema: &553 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -78528,7 +78831,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *548 + query_language: *549 query_pack_url: type: string description: The download url for the query pack. @@ -78576,7 +78879,7 @@ paths: items: type: object properties: - repository: &549 + repository: &550 title: Repository Identifier description: Repository Identifier type: object @@ -78618,7 +78921,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &553 + analysis_status: &554 type: string description: The new status of the CodeQL variant analysis repository task. @@ -78650,7 +78953,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &550 + access_mismatch_repos: &551 type: object properties: repository_count: @@ -78665,7 +78968,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: *549 + items: *550 required: - repository_count - repositories @@ -78688,8 +78991,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *550 - over_limit_repos: *550 + no_codeql_db_repos: *551 + over_limit_repos: *551 required: - access_mismatch_repos - not_found_repos @@ -78705,7 +79008,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &551 + value: &552 summary: Default response value: id: 1 @@ -78851,10 +79154,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *551 + value: *552 repository_lists: summary: Response for a successful variant analysis submission - value: *551 + value: *552 '404': *6 '422': description: Unable to process variant analysis submission @@ -78882,8 +79185,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: - - *452 - *453 + - *454 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -78895,9 +79198,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *551 + default: *552 '404': *6 '503': *192 x-github: @@ -78920,7 +79223,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: - - *452 + - *453 - name: repo in: path description: The name of the controller repository. @@ -78955,7 +79258,7 @@ paths: type: object properties: repository: *120 - analysis_status: *553 + analysis_status: *554 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -79080,8 +79383,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -79172,7 +79475,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -79193,8 +79496,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -79288,7 +79591,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *537 + '403': *538 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -79359,8 +79662,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -79368,7 +79671,7 @@ paths: schema: type: object properties: - commit_sha: *554 + commit_sha: *555 ref: type: string description: |- @@ -79428,7 +79731,7 @@ paths: schema: type: object properties: - id: *545 + id: *546 url: type: string description: The REST API URL for checking the status of the upload. @@ -79442,7 +79745,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': *537 + '403': *538 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -79465,8 +79768,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: - - *452 - *453 + - *454 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -79514,7 +79817,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': *531 + '403': *532 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -79539,8 +79842,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -79621,8 +79924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *452 - *453 + - *454 - 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 @@ -79750,8 +80053,8 @@ paths: parameters: - *17 - *19 - - *452 - *453 + - *454 responses: '200': description: Response @@ -79767,7 +80070,7 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: default: value: @@ -80065,8 +80368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -80130,17 +80433,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '400': *14 '401': *23 '403': *27 @@ -80169,8 +80472,8 @@ paths: parameters: - *17 - *19 - - *452 - *453 + - *454 responses: '200': description: Response @@ -80234,8 +80537,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: - - *452 - *453 + - *454 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -80272,7 +80575,7 @@ paths: type: integer machines: type: array - items: *556 + items: *557 examples: default: &790 value: @@ -80314,8 +80617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *452 - *453 + - *454 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -80402,8 +80705,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: - - *452 - *453 + - *454 - 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 @@ -80472,8 +80775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -80491,7 +80794,7 @@ paths: type: integer secrets: type: array - items: &560 + items: &561 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -80512,7 +80815,7 @@ paths: - created_at - updated_at examples: - default: *557 + default: *558 headers: Link: *45 x-github: @@ -80535,16 +80838,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -80564,17 +80867,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80594,8 +80897,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: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -80648,8 +80951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -80678,8 +80981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *452 - *453 + - *454 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -80717,7 +81020,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Collaborator description: Collaborator type: object @@ -80910,8 +81213,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: - - *452 - *453 + - *454 - *139 responses: '204': @@ -80958,8 +81261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *452 - *453 + - *454 - *139 requestBody: required: false @@ -80986,7 +81289,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81214,8 +81517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *452 - *453 + - *454 - *139 responses: '204': @@ -81247,8 +81550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *452 - *453 + - *454 - *139 responses: '200': @@ -81269,7 +81572,7 @@ paths: user: anyOf: - type: 'null' - - *562 + - *563 required: - permission - role_name @@ -81323,8 +81626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -81334,7 +81637,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Commit Comment description: Commit Comment type: object @@ -81392,7 +81695,7 @@ paths: - created_at - updated_at examples: - default: &568 + default: &569 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81451,17 +81754,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &569 + default: &570 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81518,8 +81821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -81542,7 +81845,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -81593,8 +81896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -81616,8 +81919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -81644,7 +81947,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -81688,7 +81991,7 @@ paths: - content - created_at examples: - default: &641 + default: &642 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -81733,8 +82036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -81767,9 +82070,9 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -81798,9 +82101,9 @@ paths: description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -81822,10 +82125,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - &642 + - &643 name: reaction_id description: The unique identifier of the reaction. in: path @@ -81880,8 +82183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *452 - *453 + - *454 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -81937,9 +82240,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &690 + default: &691 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -82033,9 +82336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *452 - *453 - - &567 + - *454 + - &568 name: commit_sha description: The SHA of the commit. in: path @@ -82107,9 +82410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *452 - *453 - - *567 + - *454 + - *568 - *17 - *19 responses: @@ -82119,9 +82422,9 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: - default: *568 + default: *569 headers: Link: *45 x-github: @@ -82149,9 +82452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *452 - *453 - - *567 + - *454 + - *568 requestBody: required: true content: @@ -82186,9 +82489,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *569 + default: *570 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -82216,9 +82519,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: - - *452 - *453 - - *567 + - *454 + - *568 - *17 - *19 responses: @@ -82228,9 +82531,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: &682 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82767,11 +83070,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *452 - *453 + - *454 - *19 - *17 - - &571 + - &572 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)" @@ -82786,9 +83089,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &668 + default: &669 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -82901,11 +83204,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: - - *452 - *453 - - *571 + - *454 - *572 - *573 + - *574 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -82939,9 +83242,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *517 examples: - default: *574 + default: *575 headers: Link: *45 x-github: @@ -82966,9 +83269,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: - - *452 - *453 - - *571 + - *454 + - *572 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -82976,7 +83279,7 @@ paths: schema: type: integer example: 1 - - *572 + - *573 - *17 - *19 responses: @@ -82994,7 +83297,7 @@ paths: type: integer check_suites: type: array - items: *520 + items: *521 examples: default: value: @@ -83194,9 +83497,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: - - *452 - *453 - - *571 + - *454 + - *572 - *17 - *19 responses: @@ -83398,9 +83701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *452 - *453 - - *571 + - *454 + - *572 - *17 - *19 responses: @@ -83410,7 +83713,7 @@ paths: application/json: schema: type: array - items: &743 + items: &744 title: Status description: The status of a commit. type: object @@ -83491,7 +83794,7 @@ paths: site_admin: false headers: Link: *45 - '301': *458 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83519,8 +83822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -83553,11 +83856,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *575 + - *576 code_of_conduct_file: anyOf: - type: 'null' - - &576 + - &577 title: Community Health File type: object properties: @@ -83577,19 +83880,19 @@ paths: contributing: anyOf: - type: 'null' - - *576 + - *577 readme: anyOf: - type: 'null' - - *576 + - *577 issue_template: anyOf: - type: 'null' - - *576 + - *577 pull_request_template: anyOf: - type: 'null' - - *576 + - *577 required: - code_of_conduct - code_of_conduct_file @@ -83718,8 +84021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *452 - *453 + - *454 - *19 - *17 - name: basehead @@ -83767,8 +84070,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *566 - merge_base_commit: *566 + base_commit: *567 + merge_base_commit: *567 status: type: string enum: @@ -83792,10 +84095,10 @@ paths: - 6 commits: type: array - items: *566 + items: *567 files: type: array - items: *577 + items: *578 required: - url - html_url @@ -84081,8 +84384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -84252,7 +84555,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &578 + response-if-content-is-a-file-github-object: &579 summary: Response if content is a file value: type: file @@ -84389,7 +84692,7 @@ paths: - size - type - url - - &695 + - &696 title: Content File description: Content File type: object @@ -84607,7 +84910,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *579 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -84676,7 +84979,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *579 + '302': *580 '304': *35 x-github: githubCloudOnly: false @@ -84699,8 +85002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -84795,7 +85098,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &581 title: File Commit description: File Commit type: object @@ -84951,7 +85254,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: example-for-creating-a-file: value: @@ -85005,7 +85308,7 @@ paths: schema: oneOf: - *3 - - &621 + - &622 description: Repository rule violation was detected type: object properties: @@ -85026,7 +85329,7 @@ paths: items: type: object properties: - placeholder_id: &735 + placeholder_id: &736 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -85058,8 +85361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -85120,7 +85423,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -85175,8 +85478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *452 - *453 + - *454 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -85300,23 +85603,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *452 - *453 - - *328 + - *454 - *329 - *330 - *331 + - *332 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *332 - - *581 - *333 + - *582 - *334 - *335 + - *336 - *110 - *108 - *109 @@ -85328,7 +85631,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 type: object description: A Dependabot alert. properties: @@ -85378,7 +85681,7 @@ paths: - direct - transitive - - security_advisory: *582 + security_advisory: *583 security_vulnerability: *130 url: *131 html_url: *132 @@ -85409,8 +85712,8 @@ paths: dismissal. maxLength: 280 fixed_at: *136 - auto_dismissed_at: *583 - dismissal_request: *584 + auto_dismissed_at: *584 + dismissal_request: *585 assignees: type: array description: The users assigned to this alert. @@ -85665,9 +85968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *452 - *453 - - &586 + - *454 + - &587 name: alert_number in: path description: |- @@ -85682,7 +85985,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -85814,9 +86117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *452 - *453 - - *586 + - *454 + - *587 requestBody: required: true content: @@ -85872,7 +86175,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -86002,8 +86305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -86021,7 +86324,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &590 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -86075,16 +86378,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86104,15 +86407,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -86138,8 +86441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -86192,8 +86495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -86216,8 +86519,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: - - *452 - *453 + - *454 - 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 @@ -86391,8 +86694,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -86652,8 +86955,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -86736,7 +87039,7 @@ paths: - version - url additionalProperties: false - metadata: &590 + metadata: &591 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86775,7 +87078,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *590 + metadata: *591 resolved: type: object description: A collection of resolved package dependencies. @@ -86789,7 +87092,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *590 + metadata: *591 relationship: type: string description: A notation of whether a dependency is requested @@ -86922,8 +87225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *452 - *453 + - *454 - name: sha description: The SHA recorded at creation time. in: query @@ -86964,9 +87267,9 @@ paths: application/json: schema: type: array - items: *591 + items: *592 examples: - default: *592 + default: *593 headers: Link: *45 x-github: @@ -87032,8 +87335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -87115,7 +87418,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: simple-example: summary: Simple example @@ -87188,9 +87491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *452 - *453 - - &593 + - *454 + - &594 name: deployment_id description: deployment_id parameter in: path @@ -87202,7 +87505,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -87267,9 +87570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *452 - *453 - - *593 + - *454 + - *594 responses: '204': description: Response @@ -87291,9 +87594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *452 - *453 - - *593 + - *454 + - *594 - *17 - *19 responses: @@ -87303,7 +87606,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 title: Deployment Status description: The status of a deployment. type: object @@ -87467,9 +87770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *452 - *453 - - *593 + - *454 + - *594 requestBody: required: true content: @@ -87544,9 +87847,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: &595 + default: &596 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -87602,9 +87905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *452 - *453 - - *593 + - *454 + - *594 - name: status_id in: path required: true @@ -87615,9 +87918,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -87644,12 +87947,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 - - *596 + - *454 - *597 - *598 - *599 + - *600 - *17 - *19 responses: @@ -87659,9 +87962,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 '404': *6 '403': *27 '500': *38 @@ -87685,8 +87988,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -87698,7 +88001,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -87754,8 +88057,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -87814,12 +88117,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 - - *596 + - *454 - *597 - *598 - *599 + - *600 - *17 - *19 responses: @@ -87829,9 +88132,9 @@ paths: application/json: schema: type: array - items: *602 + items: *603 examples: - default: *603 + default: *604 '404': *6 '403': *27 '500': *38 @@ -87855,8 +88158,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -87868,7 +88171,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -87919,8 +88222,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -87958,7 +88261,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -88009,8 +88312,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88081,8 +88384,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88115,12 +88418,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 - - *340 + - *341 - *17 - *19 responses: @@ -88130,9 +88433,9 @@ paths: application/json: schema: type: array - items: *604 + items: *605 examples: - default: *605 + default: *606 '404': *6 '403': *27 '500': *38 @@ -88157,8 +88460,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88170,7 +88473,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *604 + schema: *605 examples: default: value: @@ -88228,8 +88531,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88298,8 +88601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -88356,8 +88659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -88375,7 +88678,7 @@ paths: - 5 environments: type: array - items: &607 + items: &608 title: Environment description: Details of a deployment environment type: object @@ -88437,7 +88740,7 @@ paths: type: string examples: - wait_timer - wait_timer: &609 + wait_timer: &610 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -88479,7 +88782,7 @@ paths: items: type: object properties: - type: *606 + type: *607 reviewer: anyOf: - *4 @@ -88506,7 +88809,7 @@ paths: - id - node_id - type - deployment_branch_policy: &610 + deployment_branch_policy: &611 type: - object - 'null' @@ -88623,9 +88926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *452 - *453 - - &608 + - *454 + - &609 name: environment_name in: path required: true @@ -88638,9 +88941,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &611 + default: &612 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -88724,9 +89027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: false content: @@ -88736,7 +89039,7 @@ paths: - object - 'null' properties: - wait_timer: *609 + wait_timer: *610 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -88755,14 +89058,14 @@ paths: items: type: object properties: - type: *606 + type: *607 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *610 + deployment_branch_policy: *611 additionalProperties: false examples: default: @@ -88782,9 +89085,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *611 + default: *612 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -88808,9 +89111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *452 - *453 - - *608 + - *454 + - *609 responses: '204': description: Default response @@ -88835,9 +89138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *17 - *19 responses: @@ -88856,7 +89159,7 @@ paths: - 2 branch_policies: type: array - items: &612 + items: &613 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -88917,9 +89220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: true content: @@ -88967,9 +89270,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - example-wildcard: &613 + example-wildcard: &614 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -89011,10 +89314,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - &614 + - *454 + - *609 + - &615 name: branch_policy_id in: path required: true @@ -89026,9 +89329,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89047,10 +89350,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - *614 + - *454 + - *609 + - *615 requestBody: required: true content: @@ -89079,9 +89382,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89100,10 +89403,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - *614 + - *454 + - *609 + - *615 responses: '204': description: Response @@ -89128,9 +89431,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: - - *608 + - *609 + - *454 - *453 - - *452 responses: '200': description: List of deployment protection rules @@ -89147,7 +89450,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &615 + items: &616 title: Deployment protection rule description: Deployment protection rule type: object @@ -89169,7 +89472,7 @@ paths: for the environment. examples: - true - app: &616 + app: &617 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -89272,9 +89575,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: - - *608 + - *609 + - *454 - *453 - - *452 requestBody: content: application/json: @@ -89295,9 +89598,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *615 + schema: *616 examples: - default: &617 + default: &618 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -89332,9 +89635,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: - - *608 + - *609 + - *454 - *453 - - *452 - *19 - *17 responses: @@ -89354,7 +89657,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *616 + items: *617 examples: default: value: @@ -89389,10 +89692,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: - - *452 - *453 - - *608 - - &618 + - *454 + - *609 + - &619 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -89404,9 +89707,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: - default: *617 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89427,10 +89730,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: - - *608 + - *609 + - *454 - *453 - - *452 - - *618 + - *619 responses: '204': description: Response @@ -89456,9 +89759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *17 - *19 responses: @@ -89476,9 +89779,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *484 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -89503,17 +89806,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *452 - *453 - - *608 + - *454 + - *609 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89535,18 +89838,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *619 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89568,9 +89871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 requestBody: required: true @@ -89628,9 +89931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 responses: '204': @@ -89656,10 +89959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *452 - *453 - - *608 - - *470 + - *454 + - *609 + - *471 - *19 responses: '200': @@ -89676,9 +89979,9 @@ paths: type: integer variables: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *45 x-github: @@ -89701,9 +90004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: true content: @@ -89755,18 +90058,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *292 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *620 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89787,10 +90090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *452 - *453 + - *454 - *292 - - *608 + - *609 requestBody: required: true content: @@ -89832,10 +90135,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *452 - *453 + - *454 - *292 - - *608 + - *609 responses: '204': description: Response @@ -89857,8 +90160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -89926,8 +90229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *452 - *453 + - *454 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -90086,8 +90389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -90120,9 +90423,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 '400': *14 '422': *15 '403': *27 @@ -90143,8 +90446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -90204,7 +90507,7 @@ paths: schema: oneOf: - *253 - - *621 + - *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90229,8 +90532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *452 - *453 + - *454 - name: file_sha in: path required: true @@ -90330,8 +90633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -90440,7 +90743,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &623 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -90667,15 +90970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *452 - *453 - - *567 + - *454 + - *568 responses: '200': description: Response content: application/json: - schema: *622 + schema: *623 examples: default: value: @@ -90731,9 +91034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *452 - *453 - - &623 + - *454 + - &624 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. @@ -90750,7 +91053,7 @@ paths: application/json: schema: type: array - items: &624 + items: &625 title: Git Reference description: Git references within a repository type: object @@ -90826,17 +91129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 responses: '200': description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: &625 + default: &626 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -90865,8 +91168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -90895,9 +91198,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *625 + default: *626 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -90923,9 +91226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 requestBody: required: true content: @@ -90954,9 +91257,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *625 + default: *626 '422': *15 '409': *119 x-github: @@ -90974,9 +91277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 responses: '204': description: Response @@ -91031,8 +91334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91099,7 +91402,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &628 title: Git Tag description: Metadata for a Git tag type: object @@ -91155,7 +91458,7 @@ paths: - sha - type - url - verification: *626 + verification: *627 required: - sha - url @@ -91165,7 +91468,7 @@ paths: - tag - message examples: - default: &628 + default: &629 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -91238,8 +91541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *452 - *453 + - *454 - name: tag_sha in: path required: true @@ -91250,9 +91553,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '404': *6 '409': *119 x-github: @@ -91276,8 +91579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91351,7 +91654,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -91453,8 +91756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *452 - *453 + - *454 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -91477,7 +91780,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: default-response: summary: Default response @@ -91536,8 +91839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -91547,7 +91850,7 @@ paths: application/json: schema: type: array - items: &630 + items: &631 title: Webhook description: Webhooks for repositories. type: object @@ -91687,8 +91990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -91741,9 +92044,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: &631 + default: &632 value: type: Repository id: 12345678 @@ -91791,17 +92094,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '200': description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -91821,9 +92124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 requestBody: required: true content: @@ -91868,9 +92171,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '422': *15 '404': *6 x-github: @@ -91891,9 +92194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -91917,9 +92220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '200': description: Response @@ -91946,9 +92249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *452 - *453 - - *343 + - *454 + - *344 requestBody: required: false content: @@ -91992,11 +92295,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *452 - *453 - - *343 - - *17 + - *454 - *344 + - *17 + - *345 responses: '200': description: Response @@ -92004,9 +92307,9 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *346 + default: *347 '400': *14 '422': *15 x-github: @@ -92025,18 +92328,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 - *16 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 '400': *14 '422': *15 x-github: @@ -92055,9 +92358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 - *16 responses: '202': *37 @@ -92080,9 +92383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -92107,9 +92410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -92132,8 +92435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response if immutable releases are enabled @@ -92181,8 +92484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *452 - *453 + - *454 responses: '204': *151 '409': *119 @@ -92202,8 +92505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *452 - *453 + - *454 responses: '204': *151 '409': *119 @@ -92260,14 +92563,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &632 + schema: &633 title: Import description: A repository import from an external source. type: object @@ -92374,7 +92677,7 @@ paths: - html_url - authors_url examples: - default: &635 + default: &636 value: vcs: subversion use_lfs: true @@ -92390,7 +92693,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': &633 + '503': &634 description: Unavailable due to service under maintenance. content: application/json: @@ -92419,8 +92722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -92468,7 +92771,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -92493,7 +92796,7 @@ paths: type: string '422': *15 '404': *6 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92521,8 +92824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -92574,7 +92877,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: example-1: summary: Example 1 @@ -92622,7 +92925,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': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92645,12 +92948,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *452 - *453 + - *454 responses: '204': description: Response - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92676,8 +92979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *452 - *453 + - *454 - &812 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -92692,7 +92995,7 @@ paths: application/json: schema: type: array - items: &634 + items: &635 title: Porter Author description: Porter Author type: object @@ -92746,7 +93049,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': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92771,8 +93074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *452 - *453 + - *454 - name: author_id in: path required: true @@ -92802,7 +93105,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -92815,7 +93118,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92839,8 +93142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -92881,7 +93184,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92909,8 +93212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -92937,11 +93240,11 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '422': *15 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92964,8 +93267,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -92973,8 +93276,8 @@ paths: application/json: schema: *20 examples: - default: *360 - '301': *458 + default: *361 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -92994,8 +93297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -93003,12 +93306,12 @@ paths: application/json: schema: anyOf: - - *362 + - *363 - type: object properties: {} additionalProperties: false examples: - default: &637 + default: &638 value: limit: collaborators_only origin: repository @@ -93033,13 +93336,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *636 + schema: *637 examples: default: summary: Example request body @@ -93051,9 +93354,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *637 + default: *638 '409': description: Response x-github: @@ -93075,8 +93378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -93099,8 +93402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -93110,7 +93413,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: &804 value: @@ -93243,9 +93546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *452 - *453 - - *366 + - *454 + - *367 requestBody: required: false content: @@ -93274,7 +93577,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -93405,9 +93708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *452 - *453 - - *366 + - *454 + - *367 responses: '204': description: Response @@ -93438,8 +93741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *452 - *453 + - *454 - 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 @@ -93487,7 +93790,7 @@ paths: required: false schema: type: string - - *373 + - *374 - name: sort description: What to sort results by. in: query @@ -93512,7 +93815,7 @@ paths: type: array items: *219 examples: - default: &647 + default: &648 value: - id: 1 node_id: MDU6SXNzdWUx @@ -93661,7 +93964,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *458 + '301': *459 '422': *15 '404': *6 x-github: @@ -93690,8 +93993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -93775,7 +94078,7 @@ paths: application/json: schema: *219 examples: - default: &644 + default: &645 value: id: 1 node_id: MDU6SXNzdWUx @@ -93932,7 +94235,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *639 + '410': *640 x-github: triggersNotification: true githubCloudOnly: false @@ -93960,8 +94263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *452 - *453 + - *454 - *241 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -93984,7 +94287,7 @@ paths: type: array items: *220 examples: - default: &646 + default: &647 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -94042,8 +94345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': @@ -94052,7 +94355,7 @@ paths: application/json: schema: *220 examples: - default: &640 + default: &641 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -94107,8 +94410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -94133,7 +94436,7 @@ paths: application/json: schema: *220 examples: - default: *640 + default: *641 '422': *15 x-github: githubCloudOnly: false @@ -94151,8 +94454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -94181,8 +94484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': @@ -94245,7 +94548,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -94262,8 +94565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -94271,7 +94574,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 '503': *192 x-github: githubCloudOnly: false @@ -94289,8 +94592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -94317,9 +94620,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -94340,8 +94643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -94374,16 +94677,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -94405,10 +94708,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - *642 + - *643 responses: '204': description: Response @@ -94428,8 +94731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -94439,7 +94742,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Issue Event description: Issue Event type: object @@ -94779,8 +95082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *452 - *453 + - *454 - name: event_id in: path required: true @@ -94791,7 +95094,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -94984,7 +95287,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *639 + '410': *640 '403': *27 x-github: githubCloudOnly: false @@ -95018,9 +95321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *452 - *453 - - &645 + - *454 + - &646 name: issue_number description: The number that identifies the issue. in: path @@ -95036,7 +95339,7 @@ paths: examples: default: summary: Issue - value: *644 + value: *645 pinned_comment: summary: Issue with pinned comment value: @@ -95235,9 +95538,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 '304': *35 x-github: githubCloudOnly: false @@ -95262,9 +95565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -95399,13 +95702,13 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 '422': *15 '503': *192 '403': *27 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95423,9 +95726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -95453,7 +95756,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95469,9 +95772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: content: application/json: @@ -95498,7 +95801,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95520,9 +95823,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: - - *452 - *453 - - *645 + - *454 + - *646 - name: assignee in: path required: true @@ -95562,9 +95865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *224 - *17 - *19 @@ -95577,11 +95880,11 @@ paths: type: array items: *220 examples: - default: *646 + default: *647 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95610,9 +95913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -95636,14 +95939,14 @@ paths: application/json: schema: *220 examples: - default: *640 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -95671,9 +95974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -95685,12 +95988,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95718,9 +96021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -95744,15 +96047,15 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *458 + '301': *459 '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -95783,9 +96086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -95799,13 +96102,13 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *458 + default: *645 + '301': *459 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 x-github: triggersNotification: true githubCloudOnly: false @@ -95831,9 +96134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -95845,12 +96148,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95867,9 +96170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -95883,7 +96186,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &650 + - &651 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -95932,7 +96235,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &652 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -96060,7 +96363,7 @@ paths: - performed_via_github_app - assignee - assigner - - &652 + - &653 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -96106,7 +96409,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &654 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -96152,7 +96455,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &655 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -96201,7 +96504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &656 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -96243,7 +96546,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &657 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -96285,7 +96588,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &658 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -96341,7 +96644,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &659 title: Locked Issue Event description: Locked Issue Event type: object @@ -96386,7 +96689,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &660 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -96447,7 +96750,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &661 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -96508,7 +96811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &661 + - &662 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -96569,7 +96872,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &662 + - &663 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -96662,7 +96965,7 @@ paths: color: red headers: Link: *45 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96679,9 +96982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96691,9 +96994,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &749 + default: &750 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -96717,9 +97020,9 @@ paths: value: '2025-12-25' headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96736,9 +97039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96750,7 +97053,7 @@ paths: type: array items: *218 examples: - default: &649 + default: &650 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96768,9 +97071,9 @@ paths: default: false headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96786,9 +97089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -96833,10 +97136,10 @@ paths: type: array items: *218 examples: - default: *649 - '301': *458 + default: *650 + '301': *459 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -96853,9 +97156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -96917,10 +97220,10 @@ paths: type: array items: *218 examples: - default: *649 - '301': *458 + default: *650 + '301': *459 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -96937,15 +97240,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '204': description: Response - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96964,9 +97267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - name: name in: path required: true @@ -96990,9 +97293,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97012,9 +97315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -97043,7 +97346,7 @@ paths: '204': description: Response '403': *27 - '410': *639 + '410': *640 '404': *6 '422': *15 x-github: @@ -97061,9 +97364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '204': description: Response @@ -97093,9 +97396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '200': description: Response @@ -97103,10 +97406,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *458 + default: *645 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97123,9 +97426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - 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. @@ -97151,13 +97454,13 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97175,9 +97478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97209,16 +97512,16 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -97240,10 +97543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *452 - *453 - - *645 - - *642 + - *454 + - *646 + - *643 responses: '204': description: Response @@ -97272,9 +97575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97298,7 +97601,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -97331,9 +97634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97345,11 +97648,11 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97377,9 +97680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97408,14 +97711,14 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -97435,9 +97738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -97470,7 +97773,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 '403': *27 '404': *6 '422': *7 @@ -97492,9 +97795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97509,7 +97812,6 @@ paths: description: Timeline Event type: object anyOf: - - *650 - *651 - *652 - *653 @@ -97522,6 +97824,7 @@ paths: - *660 - *661 - *662 + - *663 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -97578,7 +97881,7 @@ paths: pin: anyOf: - type: 'null' - - *663 + - *664 required: - event - actor @@ -97854,7 +98157,7 @@ paths: type: string comments: type: array - items: &684 + items: &685 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -98095,7 +98398,7 @@ paths: type: string comments: type: array - items: *563 + items: *564 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -98370,7 +98673,7 @@ paths: headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98387,8 +98690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -98398,7 +98701,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -98466,8 +98769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -98503,9 +98806,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: id: 1 key: ssh-rsa AAA... @@ -98539,9 +98842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *452 - *453 - - &666 + - *454 + - &667 name: key_id description: The unique identifier of the key. in: path @@ -98553,9 +98856,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -98573,9 +98876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *452 - *453 - - *666 + - *454 + - *667 responses: '204': description: Response @@ -98595,8 +98898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -98608,7 +98911,7 @@ paths: type: array items: *218 examples: - default: *649 + default: *650 headers: Link: *45 '404': *6 @@ -98629,8 +98932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -98668,7 +98971,7 @@ paths: application/json: schema: *218 examples: - default: &667 + default: &668 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -98700,8 +99003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -98714,7 +99017,7 @@ paths: application/json: schema: *218 examples: - default: *667 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -98731,8 +99034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -98797,8 +99100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -98824,8 +99127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -98861,8 +99164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *452 - *453 + - *454 responses: '202': *37 '403': @@ -98890,8 +99193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -98917,9 +99220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *452 - *453 - - *538 + - *454 + - *539 responses: '200': description: Response @@ -99066,8 +99369,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99132,8 +99435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99167,9 +99470,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *566 + schema: *567 examples: - default: *668 + default: *669 '204': description: Response when already merged '404': @@ -99194,8 +99497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *452 - *453 + - *454 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -99236,7 +99539,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -99292,8 +99595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99333,9 +99636,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &669 + default: &670 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -99394,9 +99697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *452 - *453 - - &670 + - *454 + - &671 name: milestone_number description: The number that identifies the milestone. in: path @@ -99408,9 +99711,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *669 + default: *670 '404': *6 x-github: githubCloudOnly: false @@ -99427,9 +99730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *452 - *453 - - *670 + - *454 + - *671 requestBody: required: false content: @@ -99467,9 +99770,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *669 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99485,9 +99788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *452 - *453 - - *670 + - *454 + - *671 responses: '204': description: Response @@ -99508,9 +99811,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: - - *452 - *453 - - *670 + - *454 + - *671 - *17 - *19 responses: @@ -99522,7 +99825,7 @@ paths: type: array items: *218 examples: - default: *649 + default: *650 headers: Link: *45 x-github: @@ -99541,12 +99844,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: - - *452 - *453 - - *671 + - *454 - *672 - - *224 - *673 + - *224 + - *674 - *17 - *19 responses: @@ -99558,7 +99861,7 @@ paths: type: array items: *244 examples: - default: *674 + default: *675 headers: Link: *45 x-github: @@ -99582,8 +99885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -99641,14 +99944,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &675 + schema: &676 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -99792,7 +100095,7 @@ paths: - custom_404 - public examples: - default: &676 + default: &677 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -99833,8 +100136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99889,9 +100192,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '422': *15 '409': *119 x-github: @@ -99914,8 +100217,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100023,8 +100326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -100050,8 +100353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -100061,7 +100364,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Page Build description: Page Build type: object @@ -100153,8 +100456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *452 - *453 + - *454 responses: '201': description: Response @@ -100201,16 +100504,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &678 + default: &679 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -100258,8 +100561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *452 - *453 + - *454 - name: build_id in: path required: true @@ -100270,9 +100573,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100292,8 +100595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100401,9 +100704,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: - - *452 - *453 - - &679 + - *454 + - &680 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -100461,9 +100764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *452 - *453 - - *679 + - *454 + - *680 responses: '204': *151 '404': *6 @@ -100490,8 +100793,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -100786,8 +101089,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: - - *452 - *453 + - *454 responses: '200': description: Private vulnerability reporting status @@ -100824,8 +101127,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: - - *452 - *453 + - *454 responses: '204': *151 '422': *14 @@ -100846,8 +101149,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: - - *452 - *453 + - *454 responses: '204': *151 '422': *14 @@ -100869,8 +101172,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -100880,7 +101183,7 @@ paths: type: array items: *152 examples: - default: *680 + default: *681 '403': *27 '404': *6 x-github: @@ -100902,8 +101205,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100919,7 +101222,7 @@ paths: required: - properties examples: - default: *681 + default: *682 responses: '204': description: No Content when custom property values are successfully created @@ -100957,8 +101260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *452 - *453 + - *454 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -101018,9 +101321,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *682 + default: *683 headers: Link: *45 '304': *35 @@ -101052,8 +101355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -101120,7 +101423,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &687 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -101249,7 +101552,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 active_lock_reason: type: - string @@ -101288,7 +101591,7 @@ paths: items: *4 requested_teams: type: array - items: *383 + items: *384 head: type: object properties: @@ -101326,14 +101629,14 @@ paths: _links: type: object properties: - comments: *405 - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + comments: *406 + commits: *406 + statuses: *406 + html: *406 + issue: *406 + review_comments: *406 + review_comment: *406 + self: *406 required: - comments - commits @@ -101344,7 +101647,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: *683 + auto_merge: *684 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -101444,7 +101747,7 @@ paths: - merged_by - review_comments examples: - default: &687 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -101971,8 +102274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *452 - *453 + - *454 - name: sort in: query required: false @@ -102001,9 +102304,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: &689 + default: &690 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -102080,17 +102383,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: - - *452 - *453 + - *454 - *233 responses: '200': description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -102165,8 +102468,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: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -102189,9 +102492,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102207,8 +102510,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: - - *452 - *453 + - *454 - *233 responses: '204': @@ -102230,8 +102533,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: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -102258,9 +102561,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -102281,8 +102584,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: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -102315,16 +102618,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -102346,10 +102649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - *642 + - *643 responses: '204': description: Response @@ -102392,9 +102695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *452 - *453 - - &688 + - *454 + - &689 name: pull_number description: The number that identifies the pull request. in: path @@ -102407,9 +102710,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '304': *35 '404': *6 '406': @@ -102444,9 +102747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -102488,9 +102791,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '422': *15 '403': *27 x-github: @@ -102512,9 +102815,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -102575,17 +102878,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -102615,9 +102918,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: - - *452 - *453 - - *688 + - *454 + - *689 - *241 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -102638,9 +102941,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *689 + default: *690 headers: Link: *45 x-github: @@ -102673,9 +102976,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -102781,7 +103084,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: example-for-a-multi-line-comment: value: @@ -102869,9 +103172,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: - - *452 - *453 - - *688 + - *454 + - *689 - *233 requestBody: required: true @@ -102894,7 +103197,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: default: value: @@ -102980,9 +103283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -102992,9 +103295,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *690 + default: *691 headers: Link: *45 x-github: @@ -103024,9 +103327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -103036,7 +103339,7 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: default: value: @@ -103074,9 +103377,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: - - *452 - *453 - - *688 + - *454 + - *689 responses: '204': description: Response if pull request has been merged @@ -103099,9 +103402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -103213,9 +103516,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: - - *452 - *453 - - *688 + - *454 + - *689 responses: '200': description: Response @@ -103290,9 +103593,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -103329,7 +103632,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -103865,9 +104168,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -103901,7 +104204,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -104406,9 +104709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -104418,7 +104721,7 @@ paths: application/json: schema: type: array - items: &691 + items: &692 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -104574,9 +104877,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -104666,9 +104969,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &693 + default: &694 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -104731,10 +105034,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: - - *452 - *453 - - *688 - - &692 + - *454 + - *689 + - &693 name: review_id description: The unique identifier of the review. in: path @@ -104746,9 +105049,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &694 + default: &695 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -104807,10 +105110,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -104833,7 +105136,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: default: value: @@ -104895,18 +105198,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 responses: '200': description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *693 + default: *694 '422': *7 '404': *6 x-github: @@ -104933,10 +105236,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 - *17 - *19 responses: @@ -105034,9 +105337,9 @@ paths: _links: type: object properties: - self: *405 - html: *405 - pull_request: *405 + self: *406 + html: *406 + pull_request: *406 required: - self - html @@ -105194,10 +105497,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -105226,7 +105529,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: default: value: @@ -105289,10 +105592,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -105327,9 +105630,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *694 + default: *695 '404': *6 '422': *7 '403': *27 @@ -105351,9 +105654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -105417,8 +105720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *452 - *453 + - *454 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -105431,9 +105734,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: &696 + default: &697 value: type: file encoding: base64 @@ -105475,8 +105778,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: - - *452 - *453 + - *454 - name: dir description: The alternate path to look for a README file in: path @@ -105496,9 +105799,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *15 x-github: @@ -105520,8 +105823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -105531,7 +105834,7 @@ paths: application/json: schema: type: array - items: *697 + items: *698 examples: default: value: @@ -105625,8 +105928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -105702,9 +106005,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: &701 + default: &702 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -105809,9 +106112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *452 - *453 - - &699 + - *454 + - &700 name: asset_id description: The unique identifier of the asset. in: path @@ -105823,9 +106126,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: &700 + default: &701 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 @@ -105860,7 +106163,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105876,9 +106179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *452 - *453 - - *699 + - *454 + - *700 requestBody: required: false content: @@ -105907,9 +106210,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *700 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105925,9 +106228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *452 - *453 - - *699 + - *454 + - *700 responses: '204': description: Response @@ -105951,8 +106254,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -106038,16 +106341,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106064,8 +106367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *452 - *453 + - *454 - name: tag description: tag parameter in: path @@ -106078,9 +106381,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 '404': *6 x-github: githubCloudOnly: false @@ -106102,9 +106405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *452 - *453 - - &702 + - *454 + - &703 name: release_id description: The unique identifier of the release. in: path @@ -106118,9 +106421,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: *697 + schema: *698 examples: - default: *701 + default: *702 '401': description: Unauthorized x-github: @@ -106138,9 +106441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 requestBody: required: false content: @@ -106204,9 +106507,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 '404': description: Not Found if the discussion category name is invalid content: @@ -106227,9 +106530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 responses: '204': description: Response @@ -106249,9 +106552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *452 - *453 - - *702 + - *454 + - *703 - *17 - *19 responses: @@ -106261,7 +106564,7 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: default: value: @@ -106343,9 +106646,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: - - *452 - *453 - - *702 + - *454 + - *703 - name: name in: query required: true @@ -106371,7 +106674,7 @@ paths: description: Response for successful upload content: application/json: - schema: *698 + schema: *699 examples: response-for-successful-upload: value: @@ -106426,9 +106729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 - 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. @@ -106452,9 +106755,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -106475,9 +106778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 requestBody: required: true content: @@ -106507,16 +106810,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -106538,10 +106841,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *452 - *453 - - *702 - - *642 + - *454 + - *703 + - *643 responses: '204': description: Response @@ -106565,9 +106868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *452 - *453 - - *505 + - *454 + - *506 - *17 - *19 responses: @@ -106584,7 +106887,7 @@ paths: oneOf: - allOf: - *166 - - &703 + - &704 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -106605,67 +106908,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *703 + - *704 - allOf: - *168 - - *703 + - *704 - allOf: - *169 - - *703 + - *704 - allOf: + - *705 - *704 - - *703 - allOf: - *170 - - *703 + - *704 - allOf: - *171 - - *703 + - *704 - allOf: - *172 - - *703 + - *704 - allOf: - *173 - - *703 + - *704 - allOf: - *174 - - *703 + - *704 - allOf: - *175 - - *703 + - *704 - allOf: - *176 - - *703 + - *704 - allOf: - *177 - - *703 + - *704 - allOf: - *178 - - *703 + - *704 - allOf: - *179 - - *703 + - *704 - allOf: - *180 - - *703 + - *704 - allOf: - *181 - - *703 + - *704 - allOf: - *182 - - *703 + - *704 - allOf: - *183 - - *703 + - *704 - allOf: - *184 - - *703 + - *704 - allOf: - *185 - - *703 + - *704 - allOf: - *186 - - *703 + - *704 examples: default: value: @@ -106704,8 +107007,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - *17 - *19 - name: includes_parents @@ -106716,7 +107019,7 @@ paths: schema: type: boolean default: true - - *705 + - *706 responses: '200': description: Response @@ -106771,8 +107074,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 requestBody: description: Request body required: true @@ -106801,7 +107104,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *706 + items: *707 required: - name - enforcement @@ -106834,7 +107137,7 @@ paths: application/json: schema: *187 examples: - default: &715 + default: &716 value: id: 42 name: super cool ruleset @@ -106882,12 +107185,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *452 - *453 - - *707 - - *105 + - *454 - *708 + - *105 - *709 + - *710 - *17 - *19 responses: @@ -106895,9 +107198,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *711 + default: *712 '404': *6 '500': *38 x-github: @@ -106918,17 +107221,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *452 - *453 - - *712 + - *454 + - *713 responses: '200': description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 '500': *38 x-github: @@ -106956,8 +107259,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106979,7 +107282,7 @@ paths: application/json: schema: *187 examples: - default: *715 + default: *716 '404': *6 '500': *38 put: @@ -106997,8 +107300,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107032,7 +107335,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *706 + items: *707 examples: default: value: @@ -107062,7 +107365,7 @@ paths: application/json: schema: *187 examples: - default: *715 + default: *716 '404': *6 '422': *15 '500': *38 @@ -107081,8 +107384,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107105,8 +107408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *452 - *453 + - *454 - *17 - *19 - name: ruleset_id @@ -107124,7 +107427,7 @@ paths: type: array items: *191 examples: - default: *421 + default: *422 '404': *6 '500': *38 x-github: @@ -107143,8 +107446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -107162,7 +107465,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -107217,22 +107520,22 @@ 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: - - *452 - *453 - - *423 + - *454 - *424 - *425 - *426 - *427 + - *428 - *110 - *19 - *17 - - *716 - *717 - - *428 + - *718 - *429 - *430 - *431 + - *432 responses: '200': description: Response @@ -107240,7 +107543,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 type: object properties: number: *126 @@ -107256,8 +107559,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *718 - resolution: *719 + state: *719 + resolution: *720 resolved_at: type: - string @@ -107351,7 +107654,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *720 + - *721 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -107496,16 +107799,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *452 - *453 - - *532 - - *431 + - *454 + - *533 + - *432 responses: '200': description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -107559,9 +107862,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: true content: @@ -107569,8 +107872,8 @@ paths: schema: type: object properties: - state: *718 - resolution: *719 + state: *719 + resolution: *720 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -107606,7 +107909,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -107701,9 +108004,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: - - *452 - *453 - - *532 + - *454 + - *533 - *19 - *17 responses: @@ -107741,7 +108044,6 @@ paths: - commit details: oneOf: - - *722 - *723 - *724 - *725 @@ -107754,6 +108056,7 @@ paths: - *732 - *733 - *734 + - *735 examples: default: value: @@ -107839,8 +108142,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -107848,14 +108151,14 @@ paths: schema: type: object properties: - reason: &736 + reason: &737 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *735 + placeholder_id: *736 required: - reason - placeholder_id @@ -107872,7 +108175,7 @@ paths: schema: type: object properties: - reason: *736 + reason: *737 expire_at: type: - string @@ -107919,8 +108222,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: - - *452 - *453 + - *454 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -107935,7 +108238,7 @@ paths: properties: incremental_scans: type: array - items: &737 + items: &738 description: Information on a single scan performed by secret scanning on the repository type: object @@ -107963,15 +108266,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *737 + items: *738 backfill_scans: type: array - items: *737 + items: *738 custom_pattern_backfill_scans: type: array items: allOf: - - *737 + - *738 - type: object properties: pattern_name: @@ -108041,8 +108344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *452 - *453 + - *454 - *110 - name: sort description: The property to sort the results by. @@ -108086,9 +108389,9 @@ paths: application/json: schema: type: array - items: *738 + items: *739 examples: - default: *739 + default: *740 '400': *14 '404': *6 x-github: @@ -108111,8 +108414,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -108192,7 +108495,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 required: - login - type @@ -108282,9 +108585,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: &741 + default: &742 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -108517,8 +108820,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -108631,7 +108934,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: default: value: @@ -108778,17 +109081,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '200': description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: *741 + default: *742 '403': *27 '404': *6 x-github: @@ -108812,9 +109115,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: - - *452 - *453 - - *740 + - *454 + - *741 requestBody: required: true content: @@ -108894,7 +109197,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 required: - login - type @@ -108985,10 +109288,10 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: *741 - add_credit: *741 + default: *742 + add_credit: *742 '403': *27 '404': *6 '422': @@ -109026,9 +109329,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '202': *37 '400': *14 @@ -109055,17 +109358,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '202': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 '400': *14 '422': *15 '403': *27 @@ -109091,8 +109394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -109188,8 +109491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *452 - *453 + - *454 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -109198,7 +109501,7 @@ paths: application/json: schema: type: array - items: &742 + items: &743 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -109231,8 +109534,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -109310,8 +109613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -109405,8 +109708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *452 - *453 + - *454 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -109560,8 +109863,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: - - *452 - *453 + - *454 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -109571,7 +109874,7 @@ paths: application/json: schema: type: array - items: *742 + items: *743 examples: default: value: @@ -109604,8 +109907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *452 - *453 + - *454 - name: sha in: path required: true @@ -109661,7 +109964,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *744 examples: default: value: @@ -109715,8 +110018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -109748,14 +110051,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *452 - *453 + - *454 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &744 + schema: &745 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -109828,8 +110131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -109855,7 +110158,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: default: value: @@ -109882,8 +110185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -109903,8 +110206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -109986,8 +110289,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *452 - *453 + - *454 - name: ref in: path required: true @@ -110023,8 +110326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -110036,7 +110339,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 headers: Link: *45 '404': *6 @@ -110056,8 +110359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *452 - *453 + - *454 - *19 - *17 responses: @@ -110065,7 +110368,7 @@ paths: description: Response content: application/json: - schema: &745 + schema: &746 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -110077,7 +110380,7 @@ paths: required: - names examples: - default: &746 + default: &747 value: names: - octocat @@ -110100,8 +110403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -110132,9 +110435,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 '422': *7 x-github: @@ -110155,9 +110458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *452 - *453 - - &747 + - *454 + - &748 name: per description: The time frame to display results for. in: query @@ -110188,7 +110491,7 @@ paths: - 128 clones: type: array - items: &748 + items: &749 title: Traffic type: object properties: @@ -110275,8 +110578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -110370,8 +110673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -110434,9 +110737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *452 - *453 - - *747 + - *454 + - *748 responses: '200': description: Response @@ -110457,7 +110760,7 @@ paths: - 3782 views: type: array - items: *748 + items: *749 required: - uniques - count @@ -110534,8 +110837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -110809,8 +111112,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: - - *452 - *453 + - *454 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -110833,8 +111136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -110856,8 +111159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -110883,8 +111186,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *452 - *453 + - *454 - name: ref in: path required: true @@ -110976,9 +111279,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111126,7 +111429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *273 - - *645 + - *646 requestBody: required: true content: @@ -111192,9 +111495,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *648 + items: *649 examples: - default: *749 + default: *750 '400': *14 '403': *27 '404': *6 @@ -111231,7 +111534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *273 - - *645 + - *646 requestBody: required: true content: @@ -111298,9 +111601,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *648 + items: *649 examples: - default: *749 + default: *750 '400': *14 '403': *27 '404': *6 @@ -111332,8 +111635,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *273 - - *645 - - *369 + - *646 + - *370 responses: '204': description: Issue field value deleted successfully @@ -111375,7 +111678,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &757 + - &758 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -111385,7 +111688,7 @@ paths: type: string examples: - members - - &762 + - &763 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -111397,7 +111700,7 @@ paths: format: int32 examples: - 1 - - &763 + - &764 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -111441,7 +111744,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &752 + items: &753 allOf: - type: object required: @@ -111523,7 +111826,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: &764 + meta: &765 type: object description: The metadata associated with the creation/updates to the user. @@ -111588,30 +111891,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &753 + '400': &754 description: Bad request content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '401': *751 - '403': &754 + schema: *751 + '401': *752 + '403': &755 description: Permission denied - '429': &755 + '429': &756 description: Too many requests content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '500': &756 + schema: *751 + '500': &757 description: Internal server error content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 + schema: *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111635,7 +111938,7 @@ paths: required: true content: application/json: - schema: &760 + schema: &761 type: object required: - schemas @@ -111699,9 +112002,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *752 + schema: *753 examples: - group: &758 + group: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -111720,13 +112023,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': *753 - '401': *751 - '403': *754 - '409': &761 + '400': *754 + '401': *752 + '403': *755 + '409': &762 description: Duplicate record detected - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111743,7 +112046,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: - - &759 + - &760 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -111752,22 +112055,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *757 + - *758 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *752 + schema: *753 examples: - default: *758 - '400': *753 - '401': *751 - '403': *754 + default: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111786,13 +112089,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: - - *759 + - *760 - *39 requestBody: required: true content: application/json: - schema: *760 + schema: *761 examples: group: summary: Group @@ -111818,17 +112121,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - group: *758 - groupWithMembers: *758 - '400': *753 - '401': *751 - '403': *754 + group: *759 + groupWithMembers: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111852,13 +112155,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: - - *759 + - *760 - *39 requestBody: required: true content: application/json: - schema: &771 + schema: &772 type: object required: - Operations @@ -111918,17 +112221,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - updateGroup: *758 - addMembers: *758 - '400': *753 - '401': *751 - '403': *754 + updateGroup: *759 + addMembers: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111944,17 +112247,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: - - *759 + - *760 - *39 responses: '204': description: Group was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111988,8 +112291,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *762 - *763 + - *764 - *39 responses: '200': @@ -112023,7 +112326,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &766 + items: &767 allOf: - type: object required: @@ -112115,7 +112418,7 @@ paths: address. examples: - true - roles: &765 + roles: &766 type: array description: The roles assigned to the user. items: @@ -112174,7 +112477,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *764 + meta: *765 startIndex: type: integer description: A starting index for the returned page @@ -112213,11 +112516,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *753 - '401': *751 - '403': *754 - '429': *755 - '500': *756 + '400': *754 + '401': *752 + '403': *755 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112241,7 +112544,7 @@ paths: required: true content: application/json: - schema: &769 + schema: &770 type: object required: - schemas @@ -112334,9 +112637,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *765 + roles: *766 examples: - user: &770 + user: &771 summary: User value: schemas: @@ -112383,9 +112686,9 @@ paths: description: User has been created content: application/scim+json: - schema: *766 + schema: *767 examples: - user: &767 + user: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -112411,13 +112714,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: *767 - '400': *753 - '401': *751 - '403': *754 - '409': *761 - '429': *755 - '500': *756 + enterpriseOwner: *768 + '400': *754 + '401': *752 + '403': *755 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112434,7 +112737,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: - - &768 + - &769 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -112447,15 +112750,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *766 + schema: *767 examples: - default: *767 - '400': *753 - '401': *751 - '403': *754 + default: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112506,30 +112809,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: - - *768 + - *769 - *39 requestBody: required: true content: application/json: - schema: *769 + schema: *770 examples: - user: *770 + user: *771 responses: '200': description: User was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - user: *767 - '400': *753 - '401': *751 - '403': *754 + user: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112570,13 +112873,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: - - *768 + - *769 - *39 requestBody: required: true content: application/json: - schema: *771 + schema: *772 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -112616,18 +112919,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - userMultiValuedProperties: *767 - userSingleValuedProperties: *767 - disableUser: *767 - '400': *753 - '401': *751 - '403': *754 + userMultiValuedProperties: *768 + userSingleValuedProperties: *768 + disableUser: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112647,17 +112950,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: - - *768 + - *769 - *39 responses: '204': description: User was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112748,7 +113051,7 @@ paths: - 1 Resources: type: array - items: &772 + items: &773 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -112995,22 +113298,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': &773 + '404': &774 description: Resource not found content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '403': &774 + schema: *751 + '403': &775 description: Forbidden content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '400': *753 - '429': *755 + schema: *751 + '400': *754 + '429': *756 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -113036,9 +113339,9 @@ paths: description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: &775 + default: &776 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -113061,17 +113364,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': *773 - '403': *774 - '500': *756 + '404': *774 + '403': *775 + '500': *757 '409': description: Conflict content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '400': *753 + schema: *751 + '400': *754 requestBody: required: true content: @@ -113171,17 +113474,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 - '404': *773 - '403': *774 + default: *776 + '404': *774 + '403': *775 '304': *35 x-github: githubCloudOnly: true @@ -113205,18 +113508,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 + default: *776 '304': *35 - '404': *773 - '403': *774 + '404': *774 + '403': *775 requestBody: required: true content: @@ -113331,19 +113634,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 + default: *776 '304': *35 - '404': *773 - '403': *774 - '400': *753 + '404': *774 + '403': *775 + '400': *754 '429': description: Response content: @@ -113439,12 +113742,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *768 + - *769 responses: '204': description: Response - '404': *773 - '403': *774 + '404': *774 + '403': *775 '304': *35 x-github: githubCloudOnly: true @@ -113578,7 +113881,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &776 + text_matches: &777 title: Search Result Text Matches type: array items: @@ -113742,7 +114045,7 @@ paths: enum: - author-date - committer-date - - &777 + - &778 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 @@ -113811,7 +114114,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 comment_count: type: integer message: @@ -113830,7 +114133,7 @@ paths: url: type: string format: uri - verification: *626 + verification: *627 required: - author - committer @@ -113845,7 +114148,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 parents: type: array items: @@ -113862,7 +114165,7 @@ paths: type: number node_id: type: string - text_matches: *776 + text_matches: *777 required: - sha - node_id @@ -114055,7 +114358,7 @@ paths: - interactions - created - updated - - *777 + - *778 - *17 - *19 - name: advanced_search @@ -114152,11 +114455,11 @@ paths: type: - string - 'null' - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -114166,7 +114469,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 comments: type: integer created_at: @@ -114180,7 +114483,7 @@ paths: - string - 'null' format: date-time - text_matches: *776 + text_matches: *777 pull_request: type: object properties: @@ -114229,7 +114532,7 @@ paths: timeline_url: type: string format: uri - type: *370 + type: *371 performed_via_github_app: anyOf: - type: 'null' @@ -114406,7 +114709,7 @@ paths: enum: - created - updated - - *777 + - *778 - *17 - *19 responses: @@ -114451,7 +114754,7 @@ paths: - 'null' score: type: number - text_matches: *776 + text_matches: *777 required: - id - node_id @@ -114537,7 +114840,7 @@ paths: - forks - help-wanted-issues - updated - - *777 + - *778 - *17 - *19 responses: @@ -114785,7 +115088,7 @@ paths: - admin - pull - push - text_matches: *776 + text_matches: *777 temp_clone_token: type: string allow_merge_commit: @@ -115094,7 +115397,7 @@ paths: - string - 'null' format: uri - text_matches: *776 + text_matches: *777 related: type: - array @@ -115289,7 +115592,7 @@ paths: - followers - repositories - joined - - *777 + - *778 - *17 - *19 responses: @@ -115399,7 +115702,7 @@ paths: type: - boolean - 'null' - text_matches: *776 + text_matches: *777 blog: type: - string @@ -115481,7 +115784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &780 + - &781 name: team_id description: The unique identifier of the team. in: path @@ -115493,9 +115796,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -115522,7 +115825,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *780 + - *781 requestBody: required: true content: @@ -115586,16 +115889,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '201': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 '422': *15 '403': *27 @@ -115623,7 +115926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *780 + - *781 responses: '204': description: Response @@ -115652,7 +115955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -115662,9 +115965,9 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 x-github: @@ -115690,7 +115993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *780 + - *781 - name: role description: Filters members returned by their role in the team. in: query @@ -115741,7 +116044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -115778,7 +116081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -115818,7 +116121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -115855,16 +116158,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: - - *780 + - *781 - *139 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-user-is-a-team-maintainer: *781 + response-if-user-is-a-team-maintainer: *782 '404': *6 x-github: githubCloudOnly: false @@ -115897,7 +116200,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: - - *780 + - *781 - *139 requestBody: required: false @@ -115923,9 +116226,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-users-membership-with-team-is-now-pending: *782 + response-if-users-membership-with-team-is-now-pending: *783 '403': description: Forbidden if team synchronization is set up '422': @@ -115959,7 +116262,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: - - *780 + - *781 - *139 responses: '204': @@ -115987,7 +116290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -115999,7 +116302,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 '404': *6 @@ -116029,15 +116332,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: - - *780 - - *452 + - *781 - *453 + - *454 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *784 examples: alternative-response-with-extra-repository-information: value: @@ -116188,9 +116491,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: - - *780 - - *452 + - *781 - *453 + - *454 requestBody: required: false content: @@ -116240,9 +116543,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: - - *780 - - *452 + - *781 - *453 + - *454 responses: '204': description: Response @@ -116271,15 +116574,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: - - *780 + - *781 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '403': *27 '404': *6 x-github: @@ -116306,7 +116609,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: - - *780 + - *781 requestBody: required: true content: @@ -116367,7 +116670,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -116398,7 +116701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -116410,7 +116713,7 @@ paths: type: array items: *308 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *785 headers: Link: *45 '404': *6 @@ -116443,7 +116746,7 @@ paths: application/json: schema: oneOf: - - &785 + - &786 title: Private User description: Private User type: object @@ -117027,7 +117330,7 @@ paths: description: Response content: application/json: - schema: *785 + schema: *786 examples: default: value: @@ -117230,9 +117533,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 '304': *35 '500': *38 '401': *23 @@ -117371,17 +117674,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -117425,7 +117728,7 @@ paths: type: integer secrets: type: array - items: &786 + items: &787 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -117467,7 +117770,7 @@ paths: - visibility - selected_repositories_url examples: - default: *557 + default: *558 headers: Link: *45 x-github: @@ -117545,7 +117848,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: default: value: @@ -117691,7 +117994,7 @@ paths: type: array items: *279 examples: - default: *787 + default: *323 '401': *23 '403': *27 '404': *6 @@ -117835,15 +118138,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '304': *35 '500': *38 '401': *23 @@ -117869,7 +118172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 requestBody: required: false content: @@ -117899,9 +118202,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -117923,7 +118226,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '202': *37 '304': *35 @@ -117952,7 +118255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '202': description: Response @@ -118043,7 +118346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *377 + - *378 - name: export_id in: path required: true @@ -118079,7 +118382,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *377 + - *378 responses: '200': description: Response @@ -118095,7 +118398,7 @@ paths: type: integer machines: type: array - items: *556 + items: *557 examples: default: *790 '304': *35 @@ -118126,7 +118429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *377 + - *378 requestBody: required: true content: @@ -118182,11 +118485,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *457 + repository: *458 machine: anyOf: - type: 'null' - - *556 + - *557 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -118983,15 +119286,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '304': *35 '500': *38 '400': *14 @@ -119023,15 +119326,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '500': *38 '401': *23 '403': *27 @@ -119061,7 +119364,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: &801 value: @@ -120175,12 +120478,12 @@ paths: application/json: schema: anyOf: - - *362 + - *363 - type: object properties: {} additionalProperties: false examples: - default: *363 + default: *364 '204': description: Response when there are no restrictions x-github: @@ -120204,7 +120507,7 @@ paths: required: true content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -120215,7 +120518,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -120296,7 +120599,7 @@ paths: - closed - all default: open - - *373 + - *374 - name: sort description: What to sort results by. in: query @@ -120321,7 +120624,7 @@ paths: type: array items: *219 examples: - default: *374 + default: *375 headers: Link: *45 '404': *6 @@ -120492,7 +120795,7 @@ 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: - - *666 + - *667 responses: '200': description: Response @@ -120523,7 +120826,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: - - *666 + - *667 responses: '204': description: Response @@ -120739,7 +121042,7 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: default: value: @@ -120853,7 +121156,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -120940,7 +121243,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -121012,7 +121315,7 @@ paths: application/json: schema: type: array - items: *380 + items: *381 examples: default: value: @@ -121274,7 +121577,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -121454,7 +121757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *381 + - *382 - name: exclude in: query required: false @@ -121467,7 +121770,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -121661,7 +121964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *381 + - *382 responses: '302': description: Response @@ -121687,7 +121990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *381 + - *382 responses: '204': description: Response @@ -121716,7 +122019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *381 + - *382 - *799 responses: '204': @@ -121741,7 +122044,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *381 + - *382 - *17 - *19 responses: @@ -121840,7 +122143,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *801 '400': *802 @@ -121863,14 +122166,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: default: &821 value: @@ -121985,8 +122288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 responses: '204': description: Response @@ -122016,8 +122319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 - name: token description: package token schema: @@ -122049,8 +122352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *387 - *388 + - *389 - *19 - *17 - name: state @@ -122070,7 +122373,7 @@ paths: application/json: schema: type: array - items: *389 + items: *390 examples: default: value: @@ -122119,15 +122422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -122163,9 +122466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '204': description: Response @@ -122195,9 +122498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '204': description: Response @@ -122667,9 +122970,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -122708,7 +123011,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: *804 headers: @@ -122733,7 +123036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *366 + - *367 responses: '204': description: Response @@ -122757,7 +123060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *366 + - *367 responses: '204': description: Response @@ -123328,8 +123631,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: - - *452 - *453 + - *454 responses: '204': description: Response if this repository is starred by you @@ -123357,8 +123660,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -123382,8 +123685,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -123418,7 +123721,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 '304': *35 @@ -123455,7 +123758,7 @@ paths: application/json: schema: type: array - items: *444 + items: *445 examples: default: value: @@ -123541,7 +123844,7 @@ paths: application/json: schema: oneOf: - - *785 + - *786 - *811 examples: default-response: &815 @@ -123643,7 +123946,7 @@ paths: required: true schema: type: string - - *403 + - *404 requestBody: required: true description: Details of the draft item to create in the project. @@ -123677,9 +123980,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - draft_issue: *409 + draft_issue: *410 '304': *35 '403': *27 '401': *23 @@ -123738,7 +124041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *813 - - *403 + - *404 requestBody: required: true content: @@ -123816,13 +124119,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *413 + value: *414 board_view: summary: Response for creating a board view with filter - value: *413 + value: *414 roadmap_view: summary: Response for creating a roadmap view - value: *413 + value: *414 '304': *35 '403': *27 '401': *23 @@ -123864,7 +124167,7 @@ paths: application/json: schema: oneOf: - - *785 + - *786 - *811 examples: default-response: *815 @@ -124148,7 +124451,7 @@ paths: initiator: type: string examples: - default: *499 + default: *500 '201': description: Response content: @@ -124187,7 +124490,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *801 '403': *27 @@ -124679,7 +124982,7 @@ paths: application/json: schema: *20 examples: - default: *360 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124815,7 +125118,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *801 '403': *27 @@ -124840,15 +125143,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: default: *821 x-github: @@ -124871,8 +125174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '204': @@ -124905,8 +125208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 - name: token description: package token @@ -124939,8 +125242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '200': @@ -124949,7 +125252,7 @@ paths: application/json: schema: type: array - items: *389 + items: *390 examples: default: value: @@ -125007,16 +125310,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 - *139 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -125051,10 +125354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *387 - *388 + - *389 - *139 - - *390 + - *391 responses: '204': description: Response @@ -125086,10 +125389,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *387 - *388 + - *389 - *139 - - *390 + - *391 responses: '204': description: Response @@ -125130,9 +125433,9 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -125154,16 +125457,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *403 + - *404 - *139 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -125185,7 +125488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *403 + - *404 - *139 - *17 - *108 @@ -125197,7 +125500,7 @@ paths: application/json: schema: type: array - items: *406 + items: *407 examples: default: *822 headers: @@ -125221,7 +125524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *139 - - *403 + - *404 requestBody: required: true content: @@ -125304,7 +125607,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: text_field: *827 number_field: *828 @@ -125331,7 +125634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *403 + - *404 - *832 - *139 responses: @@ -125339,7 +125642,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: *833 headers: @@ -125364,7 +125667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *403 + - *404 - *139 - *108 - *109 @@ -125397,9 +125700,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -125421,7 +125724,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *139 - - *403 + - *404 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -125491,22 +125794,22 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *409 + value: *410 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *409 + value: *410 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *409 + value: *410 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *409 + value: *410 '304': *35 '403': *27 '401': *23 @@ -125526,9 +125829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *403 + - *404 - *139 - - *412 + - *413 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -125548,9 +125851,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -125571,9 +125874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *403 + - *404 - *139 - - *412 + - *413 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -125646,13 +125949,13 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - text_field: *411 - number_field: *411 - date_field: *411 - single_select_field: *411 - iteration_field: *411 + text_field: *412 + number_field: *412 + date_field: *412 + single_select_field: *412 + iteration_field: *412 '401': *23 '403': *27 '404': *6 @@ -125672,9 +125975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *403 + - *404 - *139 - - *412 + - *413 responses: '204': description: Response @@ -125696,7 +125999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - - *403 + - *404 - *139 - *834 - name: fields @@ -125724,9 +126027,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -125947,7 +126250,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 x-github: @@ -126083,7 +126386,7 @@ paths: type: array items: *279 examples: - default: *398 + default: *399 headers: Link: *45 x-github: @@ -132597,7 +132900,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132929,7 +133232,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133273,7 +133576,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133632,7 +133935,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133915,7 +134218,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -134213,7 +134516,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -134534,7 +134837,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -135642,7 +135945,7 @@ webhooks: type: string enum: - assignees_changed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -135726,7 +136029,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -135811,7 +136114,7 @@ webhooks: type: string enum: - auto_reopened - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -135896,7 +136199,7 @@ webhooks: type: string enum: - created - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -135979,7 +136282,7 @@ webhooks: type: string enum: - dismissed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136062,7 +136365,7 @@ webhooks: type: string enum: - fixed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136146,7 +136449,7 @@ webhooks: type: string enum: - reintroduced - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136229,7 +136532,7 @@ webhooks: type: string enum: - reopened - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137755,10 +138058,10 @@ webhooks: deployment: anyOf: - type: 'null' - - *591 + - *592 pull_requests: type: array - items: *686 + items: *687 repository: *841 organization: *840 installation: *839 @@ -146920,7 +147223,7 @@ webhooks: pin: anyOf: - type: 'null' - - *663 + - *664 user: title: User type: @@ -147819,8 +148122,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147837,7 +148140,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -148419,7 +148722,7 @@ webhooks: pin: anyOf: - type: 'null' - - *663 + - *664 required: - url - html_url @@ -149242,8 +149545,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149260,7 +149563,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -150512,8 +150815,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150530,7 +150833,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -151771,8 +152074,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151789,7 +152092,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -153031,8 +153334,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153049,7 +153352,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -154653,11 +154956,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154674,7 +154977,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -155675,11 +155978,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155696,7 +155999,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -156830,11 +157133,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156851,7 +157154,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -157864,11 +158167,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157885,7 +158188,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -159021,11 +159324,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159039,7 +159342,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -160038,11 +160341,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160056,7 +160359,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -161080,11 +161383,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161098,7 +161401,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -162091,11 +162394,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162112,7 +162415,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -163081,11 +163384,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163185,7 +163488,7 @@ webhooks: required: - login - id - type: *370 + type: *371 required: - id - number @@ -164489,11 +164792,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164510,7 +164813,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -165504,11 +165807,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165525,7 +165828,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -166541,11 +166844,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166642,7 +166945,7 @@ webhooks: format: uri user_view_type: type: string - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -167532,11 +167835,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167553,7 +167856,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -168237,7 +168540,7 @@ webhooks: enterprise: *838 installation: *839 issue: *872 - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -169394,11 +169697,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169415,7 +169718,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -169662,7 +169965,7 @@ webhooks: enterprise: *838 installation: *839 issue: *872 - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -171668,7 +171971,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *519 + head_commit: *520 required: - head_sha - head_ref @@ -177775,7 +178078,7 @@ webhooks: - closed installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -177858,7 +178161,7 @@ webhooks: - created installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -177941,7 +178244,7 @@ webhooks: - deleted installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -178064,7 +178367,7 @@ webhooks: type: string installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -178183,7 +178486,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *407 + content_type: *408 creator: *4 created_at: type: string @@ -178938,7 +179241,7 @@ webhooks: - reopened installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -186735,7 +187038,7 @@ webhooks: organization: *840 pull_request: &891 allOf: - - *686 + - *687 - type: object properties: allow_auto_merge: @@ -186964,7 +187267,7 @@ webhooks: enum: - demilestoned enterprise: *838 - milestone: *404 + milestone: *405 number: *890 organization: *840 pull_request: &892 @@ -199307,7 +199610,7 @@ webhooks: enum: - milestoned enterprise: *838 - milestone: *404 + milestone: *405 number: *890 organization: *840 pull_request: *892 @@ -242676,7 +242979,7 @@ webhooks: installation: *839 organization: *840 repository: *841 - repository_advisory: *738 + repository_advisory: *739 sender: *4 required: - action @@ -242756,7 +243059,7 @@ webhooks: installation: *839 organization: *840 repository: *841 - repository_advisory: *738 + repository_advisory: *739 sender: *4 required: - action @@ -243847,16 +244150,16 @@ webhooks: properties: added: type: array - items: *706 + items: *707 deleted: type: array - items: *706 + items: *707 updated: type: array items: type: object properties: - rule: *706 + rule: *707 changes: type: object properties: @@ -246458,11 +246761,11 @@ webhooks: from: type: object properties: - security_and_analysis: *415 + security_and_analysis: *416 enterprise: *838 installation: *839 organization: *840 - repository: *457 + repository: *458 sender: *4 required: - changes @@ -251792,7 +252095,7 @@ webhooks: type: string required: - conclusion - deployment: *591 + deployment: *592 required: - action - repository @@ -252156,7 +252459,7 @@ webhooks: required: - status - steps - deployment: *591 + deployment: *592 required: - action - repository @@ -252384,7 +252687,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *591 + deployment: *592 required: - action - repository @@ -252613,7 +252916,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *591 + deployment: *592 required: - action - repository diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 62a5c579e..54d2e6ad3 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -5823,6 +5823,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -6971,6 +6979,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -7906,6 +7922,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -8392,6 +8416,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -10866,6 +10898,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -12046,6 +12086,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13090,6 +13138,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -13837,6 +13893,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -31996,6 +32060,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -32875,1105 +32947,14 @@ "write" ] }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": [ - "read" - ] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": [ - "read", - "write" - ] - }, - "email_addresses": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "enum": [ "read", "write" ] }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": [ - "read", - "write" - ] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": [ - "read", - "write" - ] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": [ - "read", - "write" - ] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": [ - "write" - ] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "enterprise_organization_installations": { - "type": "string", - "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", - "enum": [ - "read", - "write" - ] - }, - "enterprise_organization_installation_repositories": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository access of GitHub Apps on Enterprise-owned organizations.", - "enum": [ - "read", - "write" - ] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "events": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "single_file_name": { - "type": [ - "string", - "null" - ], - "examples": [ - "config.yaml" - ] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [ - true - ] - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "app_slug": { - "type": "string", - "examples": [ - "github-actions" - ] - }, - "suspended_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "suspended_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "contact_email": { - "type": [ - "string", - "null" - ], - "examples": [ - "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"" - ] - } - }, - "required": [ - "id", - "app_id", - "app_slug", - "target_id", - "target_type", - "single_file_name", - "repository_selection", - "access_tokens_url", - "html_url", - "repositories_url", - "events", - "account", - "permissions", - "created_at", - "updated_at", - "suspended_by", - "suspended_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": [ - "push", - "pull_request" - ], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ], - "repository_selection": "selected", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - } - } - } - } - }, - "201": { - "description": "A GitHub App installation.", - "content": { - "application/json": { - "schema": { - "title": "Installation", - "description": "Installation", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [ - 1 - ] - }, - "account": { - "anyOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - } - ], - "type": [ - "null", - "object" - ] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", - "type": "string", - "enum": [ - "all", - "selected" - ] - }, - "access_tokens_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/app/installations/1/access_tokens" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/installation/repositories" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/organizations/github/settings/installations/1" - ] - }, - "app_id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "client_id": { - "type": "string", - "examples": [ - "Iv1.ab1112223334445c" - ] - }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { - "type": "string", - "examples": [ - "Organization" - ] - }, - "permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": [ - "read", - "write" - ] - }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, - "attestations": { - "type": "string", - "description": "The level of permission to create and retrieve the access token for repository attestations.", - "enum": [ - "read", - "write" - ] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": [ - "read", - "write" - ] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": [ - "read", - "write" - ] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": [ - "read", - "write" - ] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - "discussions": { - "type": "string", - "description": "The level of permission to grant the access token for discussions and related comments and labels.", - "enum": [ - "read", - "write" - ] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - "issues": { - "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", - "enum": [ - "read", - "write" - ] - }, - "merge_queues": { - "type": "string", - "description": "The level of permission to grant the access token to manage the merge queues for a repository.", - "enum": [ - "read", - "write" - ] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": [ - "read", - "write" - ] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": [ - "read", - "write" - ] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": [ - "read", - "write" - ] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": [ - "read", - "write" - ] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": [ - "read", - "write" - ] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - "custom_properties_for_organizations": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", - "enum": [ - "read", - "write" - ] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": [ - "read", - "write" - ] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", - "enum": [ - "read", - "write", - "admin" - ] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": [ - "write" - ] - }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -34462,406 +33443,9 @@ } } } - } - }, - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "client_id": { - "type": "string", - "description": "The Client ID of the GitHub App to install." - }, - "repository_selection": { - "type": "string", - "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", - "enum": [ - "all", - "selected", - "none" - ] - }, - "repositories": { - "type": "array", - "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", - "items": { - "type": "string" - }, - "maxItems": 50 - } - }, - "required": [ - "client_id", - "repository_selection" - ] - }, - "examples": { - "default": { - "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", - "value": { - "client_id": "Iv2abc123aabbcc", - "repository_selection": "all" - } - }, - "repository_selection_selected": { - "value": { - "client_id": "Iv2abc123aabbcc", - "repository_selection": "selected", - "repositories": [ - "hello-world", - "hello-world-2" - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - } - }, - "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { - "delete": { - "summary": "Uninstall a GitHub App from an enterprise-owned organization", - "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/delete-installation", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - } - ], - "responses": { - "204": { - "description": "An empty response indicates that the installation was successfully removed." - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - } - }, - "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { - "get": { - "summary": "Get the repositories accessible to a given GitHub App installation", - "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/organization-installation-repositories", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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": "A list of repositories owned by the enterprise organization to which the installation has access.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Accessible Repository", - "description": "A repository that may be made accessible to a GitHub App.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" - ] - } - }, - "required": [ - "full_name", - "id", - "name" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1, - "name": "Hello World", - "full_name": "octocat/Hello-World" - }, - { - "id": 2, - "login": "Goodbye World", - "full_name": "octocat/Goodbye-World" - } - ] - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "enterprise-admin", - "subcategory": "organization-installations" - } - }, - "patch": { - "summary": "Toggle installation repository access between selected and all repositories", - "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", - "tags": [ - "apps" - ], - "operationId": "enterprise-apps/change-installation-repository-access-selection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - }, - "examples": { - "default": { - "value": 1 - } - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_selection": { - "type": "string", - "description": "One of either 'all' or 'selected'", - "enum": [ - "all", - "selected" - ] - }, - "repositories": { - "type": "array", - "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", - "items": { - "type": "string" - }, - "maxItems": 50 - } - }, - "required": [ - "repository_selection" - ] - }, - "examples": { - "default": { - "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", - "value": { - "repository_selection": "selected", - "repositories": [ - "hello-world", - "hello-world-2" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "The GitHub App installation that was updated.", + "201": { + "description": "A GitHub App installation.", "content": { "application/json": { "schema": { @@ -35470,6 +34054,1518 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "enterprise_organization_installations": { + "type": "string", + "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", + "enum": [ + "read", + "write" + ] + }, + "enterprise_organization_installation_repositories": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository access of GitHub Apps on Enterprise-owned organizations.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": [ + "string", + "null" + ], + "examples": [ + "config.yaml" + ] + }, + "has_multiple_single_files": { + "type": "boolean", + "examples": [ + true + ] + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "examples": [ + "github-actions" + ] + }, + "suspended_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "suspended_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "contact_email": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"" + ] + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { + "get": { + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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": "A list of repositories owned by the enterprise organization to which the installation has access.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "patch": { + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/change-installation-repository-access-selection", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_selection": { + "type": "string", + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] + }, + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", + "value": { + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The GitHub App installation that was updated.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "account": { + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ], + "type": [ + "null", + "object" + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/app/installations/1/access_tokens" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/installation/repositories" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/organizations/github/settings/installations/1" + ] + }, + "app_id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "client_id": { + "type": "string", + "examples": [ + "Iv1.ab1112223334445c" + ] + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "examples": [ + "Organization" + ] + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "artifact_metadata": { + "type": "string", + "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", + "enum": [ + "read", + "write" + ] + }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -54665,6 +54761,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -178812,8 +178916,2487 @@ } } }, - "401": { - "description": "Requires authentication", + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions": { + "get": { + "summary": "Get Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about which repositories in an organization have been enabled\nor disabled for the Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization" + }, + "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", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL for the selected repositories endpoint. Only present when `enabled_repositories` is `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "all_enabled": { + "summary": "All repositories enabled", + "value": { + "enabled_repositories": "all" + } + }, + "selected_enabled": { + "summary": "Selected repositories enabled", + "value": { + "enabled_repositories": "selected", + "selected_repositories_url": "https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories" + } + }, + "none_enabled": { + "summary": "No repositories enabled", + "value": { + "enabled_repositories": "none" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set Copilot coding agent permissions for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets the policy for which repositories in an organization can use Copilot coding agent.\n\nOrganization owners can configure whether Copilot coding agent is enabled for\nall repositories, selected repositories, or no repositories owned by the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-permissions-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization" + }, + "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": { + "enabled_repositories": { + "type": "string", + "description": "The policy for which repositories can use Copilot coding agent. Can be one of `all`, `selected`, or `none`.", + "enum": [ + "all", + "selected", + "none" + ] + } + }, + "required": [ + "enabled_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enabled_repositories": "selected" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories": { + "get": { + "summary": "List repositories enabled for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists the selected repositories that are enabled for Copilot coding agent in an organization.\n\nOrganization owners can use this endpoint when the coding agent repository policy\nis set to `selected` to see which repositories have been enabled.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/list-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization" + }, + "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", + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "has_commit_comments": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_has_downloads", + "patch": { + "properties": { + "has_downloads": null + } + }, + "version": "2026-03-10" + } + ] + } + } + }, + "required": [ + "total_count", + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "template_repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "put": { + "summary": "Set selected repositories for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot coding\nagent in an organization. This method can only be called when the coding agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-coding-agent-selected-repositories-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization" + }, + "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": { + "selected_repository_ids": { + "description": "List of repository IDs to enable for Copilot coding agent.", + "type": "array", + "items": { + "type": "integer", + "description": "Unique identifier of the repository." + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 32, + 42 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": { + "put": { + "summary": "Enable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nAdds a repository to the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/enable-copilot-coding-agent-for-repository-in-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -178838,8 +181421,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -178864,8 +181447,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -178891,26 +181474,98 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "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": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Disable a repository for Copilot coding agent in an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemoves a repository from the list of selected repositories enabled for Copilot\ncoding agent in an organization. This method can only be called when the\ncoding agent repository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/disable-copilot-coding-agent-for-repository-in-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization" }, "parameters": [ { @@ -178921,71 +181576,49 @@ "schema": { "type": "string" } + }, + { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", + "204": { + "description": "No Content" + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } } } }, - "500": { - "description": "Internal Error", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -179010,8 +181643,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -179036,8 +181669,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -179062,8 +181695,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -179087,16 +181720,13 @@ } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-coding-agent-management" } } }, @@ -209786,6 +212416,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -210949,6 +213587,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -495742,6 +498388,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -794175,6 +796829,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -889626,6 +892288,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1172469,6 +1175139,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1175641,6 +1178319,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1178718,6 +1181404,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1181795,6 +1184489,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1185006,6 +1187708,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1188224,6 +1190934,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", @@ -1193486,6 +1196204,14 @@ "write" ] }, + "organization_copilot_agent_settings": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", + "enum": [ + "read", + "write" + ] + }, "organization_announcement_banners": { "type": "string", "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 9dae2e2fb..a4ec60cb9 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -937,7 +937,7 @@ paths: - subscriptions_url - type - url - type: &436 + type: &437 type: string description: The type of credit the user is receiving. enum: @@ -1130,7 +1130,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: - - &740 + - &741 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1715,7 +1715,7 @@ paths: schema: type: integer default: 30 - - &344 + - &345 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1731,7 +1731,7 @@ paths: application/json: schema: type: array - items: &345 + items: &346 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1827,7 +1827,7 @@ paths: - installation_id - repository_id examples: - default: &346 + default: &347 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1859,7 +1859,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &750 + schema: &751 title: Scim Error description: Scim Error type: object @@ -1962,7 +1962,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &348 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2097,7 +2097,7 @@ paths: - request - response examples: - default: &348 + default: &349 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2636,6 +2636,14 @@ paths: This property is in public preview and is subject to change. enum: - write + organization_copilot_agent_settings: + type: string + description: The level of permission to grant the access + token to view and manage Copilot coding agent settings + for an organization. + enum: + - read + - write organization_announcement_banners: type: string description: The level of permission to grant the access @@ -9573,7 +9581,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &751 + '401': &752 description: Authorization failure '404': *6 x-github: @@ -13846,7 +13854,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &525 + instances_url: &526 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13882,7 +13890,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &526 + dismissed_reason: &527 type: - string - 'null' @@ -13893,14 +13901,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &527 + dismissed_comment: &528 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &528 + rule: &529 type: object properties: id: @@ -13961,7 +13969,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &529 + tool: &530 type: object properties: name: *111 @@ -13972,26 +13980,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &530 + most_recent_instance: &531 type: object properties: - ref: &523 + ref: &524 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &540 + analysis_key: &541 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &541 + environment: &542 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &543 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -14005,7 +14013,7 @@ paths: properties: text: type: string - location: &543 + location: &544 type: object description: Describe a region within a file for the alert. properties: @@ -14026,7 +14034,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &544 + items: &545 type: - string - 'null' @@ -16436,7 +16444,7 @@ paths: parent: anyOf: - type: 'null' - - &383 + - &384 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -17214,7 +17222,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &323 + '413': &324 description: Payload Too Large content: application/json: @@ -18293,7 +18301,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &328 + - &329 name: state in: query description: |- @@ -18302,7 +18310,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &329 + - &330 name: severity in: query description: |- @@ -18311,7 +18319,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &330 + - &331 name: ecosystem in: query description: |- @@ -18320,14 +18328,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &331 + - &332 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &332 + - &333 name: epss_percentage in: query description: |- @@ -18339,7 +18347,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &581 + - &582 name: has in: query description: |- @@ -18353,7 +18361,7 @@ paths: type: string enum: - patch - - &333 + - &334 name: assignee in: query description: |- @@ -18362,7 +18370,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &334 + - &335 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -18372,7 +18380,7 @@ paths: enum: - development - runtime - - &335 + - &336 name: sort in: query description: |- @@ -18398,7 +18406,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 type: object description: A Dependabot alert. properties: @@ -18465,7 +18473,7 @@ paths: - direct - transitive - - security_advisory: &582 + security_advisory: &583 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -18720,7 +18728,7 @@ paths: dismissal. maxLength: 280 fixed_at: *136 - auto_dismissed_at: &583 + auto_dismissed_at: &584 type: - string - 'null' @@ -18728,7 +18736,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &584 + dismissal_request: &585 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18791,7 +18799,7 @@ paths: - repository additionalProperties: false examples: - default: &337 + default: &338 value: - number: 2 state: dismissed @@ -19768,7 +19776,7 @@ paths: application/json: schema: *20 examples: - default: &360 + default: &361 value: id: 1 account: @@ -20029,7 +20037,7 @@ paths: - name - created_on examples: - default: &440 + default: &441 value: total_count: 2 network_configurations: @@ -20254,7 +20262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &441 + - &442 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -20266,7 +20274,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &443 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -20305,7 +20313,7 @@ paths: - subnet_id - region examples: - default: &443 + default: &444 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -21158,7 +21166,7 @@ paths: required: true content: application/json: - schema: &414 + schema: &415 title: Custom Property Set Payload description: Custom property set payload type: object @@ -22360,7 +22368,7 @@ paths: conditions: anyOf: - *158 - - &418 + - &419 title: Organization ruleset conditions type: object description: |- @@ -22410,7 +22418,7 @@ paths: - object rules: type: array - items: &706 + items: &707 title: Repository Rule type: object description: A repository rule. @@ -22419,7 +22427,7 @@ paths: - *167 - *168 - *169 - - &704 + - &705 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -22747,7 +22755,7 @@ paths: type: string format: date-time examples: - default: &421 + default: &422 value: - version_id: 3 actor: @@ -22800,7 +22808,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &423 allOf: - *191 - type: object @@ -22855,7 +22863,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &423 + - &424 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22866,7 +22874,7 @@ paths: enum: - open - resolved - - &424 + - &425 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22876,7 +22884,7 @@ paths: required: false schema: type: string - - &425 + - &426 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22885,7 +22893,7 @@ paths: required: false schema: type: string - - &426 + - &427 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22904,7 +22912,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &427 + - &428 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. @@ -22920,7 +22928,7 @@ paths: - *17 - *108 - *109 - - &428 + - &429 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22929,7 +22937,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22938,7 +22946,7 @@ paths: schema: type: boolean default: false - - &430 + - &431 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22947,7 +22955,7 @@ paths: schema: type: boolean default: false - - &431 + - &432 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22963,7 +22971,7 @@ paths: application/json: schema: type: array - items: &432 + items: &433 type: object properties: number: *126 @@ -22979,14 +22987,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &718 + state: &719 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: &719 + resolution: &720 type: - string - 'null' @@ -23093,14 +23101,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &720 + - &721 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &722 + - &723 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -23157,7 +23165,7 @@ paths: - blob_url - commit_sha - commit_url - - &723 + - &724 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -23218,7 +23226,7 @@ paths: - page_url - commit_sha - commit_url - - &724 + - &725 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -23233,7 +23241,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &725 + - &726 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -23248,7 +23256,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &726 + - &727 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -23263,7 +23271,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &727 + - &728 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -23278,7 +23286,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &728 + - &729 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -23293,7 +23301,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &729 + - &730 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -23308,7 +23316,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &730 + - &731 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -23323,7 +23331,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &731 + - &732 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -23338,7 +23346,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &732 + - &733 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -23353,7 +23361,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &733 + - &734 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -23368,7 +23376,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &734 + - &735 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -23393,7 +23401,7 @@ paths: - type: 'null' - *4 examples: - default: &433 + default: &434 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -23602,7 +23610,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -23689,7 +23697,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &435 + default: &436 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -23825,7 +23833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &437 + - &438 name: advanced_security_product in: query description: | @@ -23845,7 +23853,7 @@ paths: description: Success content: application/json: - schema: &438 + schema: &439 type: object properties: total_advanced_security_committers: @@ -23908,7 +23916,7 @@ paths: required: - repositories examples: - default: &439 + default: &440 value: total_advanced_security_committers: 2 total_count: 2 @@ -27569,7 +27577,7 @@ paths: milestone: anyOf: - type: 'null' - - &404 + - &405 title: Milestone description: A collection of related issues and pull requests. @@ -27741,7 +27749,7 @@ paths: timeline_url: type: string format: uri - type: &370 + type: &371 title: Issue Type description: The type of issue. type: @@ -27852,7 +27860,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &778 + sub_issues_summary: &779 title: Sub-issues Summary type: object properties: @@ -27936,7 +27944,7 @@ paths: pin: anyOf: - type: 'null' - - &663 + - &664 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27963,7 +27971,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &779 + issue_dependencies_summary: &780 title: Issue Dependencies Summary type: object properties: @@ -27982,7 +27990,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -28808,7 +28816,7 @@ paths: type: string release: allOf: - - &697 + - &698 title: Release description: A release. type: object @@ -28890,7 +28898,7 @@ paths: author: *4 assets: type: array - items: &698 + items: &699 title: Release Asset description: Data related to a release. type: object @@ -29510,7 +29518,7 @@ paths: url: type: string format: uri - user: &785 + user: &786 title: Public User description: Public User type: object @@ -31415,7 +31423,7 @@ paths: - closed - all default: open - - &373 + - &374 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -31466,7 +31474,7 @@ paths: type: array items: *219 examples: - default: &374 + default: &375 value: - id: 1 node_id: MDU6SXNzdWUx @@ -32878,14 +32886,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: - - &452 + - &453 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &453 + - &454 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -32947,7 +32955,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &458 + '301': &459 description: Moved permanently content: application/json: @@ -32969,7 +32977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &671 + - &672 name: all description: If `true`, show notifications marked as read. in: query @@ -32977,7 +32985,7 @@ paths: schema: type: boolean default: false - - &672 + - &673 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -32987,7 +32995,7 @@ paths: type: boolean default: false - *224 - - &673 + - &674 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: @@ -33371,7 +33379,7 @@ paths: type: boolean examples: - false - security_and_analysis: &415 + security_and_analysis: &416 type: - object - 'null' @@ -33589,7 +33597,7 @@ paths: - url - subscription_url examples: - default: &674 + default: &675 value: - id: '1' repository: @@ -34194,7 +34202,7 @@ paths: - 3 custom_roles: type: array - items: &324 + items: &325 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -34243,7 +34251,7 @@ paths: - created_at - updated_at examples: - default: &325 + default: &326 value: id: 8030 name: Security Engineer @@ -34731,7 +34739,7 @@ paths: type: array items: *152 examples: - default: &680 + default: &681 value: - property_name: environment value: production @@ -34781,7 +34789,7 @@ paths: required: - properties examples: - default: &681 + default: &682 value: properties: - property_name: environment @@ -35700,7 +35708,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &466 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -37937,7 +37945,7 @@ paths: type: array items: *279 examples: - default: &788 + default: &323 value: total_count: 1 repositories: @@ -38981,7 +38989,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -39016,7 +39024,7 @@ paths: - key_id - key examples: - default: &486 + default: &487 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39429,7 +39437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &470 + - &471 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)." @@ -41112,7 +41120,7 @@ paths: initiator: type: string examples: - default: &499 + default: &500 value: attestations: - bundle: @@ -42048,7 +42056,7 @@ paths: be returned. in: query required: false - schema: &524 + schema: &525 type: string description: Severity of a code scanning alert. enum: @@ -43104,7 +43112,7 @@ paths: type: integer codespaces: type: array - items: &375 + items: &376 type: object title: Codespace description: A codespace. @@ -43139,7 +43147,7 @@ paths: machine: anyOf: - type: 'null' - - &556 + - &557 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -43426,7 +43434,7 @@ paths: - pulls_url - recent_folders examples: - default: &376 + default: &377 value: total_count: 3 codespaces: @@ -44091,7 +44099,7 @@ paths: - updated_at - visibility examples: - default: &557 + default: &558 value: total_count: 2 secrets: @@ -44129,7 +44137,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &559 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -44164,7 +44172,7 @@ paths: - key_id - key examples: - default: &559 + default: &560 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44196,7 +44204,7 @@ paths: application/json: schema: *322 examples: - default: &561 + default: &562 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44993,6 +45001,301 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/coding-agent/permissions": + get: + summary: Get Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about which repositories in an organization have been enabled + or disabled for the Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization + parameters: + - *87 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot + coding agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + selected_repositories_url: + type: string + description: The URL for the selected repositories endpoint. Only + present when `enabled_repositories` is `selected`. + required: + - enabled_repositories + examples: + all_enabled: + summary: All repositories enabled + value: + enabled_repositories: all + selected_enabled: + summary: Selected repositories enabled + value: + enabled_repositories: selected + selected_repositories_url: https://api.github.com/orgs/my-org/copilot/coding-agent/permissions/repositories + none_enabled: + summary: No repositories enabled + value: + enabled_repositories: none + '500': *38 + '401': *23 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set Copilot coding agent permissions for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets the policy for which repositories in an organization can use Copilot coding agent. + + Organization owners can configure whether Copilot coding agent is enabled for + all repositories, selected repositories, or no repositories owned by the organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-permissions-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enabled_repositories: + type: string + description: The policy for which repositories can use Copilot coding + agent. Can be one of `all`, `selected`, or `none`. + enum: + - all + - selected + - none + required: + - enabled_repositories + examples: + default: + value: + enabled_repositories: selected + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories": + get: + summary: List repositories enabled for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Lists the selected repositories that are enabled for Copilot coding agent in an organization. + + Organization owners can use this endpoint when the coding agent repository policy + is set to `selected` to see which repositories have been enabled. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/list-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *279 + required: + - total_count + - repositories + examples: + default: *323 + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + put: + summary: Set selected repositories for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Replaces the list of selected repositories that are enabled for Copilot coding + agent in an organization. This method can only be called when the coding agent + repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-coding-agent-selected-repositories-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs to enable for Copilot coding + agent. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 42 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": + put: + summary: Enable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Adds a repository to the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - copilot + operationId: copilot/enable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *273 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Disable a repository for Copilot coding agent in an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Removes a repository from the list of selected repositories enabled for Copilot + coding agent in an organization. This method can only be called when the + coding agent repository policy is set to `selected`. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/disable-copilot-coding-agent-for-repository-in-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization + parameters: + - *87 + - *273 + responses: + '204': + description: No Content + '500': *38 + '401': *23 + '403': *27 + '404': *6 + '409': *119 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-coding-agent-management "/orgs/{org}/copilot/content_exclusion": get: summary: Get Copilot content exclusion rules for an organization @@ -45127,7 +45430,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *323 + '413': *324 '422': *7 x-github: githubCloudOnly: @@ -45574,7 +45877,7 @@ paths: - 3 custom_roles: type: array - items: *324 + items: *325 examples: default: value: @@ -45666,7 +45969,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &327 type: object properties: name: @@ -45708,9 +46011,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45741,9 +46044,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: true @@ -45771,7 +46074,7 @@ paths: required: true content: application/json: - schema: &327 + schema: &328 type: object properties: name: @@ -45810,9 +46113,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45870,7 +46173,7 @@ paths: required: true content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -45884,9 +46187,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -45923,9 +46226,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: true @@ -45959,7 +46262,7 @@ paths: required: true content: application/json: - schema: *327 + schema: *328 examples: default: value: @@ -45974,9 +46277,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '422': *15 '404': *6 x-github: @@ -46036,11 +46339,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *328 - *329 - *330 - *331 - *332 + - *333 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -46070,7 +46373,7 @@ paths: enum: - patch - deployment - - *333 + - *334 - name: runtime_risk in: query description: |- @@ -46079,8 +46382,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *334 - *335 + - *336 - *110 - *108 - *109 @@ -46092,9 +46395,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 '304': *35 '400': *14 '403': *27 @@ -46138,7 +46441,7 @@ paths: type: integer secrets: type: array - items: &338 + items: &339 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -46217,7 +46520,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &588 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -46236,7 +46539,7 @@ paths: - key_id - key examples: - default: &588 + default: &589 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -46266,7 +46569,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -46572,7 +46875,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &596 + - &597 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -46580,7 +46883,7 @@ paths: required: false schema: type: string - - &597 + - &598 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -46588,7 +46891,7 @@ paths: required: false schema: type: string - - &598 + - &599 name: time_period description: |- The time period to filter by. @@ -46604,7 +46907,7 @@ paths: - week - month default: month - - &599 + - &600 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -46629,7 +46932,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -46739,7 +47042,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &339 + items: &340 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -46792,7 +47095,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &601 + default: &602 value: - id: 21 number: 42 @@ -46884,7 +47187,7 @@ paths: - *103 - *104 - *105 - - &340 + - &341 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -46910,7 +47213,7 @@ paths: application/json: schema: type: array - items: &602 + items: &603 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -47020,7 +47323,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *339 + items: *340 url: type: string format: uri @@ -47033,7 +47336,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &603 + default: &604 value: - id: 21 number: 42 @@ -47125,7 +47428,7 @@ paths: - *103 - *104 - *105 - - *340 + - *341 - *17 - *19 responses: @@ -47135,7 +47438,7 @@ paths: application/json: schema: type: array - items: &604 + items: &605 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -47262,7 +47565,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &605 + default: &606 value: - id: 21 number: 42 @@ -47350,7 +47653,7 @@ paths: application/json: schema: type: array - items: &385 + items: &386 title: Package description: A software package type: object @@ -47421,7 +47724,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &387 value: - id: 197 name: hello_docker @@ -47608,7 +47911,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -47698,7 +48001,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &450 + default: &451 value: group_id: '123' group_name: Octocat admins @@ -47753,7 +48056,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &447 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -47793,7 +48096,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &447 + default: &448 value: groups: - group_id: '123' @@ -47838,7 +48141,7 @@ paths: application/json: schema: type: array - items: &364 + items: &365 title: Organization Invitation description: Organization Invitation type: object @@ -47892,7 +48195,7 @@ paths: - invitation_teams_url - node_id examples: - default: &365 + default: &366 value: - id: 1 login: monalisa @@ -47959,7 +48262,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -47973,7 +48276,7 @@ paths: - name - description examples: - default: &417 + default: &418 value: - name: add_assignee description: Assign or remove a user @@ -48014,7 +48317,7 @@ paths: application/json: schema: type: array - items: &341 + items: &342 title: Org Hook description: Org Hook type: object @@ -48197,9 +48500,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: &342 + default: &343 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -48244,7 +48547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &343 + - &344 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -48257,9 +48560,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: - default: *342 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -48281,7 +48584,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *343 + - *344 requestBody: required: false content: @@ -48327,7 +48630,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -48367,7 +48670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *343 + - *344 responses: '204': description: Response @@ -48393,7 +48696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *343 + - *344 responses: '200': description: Response @@ -48422,7 +48725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *343 + - *344 requestBody: required: false content: @@ -48471,9 +48774,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *343 - - *17 - *344 + - *17 + - *345 responses: '200': description: Response @@ -48481,9 +48784,9 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *346 + default: *347 '400': *14 '422': *15 x-github: @@ -48507,16 +48810,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *343 + - *344 - *16 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 '400': *14 '422': *15 x-github: @@ -48540,7 +48843,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *343 + - *344 - *16 responses: '202': *37 @@ -48567,7 +48870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *343 + - *344 responses: '204': description: Response @@ -48590,7 +48893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &353 + - &354 name: actor_type in: path description: The type of the actor @@ -48603,14 +48906,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &354 + - &355 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &349 + - &350 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -48618,7 +48921,7 @@ paths: required: true schema: type: string - - &350 + - &351 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -48713,12 +49016,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *349 - *350 + - *351 - *19 - *17 - *110 - - &359 + - &360 name: sort description: The property to sort the results by. in: query @@ -48797,14 +49100,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *349 - *350 + - *351 responses: '200': description: Response content: application/json: - schema: &351 + schema: &352 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -48820,7 +49123,7 @@ paths: type: integer format: int64 examples: - default: &352 + default: &353 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -48841,23 +49144,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &355 + - &356 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *349 - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: enabledForGitHubApps: true category: orgs @@ -48876,18 +49179,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *349 - *350 - - *353 + - *351 - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *351 + schema: *352 examples: - default: *352 + default: *353 x-github: enabledForGitHubApps: true category: orgs @@ -48905,9 +49208,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *349 - *350 - - &356 + - *351 + - &357 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -48920,7 +49223,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &358 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -48936,7 +49239,7 @@ paths: type: integer format: int64 examples: - default: &358 + default: &359 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -48973,18 +49276,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *355 - - *349 - - *350 - *356 + - *350 + - *351 + - *357 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: enabledForGitHubApps: true category: orgs @@ -49002,19 +49305,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *353 - *354 - - *349 + - *355 - *350 - - *356 + - *351 + - *357 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: enabledForGitHubApps: true category: orgs @@ -49032,13 +49335,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *355 - - *349 + - *356 - *350 + - *351 - *19 - *17 - *110 - - *359 + - *360 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -49122,7 +49425,7 @@ paths: application/json: schema: *20 examples: - default: *360 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -49242,12 +49545,12 @@ paths: application/json: schema: anyOf: - - &362 + - &363 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &361 + limit: &362 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -49275,7 +49578,7 @@ paths: properties: {} additionalProperties: false examples: - default: &363 + default: &364 value: limit: collaborators_only origin: organization @@ -49304,13 +49607,13 @@ paths: required: true content: application/json: - schema: &636 + schema: &637 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *361 + limit: *362 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -49335,9 +49638,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '422': *15 x-github: githubCloudOnly: false @@ -49415,9 +49718,9 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 '404': *6 @@ -49495,7 +49798,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *365 examples: default: value: @@ -49552,7 +49855,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &366 + - &367 name: invitation_id description: The unique identifier of the invitation. in: path @@ -49586,7 +49889,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *366 + - *367 - *17 - *19 responses: @@ -49598,7 +49901,7 @@ paths: type: array items: *308 examples: - default: &384 + default: &385 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -49641,7 +49944,7 @@ paths: application/json: schema: type: array - items: &367 + items: &368 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -49884,9 +50187,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &368 + default: &369 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -49942,7 +50245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &369 + - &370 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -50043,9 +50346,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *368 + default: *369 '404': *6 '422': *7 x-github: @@ -50070,7 +50373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *369 + - *370 responses: '204': *151 '404': *6 @@ -50100,7 +50403,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -50188,9 +50491,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -50223,7 +50526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &372 + - &373 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -50279,9 +50582,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 '422': *7 x-github: @@ -50306,7 +50609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *372 + - *373 responses: '204': description: Response @@ -50369,7 +50672,7 @@ paths: - closed - all default: open - - *373 + - *374 - name: type description: Can be the name of an issue type. in: query @@ -50400,7 +50703,7 @@ paths: type: array items: *219 examples: - default: *374 + default: *375 headers: Link: *45 '404': *6 @@ -50565,9 +50868,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 '304': *35 '500': *38 '401': *23 @@ -50594,7 +50897,7 @@ paths: parameters: - *87 - *139 - - &377 + - &378 name: codespace_name in: path required: true @@ -50629,15 +50932,15 @@ paths: parameters: - *87 - *139 - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &555 + default: &556 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -50893,7 +51196,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &379 title: Org Membership description: Org Membership type: object @@ -50962,7 +51265,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &379 + response-if-user-has-an-active-admin-membership-with-organization: &380 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -51063,9 +51366,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: - response-if-user-already-had-membership-with-organization: *379 + response-if-user-already-had-membership-with-organization: *380 '422': *15 '403': *27 x-github: @@ -51143,7 +51446,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Migration description: A migration. type: object @@ -51492,7 +51795,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -51671,7 +51974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &381 + - &382 name: migration_id description: The unique identifier of the migration. in: path @@ -51699,7 +52002,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -51869,7 +52172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *381 + - *382 responses: '302': description: Response @@ -51891,7 +52194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *381 + - *382 responses: '204': description: Response @@ -51915,7 +52218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *381 + - *382 - &800 name: repo_name description: repo_name parameter @@ -51944,7 +52247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *381 + - *382 - *17 - *19 responses: @@ -51956,7 +52259,7 @@ paths: type: array items: *279 examples: - default: &391 + default: &392 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52185,7 +52488,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &382 + items: &383 title: Organization Role description: Organization roles type: object @@ -52394,7 +52697,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52624,7 +52927,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52721,7 +53024,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52880,7 +53183,7 @@ paths: parent: anyOf: - type: 'null' - - *383 + - *384 type: description: The ownership type of the team type: string @@ -52913,7 +53216,7 @@ paths: - type - parent examples: - default: *384 + default: *385 headers: Link: *45 '404': @@ -52972,7 +53275,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *383 + items: *384 name: type: - string @@ -53318,9 +53621,9 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 '403': *27 '401': *23 '400': &803 @@ -53345,7 +53648,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &387 + - &388 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -53363,7 +53666,7 @@ paths: - docker - nuget - container - - &388 + - &389 name: package_name description: The name of the package. in: path @@ -53376,7 +53679,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -53428,8 +53731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *387 - *388 + - *389 - *87 responses: '204': @@ -53462,8 +53765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - name: token description: package token @@ -53496,8 +53799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *387 - *388 + - *389 - *87 - *19 - *17 @@ -53518,7 +53821,7 @@ paths: application/json: schema: type: array - items: &389 + items: &390 title: Package Version description: A version of a software package type: object @@ -53653,10 +53956,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - &390 + - &391 name: package_version_id description: Unique identifier of the package version. in: path @@ -53668,7 +53971,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -53704,10 +54007,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - *390 + - *391 responses: '204': description: Response @@ -53739,10 +54042,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *387 - *388 + - *389 - *87 - - *390 + - *391 responses: '204': description: Response @@ -53772,7 +54075,7 @@ paths: - *87 - *17 - *19 - - &392 + - &393 name: sort description: The property by which to sort the results. in: query @@ -53783,7 +54086,7 @@ paths: - created_at default: created_at - *110 - - &393 + - &394 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -53795,7 +54098,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &394 + - &395 name: repository description: The name of the repository to use to filter the results. in: query @@ -53804,7 +54107,7 @@ paths: type: string examples: - Hello-World - - &395 + - &396 name: permission description: The permission to use to filter the results. in: query @@ -53813,7 +54116,7 @@ paths: type: string examples: - issues_read - - &396 + - &397 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -53823,7 +54126,7 @@ paths: schema: type: string format: date-time - - &397 + - &398 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -53833,7 +54136,7 @@ paths: schema: type: string format: date-time - - &398 + - &399 name: token_id description: The ID of the token in: query @@ -54152,7 +54455,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -54178,14 +54481,14 @@ paths: - *87 - *17 - *19 - - *392 - - *110 - *393 + - *110 - *394 - *395 - *396 - *397 - *398 + - *399 responses: '500': *38 '422': *15 @@ -54469,7 +54772,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -54511,7 +54814,7 @@ paths: type: integer configurations: type: array - items: &399 + items: &400 title: Organization private registry description: Private registry configuration for an organization type: object @@ -54807,7 +55110,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &400 + org-private-registry-with-selected-visibility: &401 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -54905,9 +55208,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -55075,7 +55378,7 @@ paths: application/json: schema: type: array - items: &401 + items: &402 title: Projects v2 Project description: A projects v2 project type: object @@ -55234,7 +55537,7 @@ paths: - deleted_at - deleted_by examples: - default: &402 + default: &403 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -55337,7 +55640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &403 + - &404 name: project_number description: The project's number. in: path @@ -55350,9 +55653,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -55375,7 +55678,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true description: Details of the draft item to create in the project. @@ -55409,7 +55712,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &409 title: Projects v2 Item description: An item belonging to a project type: object @@ -55423,7 +55726,7 @@ paths: content: oneOf: - *219 - - &570 + - &571 title: Pull Request Simple description: Pull Request Simple type: object @@ -55543,7 +55846,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 active_lock_reason: type: - string @@ -55636,7 +55939,7 @@ paths: _links: type: object properties: - comments: &405 + comments: &406 title: Link description: Hypermedia Link type: object @@ -55645,13 +55948,13 @@ paths: type: string required: - href - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + commits: *406 + statuses: *406 + html: *406 + issue: *406 + review_comments: *406 + review_comment: *406 + self: *406 required: - comments - commits @@ -55662,7 +55965,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: &683 + auto_merge: &684 title: Auto merge description: The status of auto merging a pull request. type: @@ -55836,7 +56139,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &407 + content_type: &408 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -55880,7 +56183,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &409 + draft_issue: &410 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -55954,7 +56257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *403 + - *404 - *87 - *17 - *108 @@ -55966,7 +56269,7 @@ paths: application/json: schema: type: array - items: &406 + items: &407 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -56249,7 +56552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *403 + - *404 - *87 requestBody: required: true @@ -56434,7 +56737,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *406 + schema: *407 examples: text_field: &827 value: @@ -56542,7 +56845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *403 + - *404 - &832 name: field_id description: The unique identifier of the field. @@ -56556,7 +56859,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: &833 value: @@ -56614,7 +56917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *403 + - *404 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -56647,7 +56950,7 @@ paths: application/json: schema: type: array - items: &410 + items: &411 title: Projects v2 Item description: An item belonging to a project type: object @@ -56664,7 +56967,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *407 + content_type: *408 content: type: - object @@ -56714,7 +57017,7 @@ paths: - updated_at - archived_at examples: - default: &411 + default: &412 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -57412,7 +57715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -57482,22 +57785,22 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *409 + value: *410 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *409 + value: *410 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *409 + value: *410 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *409 + value: *410 '304': *35 '403': *27 '401': *23 @@ -57517,9 +57820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *403 + - *404 - *87 - - &412 + - &413 name: item_id description: The unique identifier of the project item. in: path @@ -57545,9 +57848,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -57568,9 +57871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *403 + - *404 - *87 - - *412 + - *413 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -57643,13 +57946,13 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - text_field: *411 - number_field: *411 - date_field: *411 - single_select_field: *411 - iteration_field: *411 + text_field: *412 + number_field: *412 + date_field: *412 + single_select_field: *412 + iteration_field: *412 '401': *23 '403': *27 '404': *6 @@ -57669,9 +57972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *403 + - *404 - *87 - - *412 + - *413 responses: '204': description: Response @@ -57695,7 +57998,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *403 + - *404 requestBody: required: true content: @@ -57873,7 +58176,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &413 + value: &414 value: id: 1 number: 1 @@ -57919,10 +58222,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *413 + value: *414 roadmap_view: summary: Response for creating a roadmap view - value: *413 + value: *414 '304': *35 '403': *27 '401': *23 @@ -57950,7 +58253,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view parameters: - - *403 + - *404 - *87 - &834 name: view_number @@ -57984,9 +58287,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -58150,7 +58453,7 @@ paths: required: true content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -58518,7 +58821,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -58722,7 +59025,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: Full Repository description: Full Repository type: object @@ -59204,7 +59507,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &575 + code_of_conduct: &576 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -59234,7 +59537,7 @@ paths: - key - name - html_url - security_and_analysis: *415 + security_and_analysis: *416 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -59329,7 +59632,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &459 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -59861,9 +60164,9 @@ paths: application/json: schema: type: array - items: *416 + items: *417 examples: - default: *417 + default: *418 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59888,7 +60191,7 @@ paths: - *87 - *17 - *19 - - &705 + - &706 name: targets description: | A comma-separated list of rule targets to filter by. @@ -59980,11 +60283,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *418 + conditions: *419 rules: type: array description: An array of rules within the ruleset. - items: &420 + items: &421 title: Repository Rule type: object description: A repository rule. @@ -60049,7 +60352,7 @@ paths: application/json: schema: *187 examples: - default: &419 + default: &420 value: id: 21 name: super cool ruleset @@ -60105,7 +60408,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &707 + - &708 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 @@ -60117,14 +60420,14 @@ paths: x-multi-segment: true - *305 - *105 - - &708 + - &709 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 - - &709 + - &710 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -60144,7 +60447,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &711 title: Rule Suites description: Response type: array @@ -60200,7 +60503,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &711 + default: &712 value: - id: 21 actor_id: 12 @@ -60244,7 +60547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &712 + - &713 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -60260,7 +60563,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &714 title: Rule Suite description: Response type: object @@ -60367,7 +60670,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &714 + default: &715 value: id: 21 actor_id: 12 @@ -60442,7 +60745,7 @@ paths: application/json: schema: *187 examples: - default: *419 + default: *420 '404': *6 '500': *38 put: @@ -60491,11 +60794,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *418 + conditions: *419 rules: description: An array of rules within the ruleset. type: array - items: *420 + items: *421 examples: default: value: @@ -60532,7 +60835,7 @@ paths: application/json: schema: *187 examples: - default: *419 + default: *420 '404': *6 '422': *15 '500': *38 @@ -60592,7 +60895,7 @@ paths: type: array items: *191 examples: - default: *421 + default: *422 '404': *6 '500': *38 x-github: @@ -60629,7 +60932,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -60692,15 +60995,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *423 - *424 - *425 - *426 - *427 + - *428 - *110 - *19 - *17 - - &716 + - &717 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 @@ -60710,7 +61013,7 @@ paths: required: false schema: type: string - - &717 + - &718 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 @@ -60720,10 +61023,10 @@ paths: required: false schema: type: string - - *428 - *429 - *430 - *431 + - *432 responses: '200': description: Response @@ -60731,9 +61034,9 @@ paths: application/json: schema: type: array - items: *432 + items: *433 examples: - default: *433 + default: *434 headers: Link: *45 '404': *6 @@ -60768,9 +61071,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '403': *27 '404': *6 patch: @@ -60923,7 +61226,7 @@ paths: application/json: schema: type: array - items: &738 + items: &739 description: A repository security advisory. type: object properties: @@ -61167,7 +61470,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 credits_detailed: type: - array @@ -61178,7 +61481,7 @@ paths: type: object properties: user: *4 - type: *436 + type: *437 state: type: string description: The state of the user's acceptance of the @@ -61274,7 +61577,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &739 + default: &740 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -61661,7 +61964,7 @@ paths: application/json: schema: type: array - items: *383 + items: *384 examples: default: value: @@ -61760,7 +62063,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *437 + - *438 - *17 - *19 responses: @@ -61768,9 +62071,9 @@ paths: description: Success content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -62053,7 +62356,7 @@ paths: type: array items: *144 examples: - default: *440 + default: *441 headers: Link: *45 x-github: @@ -62256,15 +62559,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *441 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *443 + default: *444 headers: Link: *45 x-github: @@ -62302,7 +62605,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &455 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -62354,7 +62657,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &455 + default: &456 value: groups: - group_id: '123' @@ -62480,7 +62783,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 headers: Link: *45 '403': *27 @@ -62574,7 +62877,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &445 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -62648,7 +62951,7 @@ paths: parent: anyOf: - type: 'null' - - *383 + - *384 members_count: type: integer examples: @@ -62973,7 +63276,7 @@ paths: - repos_count - organization examples: - default: &445 + default: &446 value: id: 1 node_id: MDQ6VGVhbTE= @@ -63061,9 +63364,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -63148,16 +63451,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '201': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 '422': *15 '403': *27 @@ -63187,7 +63490,7 @@ paths: responses: '204': description: Response - '422': &448 + '422': &449 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -63216,10 +63519,10 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: - default: *447 - '422': *448 + default: *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -63263,10 +63566,10 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 - '422': *448 + default: *451 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -63290,7 +63593,7 @@ paths: responses: '204': description: Response - '422': *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -63322,12 +63625,12 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 - '422': *448 + '422': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63409,7 +63712,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: Team Membership description: Team Membership type: object @@ -63437,7 +63740,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &781 + response-if-user-is-a-team-maintainer: &782 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -63500,9 +63803,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-users-membership-with-team-is-now-pending: &782 + response-if-users-membership-with-team-is-now-pending: &783 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -63578,7 +63881,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -63609,14 +63912,14 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &784 title: Team Repository description: A team's access to a repository. type: object @@ -64338,8 +64641,8 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 requestBody: required: false content: @@ -64386,8 +64689,8 @@ paths: parameters: - *87 - *214 - - *452 - *453 + - *454 responses: '204': description: Response @@ -64420,10 +64723,10 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 - '422': *448 + default: *456 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -64489,7 +64792,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -64501,7 +64804,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *448 + '422': *449 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -64535,7 +64838,7 @@ paths: type: array items: *308 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &785 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -64689,7 +64992,7 @@ paths: resources: type: object properties: - core: &456 + core: &457 title: Rate Limit type: object properties: @@ -64706,21 +65009,21 @@ paths: - remaining - reset - used - graphql: *456 - search: *456 - code_search: *456 - source_import: *456 - integration_manifest: *456 - code_scanning_upload: *456 - actions_runner_registration: *456 - scim: *456 - dependency_snapshots: *456 - dependency_sbom: *456 - code_scanning_autofix: *456 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search - rate: *456 + rate: *457 required: - rate - resources @@ -64833,14 +65136,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: default-response: summary: Default response @@ -65349,7 +65652,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *458 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65367,8 +65670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -65670,10 +65973,10 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 - '307': &460 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -65702,8 +66005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -65725,7 +66028,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': *460 + '307': *461 '404': *6 '409': *119 x-github: @@ -65749,11 +66052,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 - - &477 + - &478 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -65776,7 +66079,7 @@ paths: type: integer artifacts: type: array - items: &461 + items: &462 title: Artifact description: An artifact type: object @@ -65871,7 +66174,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &479 value: total_count: 2 artifacts: @@ -65932,9 +66235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *452 - *453 - - &462 + - *454 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -65946,7 +66249,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -65984,9 +66287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *452 - *453 - - *462 + - *454 + - *463 responses: '204': description: Response @@ -66010,9 +66313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *452 - *453 - - *462 + - *454 + - *463 - name: archive_format in: path required: true @@ -66026,7 +66329,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': &639 + '410': &640 description: Gone content: application/json: @@ -66051,14 +66354,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -66092,13 +66395,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *463 + schema: *464 examples: selected_actions: *42 responses: @@ -66127,14 +66430,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &464 + schema: &465 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -66168,13 +66471,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *464 + schema: *465 examples: selected_actions: *44 responses: @@ -66205,14 +66508,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: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -66238,11 +66541,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: - - *452 - *453 + - *454 - *17 - *19 - - &466 + - &467 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 @@ -66276,7 +66579,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &468 title: Repository actions caches description: Repository actions caches type: object @@ -66326,7 +66629,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &469 value: total_count: 1 actions_caches: @@ -66358,23 +66661,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: - - *452 - *453 + - *454 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66394,8 +66697,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: - - *452 - *453 + - *454 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -66426,9 +66729,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: - - *452 - *453 - - &469 + - *454 + - &470 name: job_id description: The unique identifier of the job. in: path @@ -66440,7 +66743,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: Job description: Information of a job execution in a workflow run type: object @@ -66787,9 +67090,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: - - *452 - *453 - - *469 + - *454 + - *470 responses: '302': description: Response @@ -66817,9 +67120,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: - - *452 - *453 - - *469 + - *454 + - *470 requestBody: required: false content: @@ -66865,8 +67168,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: - - *452 - *453 + - *454 responses: '200': description: Status response @@ -66916,8 +67219,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -66980,8 +67283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -66999,7 +67302,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -67020,7 +67323,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &485 value: total_count: 2 secrets: @@ -67053,9 +67356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *452 - *453 - - *470 + - *454 + - *471 - *19 responses: '200': @@ -67072,7 +67375,7 @@ paths: type: integer variables: type: array - items: &487 + items: &488 title: Actions Variable type: object properties: @@ -67106,7 +67409,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 variables: @@ -67139,8 +67442,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67149,7 +67452,7 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &472 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -67184,8 +67487,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -67196,7 +67499,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *472 allowed_actions: *60 sha_pinning_required: *61 required: @@ -67229,14 +67532,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: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &472 + schema: &473 type: object properties: access_level: @@ -67254,7 +67557,7 @@ paths: required: - access_level examples: - default: &473 + default: &474 value: access_level: organization x-github: @@ -67279,15 +67582,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: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 responses: '204': description: Response @@ -67311,8 +67614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67342,8 +67645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Empty response for successful settings update @@ -67377,8 +67680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67405,8 +67708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -67440,8 +67743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67469,8 +67772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -67501,8 +67804,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67533,8 +67836,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -67566,8 +67869,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67596,8 +67899,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: - - *452 - *453 + - *454 responses: '204': description: Success response @@ -67637,8 +67940,8 @@ paths: in: query schema: type: string - - *452 - *453 + - *454 - *17 - *19 responses: @@ -67682,8 +67985,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -67715,8 +68018,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -67790,8 +68093,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: - - *452 - *453 + - *454 responses: '201': description: Response @@ -67827,8 +68130,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: - - *452 - *453 + - *454 responses: '201': description: Response @@ -67858,8 +68161,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: - - *452 - *453 + - *454 - *75 responses: '200': @@ -67889,8 +68192,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: - - *452 - *453 + - *454 - *75 responses: '204': @@ -67917,8 +68220,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: - - *452 - *453 + - *454 - *75 responses: '200': *81 @@ -67943,8 +68246,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: - - *452 - *453 + - *454 - *75 requestBody: required: true @@ -67993,8 +68296,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: - - *452 - *453 + - *454 - *75 requestBody: required: true @@ -68044,8 +68347,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: - - *452 - *453 + - *454 - *75 responses: '200': *286 @@ -68075,8 +68378,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: - - *452 - *453 + - *454 - *75 - *287 responses: @@ -68106,9 +68409,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: - - *452 - *453 - - &491 + - *454 + - &492 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. @@ -68116,7 +68419,7 @@ paths: required: false schema: type: string - - &492 + - &493 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -68124,7 +68427,7 @@ paths: required: false schema: type: string - - &493 + - &494 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -68133,7 +68436,7 @@ paths: required: false schema: type: string - - &494 + - &495 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 @@ -68160,7 +68463,7 @@ paths: - pending - *17 - *19 - - &495 + - &496 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)." @@ -68169,7 +68472,7 @@ paths: schema: type: string format: date-time - - &474 + - &475 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -68178,13 +68481,13 @@ paths: schema: type: boolean default: false - - &496 + - &497 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &498 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -68207,7 +68510,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &476 title: Workflow Run description: An invocation of a workflow type: object @@ -68385,7 +68688,7 @@ paths: head_commit: anyOf: - type: 'null' - - &519 + - &520 title: Simple Commit description: A commit. type: object @@ -68500,7 +68803,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &499 value: total_count: 1 workflow_runs: @@ -68736,24 +69039,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *452 - *453 - - &476 + - *454 + - &477 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &479 + default: &480 value: id: 30433642 name: Build @@ -68994,9 +69297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '204': description: Response @@ -69019,9 +69322,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -69149,9 +69452,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '201': description: Response @@ -69184,12 +69487,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *452 - *453 - - *476 + - *454 + - *477 - *17 - *19 - - *477 + - *478 - *110 responses: '200': @@ -69206,9 +69509,9 @@ paths: type: integer artifacts: type: array - items: *461 + items: *462 examples: - default: *478 + default: *479 headers: Link: *45 x-github: @@ -69232,25 +69535,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *452 - *453 - - *476 - - &480 + - *454 + - *477 + - &481 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69273,10 +69576,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: - - *452 - *453 - - *476 - - *480 + - *454 + - *477 + - *481 - *17 - *19 responses: @@ -69294,9 +69597,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *482 examples: - default: &482 + default: &483 value: total_count: 1 jobs: @@ -69409,10 +69712,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *452 - *453 - - *476 - - *480 + - *454 + - *477 + - *481 responses: '302': description: Response @@ -69440,9 +69743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '202': description: Response @@ -69475,9 +69778,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: true content: @@ -69544,9 +69847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '202': description: Response @@ -69579,9 +69882,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: - - *452 - *453 - - *476 + - *454 + - *477 - 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 @@ -69611,9 +69914,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *482 examples: - default: *482 + default: *483 headers: Link: *45 x-github: @@ -69638,9 +69941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '302': description: Response @@ -69667,9 +69970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '204': description: Response @@ -69696,9 +69999,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: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -69767,7 +70070,7 @@ paths: items: type: object properties: - type: &606 + type: &607 type: string description: The type of reviewer. enum: @@ -69853,9 +70156,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: true content: @@ -69905,7 +70208,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -70017,7 +70320,7 @@ paths: - created_at - updated_at examples: - default: &592 + default: &593 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -70073,9 +70376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: false content: @@ -70120,9 +70423,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: - - *452 - *453 - - *476 + - *454 + - *477 requestBody: required: false content: @@ -70177,9 +70480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *452 - *453 - - *476 + - *454 + - *477 responses: '200': description: Response @@ -70316,8 +70619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -70335,9 +70638,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *484 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -70362,16 +70665,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70393,17 +70696,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &619 + default: &620 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -70429,8 +70732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -70488,8 +70791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -70515,9 +70818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *452 - *453 - - *470 + - *454 + - *471 - *19 responses: '200': @@ -70534,9 +70837,9 @@ paths: type: integer variables: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *45 x-github: @@ -70559,8 +70862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -70612,17 +70915,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &620 + default: &621 value: name: USERNAME value: octocat @@ -70648,8 +70951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 requestBody: required: true @@ -70692,8 +70995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *452 - *453 + - *454 - *292 responses: '204': @@ -70719,8 +71022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -70738,7 +71041,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &490 title: Workflow description: A GitHub Actions workflow type: object @@ -70856,9 +71159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *452 - *453 - - &490 + - *454 + - &491 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -70873,7 +71176,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -70906,9 +71209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Response @@ -70933,9 +71236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -71030,9 +71333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '204': description: Response @@ -71059,19 +71362,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: - - *452 - *453 - - *490 + - *454 - *491 - *492 - *493 - *494 + - *495 - *17 - *19 - - *495 - - *474 - *496 + - *475 - *497 + - *498 responses: '200': description: Response @@ -71087,9 +71390,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *476 examples: - default: *498 + default: *499 headers: Link: *45 x-github: @@ -71122,9 +71425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *452 - *453 - - *490 + - *454 + - *491 responses: '200': description: Response @@ -71185,8 +71488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *452 - *453 + - *454 - *110 - *17 - *108 @@ -71354,8 +71657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -71392,8 +71695,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: - - *452 - *453 + - *454 - name: assignee in: path required: true @@ -71429,8 +71732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -71542,8 +71845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *452 - *453 + - *454 - *17 - *108 - *109 @@ -71600,7 +71903,7 @@ paths: initiator: type: string examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71634,8 +71937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -71643,7 +71946,7 @@ paths: application/json: schema: type: array - items: &500 + items: &501 title: Autolink reference description: An autolink reference. type: object @@ -71702,8 +72005,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -71742,9 +72045,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 key_prefix: TICKET- @@ -71775,9 +72078,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: - - *452 - *453 - - &502 + - *454 + - &503 name: autolink_id description: The unique identifier of the autolink. in: path @@ -71789,9 +72092,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '404': *6 x-github: githubCloudOnly: false @@ -71811,9 +72114,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: - - *452 - *453 - - *502 + - *454 + - *503 responses: '204': description: Response @@ -71837,8 +72140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response if Dependabot is enabled @@ -71888,8 +72191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -71910,8 +72213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -71931,8 +72234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *452 - *453 + - *454 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -71970,7 +72273,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &505 title: Branch Protection description: Branch Protection type: object @@ -72013,7 +72316,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &508 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -72030,7 +72333,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &510 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -72114,7 +72417,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &507 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -72407,9 +72710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *452 - *453 - - &505 + - *454 + - &506 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). @@ -72423,14 +72726,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &566 + commit: &567 title: Commit description: Commit type: object @@ -72469,7 +72772,7 @@ paths: author: anyOf: - type: 'null' - - &503 + - &504 title: Git User description: Metaproperties for Git author/committer information. @@ -72491,7 +72794,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 message: type: string examples: @@ -72515,7 +72818,7 @@ paths: required: - sha - url - verification: &626 + verification: &627 title: Verification type: object properties: @@ -72595,7 +72898,7 @@ paths: type: integer files: type: array - items: &577 + items: &578 title: Diff Entry description: Diff Entry type: object @@ -72691,7 +72994,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *505 protection_url: type: string format: uri @@ -72800,7 +73103,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *458 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -72822,15 +73125,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: default: value: @@ -73024,9 +73327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -73286,7 +73589,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &513 title: Status Check Policy description: Status Check Policy type: object @@ -73445,7 +73748,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *507 required_conversation_resolution: type: object properties: @@ -73557,9 +73860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73584,17 +73887,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -73616,17 +73919,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73645,9 +73948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73672,17 +73975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: &510 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -73778,9 +74081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -73878,9 +74181,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 '422': *15 x-github: githubCloudOnly: false @@ -73901,9 +74204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -73930,17 +74233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &511 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -73963,17 +74266,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -73993,9 +74296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -74020,17 +74323,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -74056,9 +74359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74110,9 +74413,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *513 + default: *514 '404': *6 '422': *15 x-github: @@ -74134,9 +74437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -74160,9 +74463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -74196,9 +74499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74265,9 +74568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74331,9 +74634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: content: application/json: @@ -74399,15 +74702,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -74498,9 +74801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 responses: '204': description: Response @@ -74523,9 +74826,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -74535,7 +74838,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &515 value: - id: 1 slug: octoapp @@ -74592,9 +74895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74628,7 +74931,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -74649,9 +74952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74685,7 +74988,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -74706,9 +75009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -74742,7 +75045,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -74764,9 +75067,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -74776,7 +75079,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -74796,9 +75099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74836,7 +75139,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -74857,9 +75160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: false content: @@ -74897,7 +75200,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -74918,9 +75221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: content: application/json: @@ -74957,7 +75260,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -74979,9 +75282,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: - - *452 - *453 - - *505 + - *454 + - *506 responses: '200': description: Response @@ -75015,9 +75318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -75075,9 +75378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -75135,9 +75438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -75197,9 +75500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *452 - *453 - - *505 + - *454 + - *506 requestBody: required: true content: @@ -75221,7 +75524,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: default: value: @@ -75335,8 +75638,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 @@ -75372,8 +75675,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -75446,8 +75749,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 @@ -75487,8 +75790,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -75558,8 +75861,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_request_number in: path required: true @@ -75630,8 +75933,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *452 - *453 + - *454 - name: bypass_response_id in: path required: true @@ -75664,8 +75967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -75944,7 +76247,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 title: CheckRun description: A check performed on the code of a given code change type: object @@ -76367,9 +76670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *452 - *453 - - &517 + - *454 + - &518 name: check_run_id description: The unique identifier of the check run. in: path @@ -76381,9 +76684,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &518 + default: &519 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -76483,9 +76786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *452 - *453 - - *517 + - *454 + - *518 requestBody: required: true content: @@ -76725,9 +77028,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76747,9 +77050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *452 - *453 - - *517 + - *454 + - *518 - *17 - *19 responses: @@ -76859,9 +77162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *452 - *453 - - *517 + - *454 + - *518 responses: '201': description: Response @@ -76905,8 +77208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -76928,7 +77231,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &520 + schema: &521 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -77026,7 +77329,7 @@ paths: - string - 'null' format: date-time - head_commit: *519 + head_commit: *520 latest_check_runs_count: type: integer check_runs_url: @@ -77054,7 +77357,7 @@ paths: - check_runs_url - pull_requests examples: - default: &521 + default: &522 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -77345,9 +77648,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77366,8 +77669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -77676,9 +77979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *452 - *453 - - &522 + - *454 + - &523 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -77690,9 +77993,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77715,17 +78018,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: - - *452 - *453 - - *522 - - &572 + - *454 + - *523 + - &573 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &573 + - &574 name: status description: Returns check runs with the specified `status`. in: query @@ -77764,9 +78067,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *517 examples: - default: &574 + default: &575 value: total_count: 1 check_runs: @@ -77868,9 +78171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *452 - *453 - - *522 + - *454 + - *523 responses: '201': description: Response @@ -77903,21 +78206,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: - - *452 - *453 + - *454 - *312 - *313 - *19 - *17 - - &538 + - &539 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: *523 - - &539 + schema: *524 + - &540 name: pr description: The number of the pull request for the results you want to list. in: query @@ -77948,7 +78251,7 @@ paths: be returned. in: query required: false - schema: *524 + schema: *525 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -77972,7 +78275,7 @@ paths: updated_at: *134 url: *131 html_url: *132 - instances_url: *525 + instances_url: *526 state: *113 fixed_at: *136 dismissed_by: @@ -77980,11 +78283,11 @@ paths: - type: 'null' - *4 dismissed_at: *135 - dismissed_reason: *526 - dismissed_comment: *527 - rule: *528 - tool: *529 - most_recent_instance: *530 + dismissed_reason: *527 + dismissed_comment: *528 + rule: *529 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: anyOf: - type: 'null' @@ -78107,7 +78410,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &531 + '403': &532 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -78134,9 +78437,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: - - *452 - *453 - - &532 + - *454 + - &533 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -78150,7 +78453,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 type: object properties: number: *126 @@ -78158,7 +78461,7 @@ paths: updated_at: *134 url: *131 html_url: *132 - instances_url: *525 + instances_url: *526 state: *113 fixed_at: *136 dismissed_by: @@ -78166,8 +78469,8 @@ paths: - type: 'null' - *4 dismissed_at: *135 - dismissed_reason: *526 - dismissed_comment: *527 + dismissed_reason: *527 + dismissed_comment: *528 rule: type: object properties: @@ -78229,8 +78532,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *529 - most_recent_instance: *530 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: anyOf: - type: 'null' @@ -78326,7 +78629,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78346,9 +78649,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: true content: @@ -78363,8 +78666,8 @@ paths: enum: - open - dismissed - dismissed_reason: *526 - dismissed_comment: *527 + dismissed_reason: *527 + dismissed_comment: *528 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -78392,7 +78695,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -78468,7 +78771,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &537 + '403': &538 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -78495,15 +78798,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: - - *452 - *453 - - *532 + - *454 + - *533 responses: '200': description: Response content: application/json: - schema: &534 + schema: &535 type: object properties: status: @@ -78530,13 +78833,13 @@ paths: - description - started_at examples: - default: &535 + default: &536 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &536 + '400': &537 description: Bad Request content: application/json: @@ -78547,7 +78850,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': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78572,29 +78875,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: - - *452 - *453 - - *532 + - *454 + - *533 responses: '200': description: OK content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '202': description: Accepted content: application/json: - schema: *534 + schema: *535 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *536 + '400': *537 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -78626,9 +78929,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: false content: @@ -78674,8 +78977,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *536 - '403': *537 + '400': *537 + '403': *538 '404': *6 '422': description: Unprocessable Entity @@ -78699,13 +79002,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: - - *452 - *453 - - *532 + - *454 + - *533 - *19 - *17 - - *538 - *539 + - *540 responses: '200': description: Response @@ -78716,10 +79019,10 @@ paths: items: type: object properties: - ref: *523 - analysis_key: *540 - environment: *541 - category: *542 + ref: *524 + analysis_key: *541 + environment: *542 + category: *543 state: type: - string @@ -78736,7 +79039,7 @@ paths: properties: text: type: string - location: *543 + location: *544 html_url: type: string classifications: @@ -78744,7 +79047,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *544 + items: *545 examples: default: value: @@ -78781,7 +79084,7 @@ paths: end_column: 50 classifications: - source - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78815,25 +79118,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: - - *452 - *453 + - *454 - *312 - *313 - *19 - *17 - - *539 + - *540 - 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: *523 + schema: *524 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &545 + schema: &546 type: string description: An identifier for the upload. examples: @@ -78855,23 +79158,23 @@ paths: application/json: schema: type: array - items: &546 + items: &547 type: object properties: - ref: *523 - commit_sha: &554 + ref: *524 + commit_sha: &555 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: *540 + analysis_key: *541 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *543 error: type: string examples: @@ -78896,8 +79199,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *545 - tool: *529 + sarif_id: *546 + tool: *530 deletable: type: boolean warning: @@ -78959,7 +79262,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -78995,8 +79298,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: - - *452 - *453 + - *454 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -79009,7 +79312,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: response: summary: application/json response @@ -79063,7 +79366,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *531 + '403': *532 '404': *6 '422': description: Response if analysis could not be processed @@ -79150,8 +79453,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: - - *452 - *453 + - *454 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -79207,7 +79510,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': *537 + '403': *538 '404': *6 '503': *192 x-github: @@ -79229,8 +79532,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -79238,7 +79541,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: CodeQL Database description: A CodeQL database. type: object @@ -79350,7 +79653,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': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -79379,8 +79682,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: - - *452 - *453 + - *454 - name: language in: path description: The language of the CodeQL database. @@ -79392,7 +79695,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -79424,9 +79727,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': &579 + '302': &580 description: Found - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -79448,8 +79751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *452 - *453 + - *454 - name: language in: path description: The language of the CodeQL database. @@ -79459,7 +79762,7 @@ paths: responses: '204': description: Response - '403': *537 + '403': *538 '404': *6 '503': *192 x-github: @@ -79487,8 +79790,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -79497,7 +79800,7 @@ paths: type: object additionalProperties: false properties: - language: &548 + language: &549 type: string description: The language targeted by the CodeQL query enum: @@ -79577,7 +79880,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &552 + schema: &553 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -79587,7 +79890,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *548 + query_language: *549 query_pack_url: type: string description: The download url for the query pack. @@ -79635,7 +79938,7 @@ paths: items: type: object properties: - repository: &549 + repository: &550 title: Repository Identifier description: Repository Identifier type: object @@ -79677,7 +79980,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &553 + analysis_status: &554 type: string description: The new status of the CodeQL variant analysis repository task. @@ -79709,7 +80012,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &550 + access_mismatch_repos: &551 type: object properties: repository_count: @@ -79724,7 +80027,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: *549 + items: *550 required: - repository_count - repositories @@ -79747,8 +80050,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *550 - over_limit_repos: *550 + no_codeql_db_repos: *551 + over_limit_repos: *551 required: - access_mismatch_repos - not_found_repos @@ -79764,7 +80067,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &551 + value: &552 summary: Default response value: id: 1 @@ -79910,10 +80213,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *551 + value: *552 repository_lists: summary: Response for a successful variant analysis submission - value: *551 + value: *552 '404': *6 '422': description: Unable to process variant analysis submission @@ -79941,8 +80244,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: - - *452 - *453 + - *454 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -79954,9 +80257,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *551 + default: *552 '404': *6 '503': *192 x-github: @@ -79979,7 +80282,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: - - *452 + - *453 - name: repo in: path description: The name of the controller repository. @@ -80014,7 +80317,7 @@ paths: type: object properties: repository: *120 - analysis_status: *553 + analysis_status: *554 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -80139,8 +80442,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -80250,7 +80553,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *531 + '403': *532 '404': *6 '503': *192 x-github: @@ -80271,8 +80574,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -80366,7 +80669,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *537 + '403': *538 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -80437,8 +80740,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -80446,7 +80749,7 @@ paths: schema: type: object properties: - commit_sha: *554 + commit_sha: *555 ref: type: string description: |- @@ -80506,7 +80809,7 @@ paths: schema: type: object properties: - id: *545 + id: *546 url: type: string description: The REST API URL for checking the status of the upload. @@ -80520,7 +80823,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': *537 + '403': *538 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -80543,8 +80846,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: - - *452 - *453 + - *454 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -80592,7 +80895,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': *531 + '403': *532 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -80617,8 +80920,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -80699,8 +81002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *452 - *453 + - *454 - 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 @@ -80828,8 +81131,8 @@ paths: parameters: - *17 - *19 - - *452 - *453 + - *454 responses: '200': description: Response @@ -80845,7 +81148,7 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: default: value: @@ -81143,8 +81446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -81208,17 +81511,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '400': *14 '401': *23 '403': *27 @@ -81247,8 +81550,8 @@ paths: parameters: - *17 - *19 - - *452 - *453 + - *454 responses: '200': description: Response @@ -81312,8 +81615,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: - - *452 - *453 + - *454 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -81350,7 +81653,7 @@ paths: type: integer machines: type: array - items: *556 + items: *557 examples: default: &791 value: @@ -81392,8 +81695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *452 - *453 + - *454 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -81480,8 +81783,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: - - *452 - *453 + - *454 - 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 @@ -81550,8 +81853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -81569,7 +81872,7 @@ paths: type: integer secrets: type: array - items: &560 + items: &561 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -81590,7 +81893,7 @@ paths: - created_at - updated_at examples: - default: *557 + default: *558 headers: Link: *45 x-github: @@ -81613,16 +81916,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81642,17 +81945,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81672,8 +81975,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: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -81726,8 +82029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -81756,8 +82059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *452 - *453 + - *454 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -81795,7 +82098,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Collaborator description: Collaborator type: object @@ -81988,8 +82291,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: - - *452 - *453 + - *454 - *139 responses: '204': @@ -82036,8 +82339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *452 - *453 + - *454 - *139 requestBody: required: false @@ -82064,7 +82367,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -82292,8 +82595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *452 - *453 + - *454 - *139 responses: '204': @@ -82325,8 +82628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *452 - *453 + - *454 - *139 responses: '200': @@ -82347,7 +82650,7 @@ paths: user: anyOf: - type: 'null' - - *562 + - *563 required: - permission - role_name @@ -82401,8 +82704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -82412,7 +82715,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Commit Comment description: Commit Comment type: object @@ -82470,7 +82773,7 @@ paths: - created_at - updated_at examples: - default: &568 + default: &569 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -82529,17 +82832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &569 + default: &570 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -82596,8 +82899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -82620,7 +82923,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: default: value: @@ -82671,8 +82974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -82694,8 +82997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -82722,7 +83025,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -82766,7 +83069,7 @@ paths: - content - created_at examples: - default: &641 + default: &642 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -82811,8 +83114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -82845,9 +83148,9 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -82876,9 +83179,9 @@ paths: description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -82900,10 +83203,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - &642 + - &643 name: reaction_id description: The unique identifier of the reaction. in: path @@ -82958,8 +83261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *452 - *453 + - *454 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -83015,9 +83318,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &690 + default: &691 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -83111,9 +83414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *452 - *453 - - &567 + - *454 + - &568 name: commit_sha description: The SHA of the commit. in: path @@ -83185,9 +83488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *452 - *453 - - *567 + - *454 + - *568 - *17 - *19 responses: @@ -83197,9 +83500,9 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: - default: *568 + default: *569 headers: Link: *45 x-github: @@ -83227,9 +83530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *452 - *453 - - *567 + - *454 + - *568 requestBody: required: true content: @@ -83264,9 +83567,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *569 + default: *570 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -83294,9 +83597,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: - - *452 - *453 - - *567 + - *454 + - *568 - *17 - *19 responses: @@ -83306,9 +83609,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: &682 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83845,11 +84148,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *452 - *453 + - *454 - *19 - *17 - - &571 + - &572 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)" @@ -83864,9 +84167,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &668 + default: &669 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -83979,11 +84282,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: - - *452 - *453 - - *571 + - *454 - *572 - *573 + - *574 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -84017,9 +84320,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *517 examples: - default: *574 + default: *575 headers: Link: *45 x-github: @@ -84044,9 +84347,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: - - *452 - *453 - - *571 + - *454 + - *572 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -84054,7 +84357,7 @@ paths: schema: type: integer example: 1 - - *572 + - *573 - *17 - *19 responses: @@ -84072,7 +84375,7 @@ paths: type: integer check_suites: type: array - items: *520 + items: *521 examples: default: value: @@ -84272,9 +84575,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: - - *452 - *453 - - *571 + - *454 + - *572 - *17 - *19 responses: @@ -84476,9 +84779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *452 - *453 - - *571 + - *454 + - *572 - *17 - *19 responses: @@ -84488,7 +84791,7 @@ paths: application/json: schema: type: array - items: &743 + items: &744 title: Status description: The status of a commit. type: object @@ -84569,7 +84872,7 @@ paths: site_admin: false headers: Link: *45 - '301': *458 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84597,8 +84900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -84631,11 +84934,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *575 + - *576 code_of_conduct_file: anyOf: - type: 'null' - - &576 + - &577 title: Community Health File type: object properties: @@ -84655,19 +84958,19 @@ paths: contributing: anyOf: - type: 'null' - - *576 + - *577 readme: anyOf: - type: 'null' - - *576 + - *577 issue_template: anyOf: - type: 'null' - - *576 + - *577 pull_request_template: anyOf: - type: 'null' - - *576 + - *577 required: - code_of_conduct - code_of_conduct_file @@ -84796,8 +85099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *452 - *453 + - *454 - *19 - *17 - name: basehead @@ -84845,8 +85148,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *566 - merge_base_commit: *566 + base_commit: *567 + merge_base_commit: *567 status: type: string enum: @@ -84870,10 +85173,10 @@ paths: - 6 commits: type: array - items: *566 + items: *567 files: type: array - items: *577 + items: *578 required: - url - html_url @@ -85159,8 +85462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -85330,7 +85633,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &578 + response-if-content-is-a-file-github-object: &579 summary: Response if content is a file value: type: file @@ -85467,7 +85770,7 @@ paths: - size - type - url - - &695 + - &696 title: Content File description: Content File type: object @@ -85685,7 +85988,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *579 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -85754,7 +86057,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *579 + '302': *580 '304': *35 x-github: githubCloudOnly: false @@ -85807,8 +86110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -85903,7 +86206,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &581 title: File Commit description: File Commit type: object @@ -86059,7 +86362,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: example-for-creating-a-file: value: @@ -86113,7 +86416,7 @@ paths: schema: oneOf: - *3 - - &621 + - &622 description: Repository rule violation was detected type: object properties: @@ -86134,7 +86437,7 @@ paths: items: type: object properties: - placeholder_id: &735 + placeholder_id: &736 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -86166,8 +86469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *452 - *453 + - *454 - name: path description: path parameter in: path @@ -86228,7 +86531,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -86283,8 +86586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *452 - *453 + - *454 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -86408,23 +86711,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *452 - *453 - - *328 + - *454 - *329 - *330 - *331 + - *332 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *332 - - *581 - *333 + - *582 - *334 - *335 + - *336 - *110 - *108 - *109 @@ -86436,7 +86739,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 type: object description: A Dependabot alert. properties: @@ -86486,7 +86789,7 @@ paths: - direct - transitive - - security_advisory: *582 + security_advisory: *583 security_vulnerability: *130 url: *131 html_url: *132 @@ -86517,8 +86820,8 @@ paths: dismissal. maxLength: 280 fixed_at: *136 - auto_dismissed_at: *583 - dismissal_request: *584 + auto_dismissed_at: *584 + dismissal_request: *585 assignees: type: array description: The users assigned to this alert. @@ -86773,9 +87076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *452 - *453 - - &586 + - *454 + - &587 name: alert_number in: path description: |- @@ -86790,7 +87093,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -86922,9 +87225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *452 - *453 - - *586 + - *454 + - *587 requestBody: required: true content: @@ -86980,7 +87283,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -87110,8 +87413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -87129,7 +87432,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &590 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -87183,16 +87486,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87212,15 +87515,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '200': description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -87246,8 +87549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 requestBody: required: true @@ -87300,8 +87603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *452 - *453 + - *454 - *289 responses: '204': @@ -87324,8 +87627,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: - - *452 - *453 + - *454 - 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 @@ -87499,8 +87802,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -87760,8 +88063,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -87844,7 +88147,7 @@ paths: - version - url additionalProperties: false - metadata: &590 + metadata: &591 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -87883,7 +88186,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *590 + metadata: *591 resolved: type: object description: A collection of resolved package dependencies. @@ -87897,7 +88200,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *590 + metadata: *591 relationship: type: string description: A notation of whether a dependency is requested @@ -88030,8 +88333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *452 - *453 + - *454 - name: sha description: The SHA recorded at creation time. in: query @@ -88072,9 +88375,9 @@ paths: application/json: schema: type: array - items: *591 + items: *592 examples: - default: *592 + default: *593 headers: Link: *45 x-github: @@ -88140,8 +88443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -88223,7 +88526,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: simple-example: summary: Simple example @@ -88296,9 +88599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *452 - *453 - - &593 + - *454 + - &594 name: deployment_id description: deployment_id parameter in: path @@ -88310,7 +88613,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -88375,9 +88678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *452 - *453 - - *593 + - *454 + - *594 responses: '204': description: Response @@ -88399,9 +88702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *452 - *453 - - *593 + - *454 + - *594 - *17 - *19 responses: @@ -88411,7 +88714,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 title: Deployment Status description: The status of a deployment. type: object @@ -88575,9 +88878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *452 - *453 - - *593 + - *454 + - *594 requestBody: required: true content: @@ -88652,9 +88955,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: &595 + default: &596 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -88710,9 +89013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *452 - *453 - - *593 + - *454 + - *594 - name: status_id in: path required: true @@ -88723,9 +89026,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -88752,12 +89055,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 - - *596 + - *454 - *597 - *598 - *599 + - *600 - *17 - *19 responses: @@ -88767,9 +89070,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 '404': *6 '403': *27 '500': *38 @@ -88793,8 +89096,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88806,7 +89109,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -88862,8 +89165,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88922,12 +89225,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 - - *596 + - *454 - *597 - *598 - *599 + - *600 - *17 - *19 responses: @@ -88937,9 +89240,9 @@ paths: application/json: schema: type: array - items: *602 + items: *603 examples: - default: *603 + default: *604 '404': *6 '403': *27 '500': *38 @@ -88963,8 +89266,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -88976,7 +89279,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -89027,8 +89330,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -89066,7 +89369,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -89117,8 +89420,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -89189,8 +89492,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -89223,12 +89526,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - *103 - *104 - *105 - - *340 + - *341 - *17 - *19 responses: @@ -89238,9 +89541,9 @@ paths: application/json: schema: type: array - items: *604 + items: *605 examples: - default: *605 + default: *606 '404': *6 '403': *27 '500': *38 @@ -89265,8 +89568,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -89278,7 +89581,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *604 + schema: *605 examples: default: value: @@ -89336,8 +89639,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *452 - *453 + - *454 - name: alert_number in: path required: true @@ -89406,8 +89709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -89464,8 +89767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -89483,7 +89786,7 @@ paths: - 5 environments: type: array - items: &607 + items: &608 title: Environment description: Details of a deployment environment type: object @@ -89545,7 +89848,7 @@ paths: type: string examples: - wait_timer - wait_timer: &609 + wait_timer: &610 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -89587,7 +89890,7 @@ paths: items: type: object properties: - type: *606 + type: *607 reviewer: anyOf: - *4 @@ -89614,7 +89917,7 @@ paths: - id - node_id - type - deployment_branch_policy: &610 + deployment_branch_policy: &611 type: - object - 'null' @@ -89731,9 +90034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *452 - *453 - - &608 + - *454 + - &609 name: environment_name in: path required: true @@ -89746,9 +90049,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &611 + default: &612 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -89832,9 +90135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: false content: @@ -89844,7 +90147,7 @@ paths: - object - 'null' properties: - wait_timer: *609 + wait_timer: *610 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -89863,14 +90166,14 @@ paths: items: type: object properties: - type: *606 + type: *607 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *610 + deployment_branch_policy: *611 additionalProperties: false examples: default: @@ -89890,9 +90193,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *611 + default: *612 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -89916,9 +90219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *452 - *453 - - *608 + - *454 + - *609 responses: '204': description: Default response @@ -89943,9 +90246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *17 - *19 responses: @@ -89964,7 +90267,7 @@ paths: - 2 branch_policies: type: array - items: &612 + items: &613 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -90025,9 +90328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: true content: @@ -90075,9 +90378,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - example-wildcard: &613 + example-wildcard: &614 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -90119,10 +90422,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - &614 + - *454 + - *609 + - &615 name: branch_policy_id in: path required: true @@ -90134,9 +90437,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90155,10 +90458,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - *614 + - *454 + - *609 + - *615 requestBody: required: true content: @@ -90187,9 +90490,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90208,10 +90511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *452 - *453 - - *608 - - *614 + - *454 + - *609 + - *615 responses: '204': description: Response @@ -90236,9 +90539,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: - - *608 + - *609 + - *454 - *453 - - *452 responses: '200': description: List of deployment protection rules @@ -90255,7 +90558,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &615 + items: &616 title: Deployment protection rule description: Deployment protection rule type: object @@ -90277,7 +90580,7 @@ paths: for the environment. examples: - true - app: &616 + app: &617 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -90380,9 +90683,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: - - *608 + - *609 + - *454 - *453 - - *452 requestBody: content: application/json: @@ -90403,9 +90706,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *615 + schema: *616 examples: - default: &617 + default: &618 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -90440,9 +90743,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: - - *608 + - *609 + - *454 - *453 - - *452 - *19 - *17 responses: @@ -90462,7 +90765,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *616 + items: *617 examples: default: value: @@ -90497,10 +90800,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: - - *452 - *453 - - *608 - - &618 + - *454 + - *609 + - &619 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -90512,9 +90815,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: - default: *617 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90535,10 +90838,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: - - *608 + - *609 + - *454 - *453 - - *452 - - *618 + - *619 responses: '204': description: Response @@ -90564,9 +90867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *17 - *19 responses: @@ -90584,9 +90887,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *484 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -90611,17 +90914,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *452 - *453 - - *608 + - *454 + - *609 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90643,18 +90946,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *619 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90676,9 +90979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 requestBody: required: true @@ -90736,9 +91039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *289 responses: '204': @@ -90764,10 +91067,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *452 - *453 - - *608 - - *470 + - *454 + - *609 + - *471 - *19 responses: '200': @@ -90784,9 +91087,9 @@ paths: type: integer variables: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *45 x-github: @@ -90809,9 +91112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *452 - *453 - - *608 + - *454 + - *609 requestBody: required: true content: @@ -90863,18 +91166,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *452 - *453 - - *608 + - *454 + - *609 - *292 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *620 + default: *621 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90895,10 +91198,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *452 - *453 + - *454 - *292 - - *608 + - *609 requestBody: required: true content: @@ -90940,10 +91243,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *452 - *453 + - *454 - *292 - - *608 + - *609 responses: '204': description: Response @@ -90965,8 +91268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -91034,8 +91337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *452 - *453 + - *454 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -91194,8 +91497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -91228,9 +91531,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 '400': *14 '422': *15 '403': *27 @@ -91251,8 +91554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91312,7 +91615,7 @@ paths: schema: oneOf: - *253 - - *621 + - *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91337,8 +91640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *452 - *453 + - *454 - name: file_sha in: path required: true @@ -91438,8 +91741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -91548,7 +91851,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &623 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -91775,15 +92078,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *452 - *453 - - *567 + - *454 + - *568 responses: '200': description: Response content: application/json: - schema: *622 + schema: *623 examples: default: value: @@ -91839,9 +92142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *452 - *453 - - &623 + - *454 + - &624 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. @@ -91858,7 +92161,7 @@ paths: application/json: schema: type: array - items: &624 + items: &625 title: Git Reference description: Git references within a repository type: object @@ -91934,17 +92237,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 responses: '200': description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: &625 + default: &626 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -91973,8 +92276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -92003,9 +92306,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *625 + default: *626 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -92031,9 +92334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 requestBody: required: true content: @@ -92062,9 +92365,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *625 + default: *626 '422': *15 '409': *119 x-github: @@ -92082,9 +92385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *452 - *453 - - *623 + - *454 + - *624 responses: '204': description: Response @@ -92139,8 +92442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -92207,7 +92510,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &628 title: Git Tag description: Metadata for a Git tag type: object @@ -92263,7 +92566,7 @@ paths: - sha - type - url - verification: *626 + verification: *627 required: - sha - url @@ -92273,7 +92576,7 @@ paths: - tag - message examples: - default: &628 + default: &629 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -92346,8 +92649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *452 - *453 + - *454 - name: tag_sha in: path required: true @@ -92358,9 +92661,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '404': *6 '409': *119 x-github: @@ -92384,8 +92687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -92459,7 +92762,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &630 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -92561,8 +92864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *452 - *453 + - *454 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -92585,7 +92888,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: default-response: summary: Default response @@ -92644,8 +92947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -92655,7 +92958,7 @@ paths: application/json: schema: type: array - items: &630 + items: &631 title: Webhook description: Webhooks for repositories. type: object @@ -92795,8 +93098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -92849,9 +93152,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: &631 + default: &632 value: type: Repository id: 12345678 @@ -92899,17 +93202,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '200': description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -92929,9 +93232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 requestBody: required: true content: @@ -92976,9 +93279,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: - default: *631 + default: *632 '422': *15 '404': *6 x-github: @@ -92999,9 +93302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -93025,9 +93328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '200': description: Response @@ -93054,9 +93357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *452 - *453 - - *343 + - *454 + - *344 requestBody: required: false content: @@ -93100,11 +93403,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *452 - *453 - - *343 - - *17 + - *454 - *344 + - *17 + - *345 responses: '200': description: Response @@ -93112,9 +93415,9 @@ paths: application/json: schema: type: array - items: *345 + items: *346 examples: - default: *346 + default: *347 '400': *14 '422': *15 x-github: @@ -93133,18 +93436,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 - *16 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *348 + default: *349 '400': *14 '422': *15 x-github: @@ -93163,9 +93466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 - *16 responses: '202': *37 @@ -93188,9 +93491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -93215,9 +93518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *452 - *453 - - *343 + - *454 + - *344 responses: '204': description: Response @@ -93240,8 +93543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response if immutable releases are enabled @@ -93289,8 +93592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *452 - *453 + - *454 responses: '204': *151 '409': *119 @@ -93310,8 +93613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *452 - *453 + - *454 responses: '204': *151 '409': *119 @@ -93368,14 +93671,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &632 + schema: &633 title: Import description: A repository import from an external source. type: object @@ -93482,7 +93785,7 @@ paths: - html_url - authors_url examples: - default: &635 + default: &636 value: vcs: subversion use_lfs: true @@ -93498,7 +93801,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': &633 + '503': &634 description: Unavailable due to service under maintenance. content: application/json: @@ -93527,8 +93830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -93576,7 +93879,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -93601,7 +93904,7 @@ paths: type: string '422': *15 '404': *6 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93629,8 +93932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -93682,7 +93985,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: example-1: summary: Example 1 @@ -93730,7 +94033,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': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93753,12 +94056,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *452 - *453 + - *454 responses: '204': description: Response - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93784,8 +94087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *452 - *453 + - *454 - &812 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -93800,7 +94103,7 @@ paths: application/json: schema: type: array - items: &634 + items: &635 title: Porter Author description: Porter Author type: object @@ -93854,7 +94157,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': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93879,8 +94182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *452 - *453 + - *454 - name: author_id in: path required: true @@ -93910,7 +94213,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -93923,7 +94226,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93947,8 +94250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -93989,7 +94292,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94017,8 +94320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -94045,11 +94348,11 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '422': *15 - '503': *633 + '503': *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94072,8 +94375,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -94081,8 +94384,8 @@ paths: application/json: schema: *20 examples: - default: *360 - '301': *458 + default: *361 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -94102,8 +94405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -94111,12 +94414,12 @@ paths: application/json: schema: anyOf: - - *362 + - *363 - type: object properties: {} additionalProperties: false examples: - default: &637 + default: &638 value: limit: collaborators_only origin: repository @@ -94141,13 +94444,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: application/json: - schema: *636 + schema: *637 examples: default: summary: Example request body @@ -94159,9 +94462,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *637 + default: *638 '409': description: Response x-github: @@ -94183,8 +94486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -94207,8 +94510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -94218,7 +94521,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: &805 value: @@ -94351,9 +94654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *452 - *453 - - *366 + - *454 + - *367 requestBody: required: false content: @@ -94382,7 +94685,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -94513,9 +94816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *452 - *453 - - *366 + - *454 + - *367 responses: '204': description: Response @@ -94546,8 +94849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *452 - *453 + - *454 - 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 @@ -94595,7 +94898,7 @@ paths: required: false schema: type: string - - *373 + - *374 - name: sort description: What to sort results by. in: query @@ -94620,7 +94923,7 @@ paths: type: array items: *219 examples: - default: &647 + default: &648 value: - id: 1 node_id: MDU6SXNzdWUx @@ -94769,7 +95072,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *458 + '301': *459 '422': *15 '404': *6 x-github: @@ -94798,8 +95101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -94891,7 +95194,7 @@ paths: application/json: schema: *219 examples: - default: &644 + default: &645 value: id: 1 node_id: MDU6SXNzdWUx @@ -95048,7 +95351,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *639 + '410': *640 x-github: triggersNotification: true githubCloudOnly: false @@ -95086,8 +95389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *452 - *453 + - *454 - *241 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -95110,7 +95413,7 @@ paths: type: array items: *220 examples: - default: &646 + default: &647 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -95168,8 +95471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': @@ -95178,7 +95481,7 @@ paths: application/json: schema: *220 examples: - default: &640 + default: &641 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -95233,8 +95536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -95259,7 +95562,7 @@ paths: application/json: schema: *220 examples: - default: *640 + default: *641 '422': *15 x-github: githubCloudOnly: false @@ -95277,8 +95580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -95307,8 +95610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '200': @@ -95371,7 +95674,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -95388,8 +95691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 responses: '204': @@ -95397,7 +95700,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 '503': *192 x-github: githubCloudOnly: false @@ -95415,8 +95718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -95443,9 +95746,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -95466,8 +95769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -95500,16 +95803,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -95531,10 +95834,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - *642 + - *643 responses: '204': description: Response @@ -95554,8 +95857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -95565,7 +95868,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Issue Event description: Issue Event type: object @@ -95905,8 +96208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *452 - *453 + - *454 - name: event_id in: path required: true @@ -95917,7 +96220,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -96110,7 +96413,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *639 + '410': *640 '403': *27 x-github: githubCloudOnly: false @@ -96144,9 +96447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *452 - *453 - - &645 + - *454 + - &646 name: issue_number description: The number that identifies the issue. in: path @@ -96162,7 +96465,7 @@ paths: examples: default: summary: Issue - value: *644 + value: *645 pinned_comment: summary: Issue with pinned comment value: @@ -96361,9 +96664,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 '304': *35 x-github: githubCloudOnly: false @@ -96388,9 +96691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -96531,13 +96834,13 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 '422': *15 '503': *192 '403': *27 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96565,9 +96868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -96595,7 +96898,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96611,9 +96914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: content: application/json: @@ -96640,7 +96943,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96662,9 +96965,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: - - *452 - *453 - - *645 + - *454 + - *646 - name: assignee in: path required: true @@ -96704,9 +97007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *224 - *17 - *19 @@ -96719,11 +97022,11 @@ paths: type: array items: *220 examples: - default: *646 + default: *647 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96752,9 +97055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -96778,14 +97081,14 @@ paths: application/json: schema: *220 examples: - default: *640 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -96813,9 +97116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96827,12 +97130,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96860,9 +97163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -96886,15 +97189,15 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *458 + '301': *459 '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -96925,9 +97228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *452 - *453 - - *645 + - *454 + - *646 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -96941,13 +97244,13 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *458 + default: *645 + '301': *459 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *639 + '410': *640 x-github: triggersNotification: true githubCloudOnly: false @@ -96973,9 +97276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -96987,12 +97290,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97009,9 +97312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97025,7 +97328,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &650 + - &651 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -97074,7 +97377,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &652 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -97202,7 +97505,7 @@ paths: - performed_via_github_app - assignee - assigner - - &652 + - &653 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -97248,7 +97551,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &654 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -97294,7 +97597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &655 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -97343,7 +97646,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &656 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -97385,7 +97688,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &657 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -97427,7 +97730,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &658 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -97483,7 +97786,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &659 title: Locked Issue Event description: Locked Issue Event type: object @@ -97528,7 +97831,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &660 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -97589,7 +97892,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &661 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -97650,7 +97953,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &661 + - &662 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -97711,7 +98014,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &662 + - &663 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -97804,7 +98107,7 @@ paths: color: red headers: Link: *45 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97821,9 +98124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97833,9 +98136,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &749 + default: &750 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -97859,9 +98162,9 @@ paths: value: '2025-12-25' headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97878,9 +98181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -97892,7 +98195,7 @@ paths: type: array items: *218 examples: - default: &649 + default: &650 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97910,9 +98213,9 @@ paths: default: false headers: Link: *45 - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97928,9 +98231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -97975,10 +98278,10 @@ paths: type: array items: *218 examples: - default: *649 - '301': *458 + default: *650 + '301': *459 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -97995,9 +98298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -98059,10 +98362,10 @@ paths: type: array items: *218 examples: - default: *649 - '301': *458 + default: *650 + '301': *459 '404': *6 - '410': *639 + '410': *640 '422': *15 x-github: githubCloudOnly: false @@ -98079,15 +98382,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '204': description: Response - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98106,9 +98409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - name: name in: path required: true @@ -98132,9 +98435,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *458 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98154,9 +98457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: false content: @@ -98185,7 +98488,7 @@ paths: '204': description: Response '403': *27 - '410': *639 + '410': *640 '404': *6 '422': *15 x-github: @@ -98203,9 +98506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '204': description: Response @@ -98235,9 +98538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 responses: '200': description: Response @@ -98245,10 +98548,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *458 + default: *645 + '301': *459 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98265,9 +98568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - 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. @@ -98293,13 +98596,13 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98317,9 +98620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -98351,16 +98654,16 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -98382,10 +98685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *452 - *453 - - *645 - - *642 + - *454 + - *646 + - *643 responses: '204': description: Response @@ -98414,9 +98717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -98440,7 +98743,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -98473,9 +98776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -98487,11 +98790,11 @@ paths: type: array items: *219 examples: - default: *647 + default: *648 headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98519,9 +98822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -98550,14 +98853,14 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *639 + '410': *640 '422': *15 '404': *6 x-github: @@ -98577,9 +98880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 requestBody: required: true content: @@ -98612,7 +98915,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *645 '403': *27 '404': *6 '422': *7 @@ -98634,9 +98937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *452 - *453 - - *645 + - *454 + - *646 - *17 - *19 responses: @@ -98651,7 +98954,6 @@ paths: description: Timeline Event type: object anyOf: - - *650 - *651 - *652 - *653 @@ -98664,6 +98966,7 @@ paths: - *660 - *661 - *662 + - *663 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -98720,7 +99023,7 @@ paths: pin: anyOf: - type: 'null' - - *663 + - *664 required: - event - actor @@ -98996,7 +99299,7 @@ paths: type: string comments: type: array - items: &684 + items: &685 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -99237,7 +99540,7 @@ paths: type: string comments: type: array - items: *563 + items: *564 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -99512,7 +99815,7 @@ paths: headers: Link: *45 '404': *6 - '410': *639 + '410': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99529,8 +99832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -99540,7 +99843,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -99608,8 +99911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99645,9 +99948,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: id: 1 key: ssh-rsa AAA... @@ -99681,9 +99984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *452 - *453 - - &666 + - *454 + - &667 name: key_id description: The unique identifier of the key. in: path @@ -99695,9 +99998,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -99715,9 +100018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *452 - *453 - - *666 + - *454 + - *667 responses: '204': description: Response @@ -99737,8 +100040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -99750,7 +100053,7 @@ paths: type: array items: *218 examples: - default: *649 + default: *650 headers: Link: *45 '404': *6 @@ -99771,8 +100074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -99810,7 +100113,7 @@ paths: application/json: schema: *218 examples: - default: &667 + default: &668 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -99842,8 +100145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -99856,7 +100159,7 @@ paths: application/json: schema: *218 examples: - default: *667 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -99873,8 +100176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -99939,8 +100242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *452 - *453 + - *454 - name: name in: path required: true @@ -99966,8 +100269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -100003,8 +100306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *452 - *453 + - *454 responses: '202': *37 '403': @@ -100032,8 +100335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -100059,9 +100362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *452 - *453 - - *538 + - *454 + - *539 responses: '200': description: Response @@ -100208,8 +100511,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100274,8 +100577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100309,9 +100612,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *566 + schema: *567 examples: - default: *668 + default: *669 '204': description: Response when already merged '404': @@ -100336,8 +100639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *452 - *453 + - *454 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -100378,7 +100681,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -100434,8 +100737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -100475,9 +100778,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &669 + default: &670 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -100536,9 +100839,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *452 - *453 - - &670 + - *454 + - &671 name: milestone_number description: The number that identifies the milestone. in: path @@ -100550,9 +100853,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *669 + default: *670 '404': *6 x-github: githubCloudOnly: false @@ -100569,9 +100872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *452 - *453 - - *670 + - *454 + - *671 requestBody: required: false content: @@ -100609,9 +100912,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *669 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100627,9 +100930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *452 - *453 - - *670 + - *454 + - *671 responses: '204': description: Response @@ -100650,9 +100953,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: - - *452 - *453 - - *670 + - *454 + - *671 - *17 - *19 responses: @@ -100664,7 +100967,7 @@ paths: type: array items: *218 examples: - default: *649 + default: *650 headers: Link: *45 x-github: @@ -100683,12 +100986,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: - - *452 - *453 - - *671 + - *454 - *672 - - *224 - *673 + - *224 + - *674 - *17 - *19 responses: @@ -100700,7 +101003,7 @@ paths: type: array items: *244 examples: - default: *674 + default: *675 headers: Link: *45 x-github: @@ -100724,8 +101027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -100783,14 +101086,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: &675 + schema: &676 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -100934,7 +101237,7 @@ paths: - custom_404 - public examples: - default: &676 + default: &677 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -100975,8 +101278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -101031,9 +101334,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '422': *15 '409': *119 x-github: @@ -101056,8 +101359,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -101165,8 +101468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -101192,8 +101495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -101203,7 +101506,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Page Build description: Page Build type: object @@ -101295,8 +101598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *452 - *453 + - *454 responses: '201': description: Response @@ -101343,16 +101646,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &678 + default: &679 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -101400,8 +101703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *452 - *453 + - *454 - name: build_id in: path required: true @@ -101412,9 +101715,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101434,8 +101737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -101543,9 +101846,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: - - *452 - *453 - - &679 + - *454 + - &680 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -101603,9 +101906,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *452 - *453 - - *679 + - *454 + - *680 responses: '204': *151 '404': *6 @@ -101632,8 +101935,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -101928,8 +102231,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: - - *452 - *453 + - *454 responses: '200': description: Private vulnerability reporting status @@ -101966,8 +102269,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: - - *452 - *453 + - *454 responses: '204': *151 '422': *14 @@ -101988,8 +102291,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: - - *452 - *453 + - *454 responses: '204': *151 '422': *14 @@ -102011,8 +102314,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -102022,7 +102325,7 @@ paths: type: array items: *152 examples: - default: *680 + default: *681 '403': *27 '404': *6 x-github: @@ -102044,8 +102347,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -102061,7 +102364,7 @@ paths: required: - properties examples: - default: *681 + default: *682 responses: '204': description: No Content when custom property values are successfully created @@ -102099,8 +102402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *452 - *453 + - *454 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -102160,9 +102463,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *682 + default: *683 headers: Link: *45 '304': *35 @@ -102194,8 +102497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -102262,7 +102565,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &687 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -102391,7 +102694,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 active_lock_reason: type: - string @@ -102440,7 +102743,7 @@ paths: items: *4 requested_teams: type: array - items: *383 + items: *384 head: type: object properties: @@ -102478,14 +102781,14 @@ paths: _links: type: object properties: - comments: *405 - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + comments: *406 + commits: *406 + statuses: *406 + html: *406 + issue: *406 + review_comments: *406 + review_comment: *406 + self: *406 required: - comments - commits @@ -102496,7 +102799,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: *683 + auto_merge: *684 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -102692,7 +102995,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &687 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -103219,8 +103522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *452 - *453 + - *454 - name: sort in: query required: false @@ -103249,9 +103552,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: &689 + default: &690 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -103328,17 +103631,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: - - *452 - *453 + - *454 - *233 responses: '200': description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -103413,8 +103716,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: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -103437,9 +103740,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103455,8 +103758,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: - - *452 - *453 + - *454 - *233 responses: '204': @@ -103478,8 +103781,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: - - *452 - *453 + - *454 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103506,9 +103809,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -103529,8 +103832,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: - - *452 - *453 + - *454 - *233 requestBody: required: true @@ -103563,16 +103866,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -103594,10 +103897,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *452 - *453 + - *454 - *233 - - *642 + - *643 responses: '204': description: Response @@ -103640,9 +103943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *452 - *453 - - &688 + - *454 + - &689 name: pull_number description: The number that identifies the pull request. in: path @@ -103655,9 +103958,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '304': *35 '404': *6 '406': @@ -103692,9 +103995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -103736,9 +104039,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '422': *15 '403': *27 x-github: @@ -103760,9 +104063,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -103823,17 +104126,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -103863,9 +104166,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: - - *452 - *453 - - *688 + - *454 + - *689 - *241 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -103886,9 +104189,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *689 + default: *690 headers: Link: *45 x-github: @@ -103921,9 +104224,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -104029,7 +104332,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: example-for-a-multi-line-comment: value: @@ -104117,9 +104420,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: - - *452 - *453 - - *688 + - *454 + - *689 - *233 requestBody: required: true @@ -104142,7 +104445,7 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: default: value: @@ -104228,9 +104531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -104240,9 +104543,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *690 + default: *691 headers: Link: *45 x-github: @@ -104272,9 +104575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -104284,7 +104587,7 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: default: value: @@ -104322,9 +104625,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: - - *452 - *453 - - *688 + - *454 + - *689 responses: '204': description: Response if pull request has been merged @@ -104347,9 +104650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -104461,9 +104764,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: - - *452 - *453 - - *688 + - *454 + - *689 responses: '200': description: Response @@ -104538,9 +104841,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -104577,7 +104880,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -105113,9 +105416,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: true content: @@ -105149,7 +105452,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -105654,9 +105957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *452 - *453 - - *688 + - *454 + - *689 - *17 - *19 responses: @@ -105666,7 +105969,7 @@ paths: application/json: schema: type: array - items: &691 + items: &692 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -105822,9 +106125,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: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -105914,9 +106217,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &693 + default: &694 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -105979,10 +106282,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: - - *452 - *453 - - *688 - - &692 + - *454 + - *689 + - &693 name: review_id description: The unique identifier of the review. in: path @@ -105994,9 +106297,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &694 + default: &695 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -106055,10 +106358,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -106081,7 +106384,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: default: value: @@ -106143,18 +106446,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 responses: '200': description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *693 + default: *694 '422': *7 '404': *6 x-github: @@ -106181,10 +106484,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 - *17 - *19 responses: @@ -106282,9 +106585,9 @@ paths: _links: type: object properties: - self: *405 - html: *405 - pull_request: *405 + self: *406 + html: *406 + pull_request: *406 required: - self - html @@ -106442,10 +106745,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -106474,7 +106777,7 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: default: value: @@ -106537,10 +106840,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: - - *452 - *453 - - *688 - - *692 + - *454 + - *689 + - *693 requestBody: required: true content: @@ -106575,9 +106878,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *694 + default: *695 '404': *6 '422': *7 '403': *27 @@ -106599,9 +106902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *452 - *453 - - *688 + - *454 + - *689 requestBody: required: false content: @@ -106665,8 +106968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *452 - *453 + - *454 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -106679,9 +106982,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: &696 + default: &697 value: type: file encoding: base64 @@ -106723,8 +107026,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: - - *452 - *453 + - *454 - name: dir description: The alternate path to look for a README file in: path @@ -106744,9 +107047,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 '422': *15 x-github: @@ -106768,8 +107071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -106779,7 +107082,7 @@ paths: application/json: schema: type: array - items: *697 + items: *698 examples: default: value: @@ -106873,8 +107176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -106950,9 +107253,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: &701 + default: &702 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -107057,9 +107360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *452 - *453 - - &699 + - *454 + - &700 name: asset_id description: The unique identifier of the asset. in: path @@ -107071,9 +107374,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: &700 + default: &701 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 @@ -107108,7 +107411,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107124,9 +107427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *452 - *453 - - *699 + - *454 + - *700 requestBody: required: false content: @@ -107155,9 +107458,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *700 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107173,9 +107476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *452 - *453 - - *699 + - *454 + - *700 responses: '204': description: Response @@ -107199,8 +107502,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -107286,16 +107589,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *452 - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107312,8 +107615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *452 - *453 + - *454 - name: tag description: tag parameter in: path @@ -107326,9 +107629,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 '404': *6 x-github: githubCloudOnly: false @@ -107350,9 +107653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *452 - *453 - - &702 + - *454 + - &703 name: release_id description: The unique identifier of the release. in: path @@ -107366,9 +107669,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: *697 + schema: *698 examples: - default: *701 + default: *702 '401': description: Unauthorized x-github: @@ -107386,9 +107689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 requestBody: required: false content: @@ -107452,9 +107755,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *701 + default: *702 '404': description: Not Found if the discussion category name is invalid content: @@ -107475,9 +107778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 responses: '204': description: Response @@ -107497,9 +107800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *452 - *453 - - *702 + - *454 + - *703 - *17 - *19 responses: @@ -107509,7 +107812,7 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: default: value: @@ -107591,9 +107894,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: - - *452 - *453 - - *702 + - *454 + - *703 - name: name in: query required: true @@ -107619,7 +107922,7 @@ paths: description: Response for successful upload content: application/json: - schema: *698 + schema: *699 examples: response-for-successful-upload: value: @@ -107674,9 +107977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 - 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. @@ -107700,9 +108003,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *641 + default: *642 headers: Link: *45 '404': *6 @@ -107723,9 +108026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *452 - *453 - - *702 + - *454 + - *703 requestBody: required: true content: @@ -107755,16 +108058,16 @@ paths: description: Reaction exists content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '201': description: Reaction created content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *15 x-github: githubCloudOnly: false @@ -107786,10 +108089,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *452 - *453 - - *702 - - *642 + - *454 + - *703 + - *643 responses: '204': description: Response @@ -107813,9 +108116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *452 - *453 - - *505 + - *454 + - *506 - *17 - *19 responses: @@ -107832,7 +108135,7 @@ paths: oneOf: - allOf: - *166 - - &703 + - &704 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -107853,67 +108156,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *703 + - *704 - allOf: - *168 - - *703 + - *704 - allOf: - *169 - - *703 + - *704 - allOf: + - *705 - *704 - - *703 - allOf: - *170 - - *703 + - *704 - allOf: - *171 - - *703 + - *704 - allOf: - *172 - - *703 + - *704 - allOf: - *173 - - *703 + - *704 - allOf: - *174 - - *703 + - *704 - allOf: - *175 - - *703 + - *704 - allOf: - *176 - - *703 + - *704 - allOf: - *177 - - *703 + - *704 - allOf: - *178 - - *703 + - *704 - allOf: - *179 - - *703 + - *704 - allOf: - *180 - - *703 + - *704 - allOf: - *181 - - *703 + - *704 - allOf: - *182 - - *703 + - *704 - allOf: - *183 - - *703 + - *704 - allOf: - *184 - - *703 + - *704 - allOf: - *185 - - *703 + - *704 - allOf: - *186 - - *703 + - *704 examples: default: value: @@ -107952,8 +108255,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - *17 - *19 - name: includes_parents @@ -107964,7 +108267,7 @@ paths: schema: type: boolean default: true - - *705 + - *706 responses: '200': description: Response @@ -108019,8 +108322,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 requestBody: description: Request body required: true @@ -108049,7 +108352,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *706 + items: *707 required: - name - enforcement @@ -108082,7 +108385,7 @@ paths: application/json: schema: *187 examples: - default: &715 + default: &716 value: id: 42 name: super cool ruleset @@ -108130,12 +108433,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *452 - *453 - - *707 - - *105 + - *454 - *708 + - *105 - *709 + - *710 - *17 - *19 responses: @@ -108143,9 +108446,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *711 + default: *712 '404': *6 '500': *38 x-github: @@ -108166,17 +108469,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *452 - *453 - - *712 + - *454 + - *713 responses: '200': description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 '404': *6 '500': *38 x-github: @@ -108204,8 +108507,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -108227,7 +108530,7 @@ paths: application/json: schema: *187 examples: - default: *715 + default: *716 '404': *6 '500': *38 put: @@ -108245,8 +108548,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -108280,7 +108583,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *706 + items: *707 examples: default: value: @@ -108310,7 +108613,7 @@ paths: application/json: schema: *187 examples: - default: *715 + default: *716 '404': *6 '422': *15 '500': *38 @@ -108329,8 +108632,8 @@ paths: category: repos subcategory: rules parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -108353,8 +108656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *452 - *453 + - *454 - *17 - *19 - name: ruleset_id @@ -108372,7 +108675,7 @@ paths: type: array items: *191 examples: - default: *421 + default: *422 '404': *6 '500': *38 x-github: @@ -108391,8 +108694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *452 - *453 + - *454 - name: ruleset_id description: The ID of the ruleset. in: path @@ -108410,7 +108713,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: value: @@ -108465,22 +108768,22 @@ 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: - - *452 - *453 - - *423 + - *454 - *424 - *425 - *426 - *427 + - *428 - *110 - *19 - *17 - - *716 - *717 - - *428 + - *718 - *429 - *430 - *431 + - *432 responses: '200': description: Response @@ -108488,7 +108791,7 @@ paths: application/json: schema: type: array - items: &721 + items: &722 type: object properties: number: *126 @@ -108504,8 +108807,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *718 - resolution: *719 + state: *719 + resolution: *720 resolved_at: type: - string @@ -108599,7 +108902,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *720 + - *721 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -108744,16 +109047,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *452 - *453 - - *532 - - *431 + - *454 + - *533 + - *432 responses: '200': description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -108807,9 +109110,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: - - *452 - *453 - - *532 + - *454 + - *533 requestBody: required: true content: @@ -108817,8 +109120,8 @@ paths: schema: type: object properties: - state: *718 - resolution: *719 + state: *719 + resolution: *720 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -108854,7 +109157,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *722 examples: default: value: @@ -108949,9 +109252,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: - - *452 - *453 - - *532 + - *454 + - *533 - *19 - *17 responses: @@ -108989,7 +109292,6 @@ paths: - commit details: oneOf: - - *722 - *723 - *724 - *725 @@ -109002,6 +109304,7 @@ paths: - *732 - *733 - *734 + - *735 examples: default: value: @@ -109087,8 +109390,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -109096,14 +109399,14 @@ paths: schema: type: object properties: - reason: &736 + reason: &737 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *735 + placeholder_id: *736 required: - reason - placeholder_id @@ -109120,7 +109423,7 @@ paths: schema: type: object properties: - reason: *736 + reason: *737 expire_at: type: - string @@ -109167,8 +109470,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: - - *452 - *453 + - *454 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -109183,7 +109486,7 @@ paths: properties: incremental_scans: type: array - items: &737 + items: &738 description: Information on a single scan performed by secret scanning on the repository type: object @@ -109211,15 +109514,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *737 + items: *738 backfill_scans: type: array - items: *737 + items: *738 custom_pattern_backfill_scans: type: array items: allOf: - - *737 + - *738 - type: object properties: pattern_name: @@ -109289,8 +109592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *452 - *453 + - *454 - *110 - name: sort description: The property to sort the results by. @@ -109334,9 +109637,9 @@ paths: application/json: schema: type: array - items: *738 + items: *739 examples: - default: *739 + default: *740 '400': *14 '404': *6 x-github: @@ -109359,8 +109662,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -109440,7 +109743,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 required: - login - type @@ -109530,9 +109833,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: &741 + default: &742 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -109765,8 +110068,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: - - *452 - *453 + - *454 requestBody: required: true content: @@ -109879,7 +110182,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: default: value: @@ -110026,17 +110329,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '200': description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: *741 + default: *742 '403': *27 '404': *6 x-github: @@ -110060,9 +110363,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: - - *452 - *453 - - *740 + - *454 + - *741 requestBody: required: true content: @@ -110142,7 +110445,7 @@ paths: login: type: string description: The username of the user credited. - type: *436 + type: *437 required: - login - type @@ -110233,10 +110536,10 @@ paths: description: Response content: application/json: - schema: *738 + schema: *739 examples: - default: *741 - add_credit: *741 + default: *742 + add_credit: *742 '403': *27 '404': *6 '422': @@ -110274,9 +110577,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '202': *37 '400': *14 @@ -110303,17 +110606,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: - - *452 - *453 - - *740 + - *454 + - *741 responses: '202': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 '400': *14 '422': *15 '403': *27 @@ -110339,8 +110642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -110436,8 +110739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *452 - *453 + - *454 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -110446,7 +110749,7 @@ paths: application/json: schema: type: array - items: &742 + items: &743 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -110479,8 +110782,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: - - *452 - *453 + - *454 responses: '200': description: Response @@ -110558,8 +110861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -110653,8 +110956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *452 - *453 + - *454 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -110808,8 +111111,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: - - *452 - *453 + - *454 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -110819,7 +111122,7 @@ paths: application/json: schema: type: array - items: *742 + items: *743 examples: default: value: @@ -110852,8 +111155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *452 - *453 + - *454 - name: sha in: path required: true @@ -110909,7 +111212,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *744 examples: default: value: @@ -110963,8 +111266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -110996,14 +111299,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *452 - *453 + - *454 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &744 + schema: &745 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -111076,8 +111379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *452 - *453 + - *454 requestBody: required: false content: @@ -111103,7 +111406,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *745 examples: default: value: @@ -111130,8 +111433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -111151,8 +111454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -111234,8 +111537,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *452 - *453 + - *454 - name: ref in: path required: true @@ -111271,8 +111574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *452 - *453 + - *454 - *17 - *19 responses: @@ -111284,7 +111587,7 @@ paths: type: array items: *308 examples: - default: *384 + default: *385 headers: Link: *45 '404': *6 @@ -111304,8 +111607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *452 - *453 + - *454 - *19 - *17 responses: @@ -111313,7 +111616,7 @@ paths: description: Response content: application/json: - schema: &745 + schema: &746 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -111325,7 +111628,7 @@ paths: required: - names examples: - default: &746 + default: &747 value: names: - octocat @@ -111348,8 +111651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -111380,9 +111683,9 @@ paths: description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 '422': *7 x-github: @@ -111403,9 +111706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *452 - *453 - - &747 + - *454 + - &748 name: per description: The time frame to display results for. in: query @@ -111436,7 +111739,7 @@ paths: - 128 clones: type: array - items: &748 + items: &749 title: Traffic type: object properties: @@ -111523,8 +111826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -111618,8 +111921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *452 - *453 + - *454 responses: '200': description: Response @@ -111682,9 +111985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *452 - *453 - - *747 + - *454 + - *748 responses: '200': description: Response @@ -111705,7 +112008,7 @@ paths: - 3782 views: type: array - items: *748 + items: *749 required: - uniques - count @@ -111782,8 +112085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *452 - *453 + - *454 requestBody: required: true content: @@ -112057,8 +112360,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: - - *452 - *453 + - *454 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -112081,8 +112384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -112104,8 +112407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *452 - *453 + - *454 responses: '204': description: Response @@ -112131,8 +112434,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *452 - *453 + - *454 - name: ref in: path required: true @@ -112224,9 +112527,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -112374,7 +112677,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *273 - - *645 + - *646 requestBody: required: true content: @@ -112440,9 +112743,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *648 + items: *649 examples: - default: *749 + default: *750 '400': *14 '403': *27 '404': *6 @@ -112479,7 +112782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *273 - - *645 + - *646 requestBody: required: true content: @@ -112546,9 +112849,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *648 + items: *649 examples: - default: *749 + default: *750 '400': *14 '403': *27 '404': *6 @@ -112580,8 +112883,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *273 - - *645 - - *369 + - *646 + - *370 responses: '204': description: Issue field value deleted successfully @@ -112623,7 +112926,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &757 + - &758 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -112633,7 +112936,7 @@ paths: type: string examples: - members - - &762 + - &763 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -112645,7 +112948,7 @@ paths: format: int32 examples: - 1 - - &763 + - &764 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -112689,7 +112992,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &752 + items: &753 allOf: - type: object required: @@ -112771,7 +113074,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: &764 + meta: &765 type: object description: The metadata associated with the creation/updates to the user. @@ -112836,30 +113139,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &753 + '400': &754 description: Bad request content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '401': *751 - '403': &754 + schema: *751 + '401': *752 + '403': &755 description: Permission denied - '429': &755 + '429': &756 description: Too many requests content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '500': &756 + schema: *751 + '500': &757 description: Internal server error content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 + schema: *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112883,7 +113186,7 @@ paths: required: true content: application/json: - schema: &760 + schema: &761 type: object required: - schemas @@ -112947,9 +113250,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *752 + schema: *753 examples: - group: &758 + group: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -112968,13 +113271,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': *753 - '401': *751 - '403': *754 - '409': &761 + '400': *754 + '401': *752 + '403': *755 + '409': &762 description: Duplicate record detected - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -112991,7 +113294,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: - - &759 + - &760 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -113000,22 +113303,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *757 + - *758 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *752 + schema: *753 examples: - default: *758 - '400': *753 - '401': *751 - '403': *754 + default: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113034,13 +113337,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: - - *759 + - *760 - *39 requestBody: required: true content: application/json: - schema: *760 + schema: *761 examples: group: summary: Group @@ -113066,17 +113369,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - group: *758 - groupWithMembers: *758 - '400': *753 - '401': *751 - '403': *754 + group: *759 + groupWithMembers: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113100,13 +113403,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: - - *759 + - *760 - *39 requestBody: required: true content: application/json: - schema: &771 + schema: &772 type: object required: - Operations @@ -113166,17 +113469,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - updateGroup: *758 - addMembers: *758 - '400': *753 - '401': *751 - '403': *754 + updateGroup: *759 + addMembers: *759 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113192,17 +113495,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: - - *759 + - *760 - *39 responses: '204': description: Group was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113236,8 +113539,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *762 - *763 + - *764 - *39 responses: '200': @@ -113271,7 +113574,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &766 + items: &767 allOf: - type: object required: @@ -113363,7 +113666,7 @@ paths: address. examples: - true - roles: &765 + roles: &766 type: array description: The roles assigned to the user. items: @@ -113422,7 +113725,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *764 + meta: *765 startIndex: type: integer description: A starting index for the returned page @@ -113461,11 +113764,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *753 - '401': *751 - '403': *754 - '429': *755 - '500': *756 + '400': *754 + '401': *752 + '403': *755 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113489,7 +113792,7 @@ paths: required: true content: application/json: - schema: &769 + schema: &770 type: object required: - schemas @@ -113582,9 +113885,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *765 + roles: *766 examples: - user: &770 + user: &771 summary: User value: schemas: @@ -113631,9 +113934,9 @@ paths: description: User has been created content: application/scim+json: - schema: *766 + schema: *767 examples: - user: &767 + user: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -113659,13 +113962,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: *767 - '400': *753 - '401': *751 - '403': *754 - '409': *761 - '429': *755 - '500': *756 + enterpriseOwner: *768 + '400': *754 + '401': *752 + '403': *755 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113682,7 +113985,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: - - &768 + - &769 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -113695,15 +113998,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *766 + schema: *767 examples: - default: *767 - '400': *753 - '401': *751 - '403': *754 + default: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113754,30 +114057,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: - - *768 + - *769 - *39 requestBody: required: true content: application/json: - schema: *769 + schema: *770 examples: - user: *770 + user: *771 responses: '200': description: User was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - user: *767 - '400': *753 - '401': *751 - '403': *754 + user: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113818,13 +114121,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: - - *768 + - *769 - *39 requestBody: required: true content: application/json: - schema: *771 + schema: *772 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -113864,18 +114167,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - userMultiValuedProperties: *767 - userSingleValuedProperties: *767 - disableUser: *767 - '400': *753 - '401': *751 - '403': *754 + userMultiValuedProperties: *768 + userSingleValuedProperties: *768 + disableUser: *768 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *762 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113895,17 +114198,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: - - *768 + - *769 - *39 responses: '204': description: User was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *754 + '401': *752 + '403': *755 '404': *6 - '429': *755 - '500': *756 + '429': *756 + '500': *757 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -113996,7 +114299,7 @@ paths: - 1 Resources: type: array - items: &772 + items: &773 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -114243,22 +114546,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': &773 + '404': &774 description: Resource not found content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '403': &774 + schema: *751 + '403': &775 description: Forbidden content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '400': *753 - '429': *755 + schema: *751 + '400': *754 + '429': *756 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -114284,9 +114587,9 @@ paths: description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: &775 + default: &776 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -114309,17 +114612,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': *773 - '403': *774 - '500': *756 + '404': *774 + '403': *775 + '500': *757 '409': description: Conflict content: application/json: - schema: *750 + schema: *751 application/scim+json: - schema: *750 - '400': *753 + schema: *751 + '400': *754 requestBody: required: true content: @@ -114419,17 +114722,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 - '404': *773 - '403': *774 + default: *776 + '404': *774 + '403': *775 '304': *35 x-github: githubCloudOnly: true @@ -114453,18 +114756,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 + default: *776 '304': *35 - '404': *773 - '403': *774 + '404': *774 + '403': *775 requestBody: required: true content: @@ -114579,19 +114882,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *768 + - *769 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *773 examples: - default: *775 + default: *776 '304': *35 - '404': *773 - '403': *774 - '400': *753 + '404': *774 + '403': *775 + '400': *754 '429': description: Response content: @@ -114687,12 +114990,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *768 + - *769 responses: '204': description: Response - '404': *773 - '403': *774 + '404': *774 + '403': *775 '304': *35 x-github: githubCloudOnly: true @@ -114826,7 +115129,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &776 + text_matches: &777 title: Search Result Text Matches type: array items: @@ -114990,7 +115293,7 @@ paths: enum: - author-date - committer-date - - &777 + - &778 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 @@ -115059,7 +115362,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 comment_count: type: integer message: @@ -115078,7 +115381,7 @@ paths: url: type: string format: uri - verification: *626 + verification: *627 required: - author - committer @@ -115093,7 +115396,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *504 parents: type: array items: @@ -115110,7 +115413,7 @@ paths: type: number node_id: type: string - text_matches: *776 + text_matches: *777 required: - sha - node_id @@ -115303,7 +115606,7 @@ paths: - interactions - created - updated - - *777 + - *778 - *17 - *19 - name: advanced_search @@ -115400,11 +115703,11 @@ paths: type: - string - 'null' - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -115418,7 +115721,7 @@ paths: milestone: anyOf: - type: 'null' - - *404 + - *405 comments: type: integer created_at: @@ -115432,7 +115735,7 @@ paths: - string - 'null' format: date-time - text_matches: *776 + text_matches: *777 pull_request: type: object properties: @@ -115481,7 +115784,7 @@ paths: timeline_url: type: string format: uri - type: *370 + type: *371 performed_via_github_app: anyOf: - type: 'null' @@ -115687,7 +115990,7 @@ paths: enum: - created - updated - - *777 + - *778 - *17 - *19 responses: @@ -115732,7 +116035,7 @@ paths: - 'null' score: type: number - text_matches: *776 + text_matches: *777 required: - id - node_id @@ -115818,7 +116121,7 @@ paths: - forks - help-wanted-issues - updated - - *777 + - *778 - *17 - *19 responses: @@ -116066,7 +116369,7 @@ paths: - admin - pull - push - text_matches: *776 + text_matches: *777 temp_clone_token: type: string allow_merge_commit: @@ -116375,7 +116678,7 @@ paths: - string - 'null' format: uri - text_matches: *776 + text_matches: *777 related: type: - array @@ -116570,7 +116873,7 @@ paths: - followers - repositories - joined - - *777 + - *778 - *17 - *19 responses: @@ -116680,7 +116983,7 @@ paths: type: - boolean - 'null' - text_matches: *776 + text_matches: *777 blog: type: - string @@ -116762,7 +117065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &780 + - &781 name: team_id description: The unique identifier of the team. in: path @@ -116774,9 +117077,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -116803,7 +117106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *780 + - *781 requestBody: required: true content: @@ -116867,16 +117170,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '201': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 '404': *6 '422': *15 '403': *27 @@ -116904,7 +117207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *780 + - *781 responses: '204': description: Response @@ -116933,7 +117236,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -116943,9 +117246,9 @@ paths: application/json: schema: type: array - items: *364 + items: *365 examples: - default: *365 + default: *366 headers: Link: *45 x-github: @@ -116971,7 +117274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *780 + - *781 - name: role description: Filters members returned by their role in the team. in: query @@ -117022,7 +117325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -117059,7 +117362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -117099,7 +117402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *780 + - *781 - *139 responses: '204': @@ -117136,16 +117439,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: - - *780 + - *781 - *139 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-user-is-a-team-maintainer: *781 + response-if-user-is-a-team-maintainer: *782 '404': *6 x-github: githubCloudOnly: false @@ -117178,7 +117481,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: - - *780 + - *781 - *139 requestBody: required: false @@ -117204,9 +117507,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - response-if-users-membership-with-team-is-now-pending: *782 + response-if-users-membership-with-team-is-now-pending: *783 '403': description: Forbidden if team synchronization is set up '422': @@ -117240,7 +117543,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: - - *780 + - *781 - *139 responses: '204': @@ -117268,7 +117571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -117280,7 +117583,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 '404': *6 @@ -117310,15 +117613,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: - - *780 - - *452 + - *781 - *453 + - *454 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *784 examples: alternative-response-with-extra-repository-information: value: @@ -117469,9 +117772,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: - - *780 - - *452 + - *781 - *453 + - *454 requestBody: required: false content: @@ -117521,9 +117824,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: - - *780 - - *452 + - *781 - *453 + - *454 responses: '204': description: Response @@ -117552,15 +117855,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: - - *780 + - *781 responses: '200': description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '403': *27 '404': *6 x-github: @@ -117587,7 +117890,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: - - *780 + - *781 requestBody: required: true content: @@ -117648,7 +117951,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: default: value: @@ -117679,7 +117982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *780 + - *781 - *17 - *19 responses: @@ -117691,7 +117994,7 @@ paths: type: array items: *308 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *785 headers: Link: *45 '404': *6 @@ -117724,7 +118027,7 @@ paths: application/json: schema: oneOf: - - &786 + - &787 title: Private User description: Private User type: object @@ -117974,7 +118277,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *785 + - *786 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -118134,7 +118437,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *787 examples: default: value: @@ -118337,9 +118640,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 '304': *35 '500': *38 '401': *23 @@ -118478,17 +118781,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -118532,7 +118835,7 @@ paths: type: integer secrets: type: array - items: &787 + items: &788 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -118574,7 +118877,7 @@ paths: - visibility - selected_repositories_url examples: - default: *557 + default: *558 headers: Link: *45 x-github: @@ -118652,7 +118955,7 @@ paths: description: Response content: application/json: - schema: *787 + schema: *788 examples: default: value: @@ -118798,7 +119101,7 @@ paths: type: array items: *279 examples: - default: *788 + default: *323 '401': *23 '403': *27 '404': *6 @@ -118942,15 +119245,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '304': *35 '500': *38 '401': *23 @@ -118976,7 +119279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 requestBody: required: false content: @@ -119006,9 +119309,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '401': *23 '403': *27 '404': *6 @@ -119030,7 +119333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '202': *37 '304': *35 @@ -119059,7 +119362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '202': description: Response @@ -119150,7 +119453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *377 + - *378 - name: export_id in: path required: true @@ -119186,7 +119489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *377 + - *378 responses: '200': description: Response @@ -119202,7 +119505,7 @@ paths: type: integer machines: type: array - items: *556 + items: *557 examples: default: *791 '304': *35 @@ -119233,7 +119536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *377 + - *378 requestBody: required: true content: @@ -119289,11 +119592,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *457 + repository: *458 machine: anyOf: - type: 'null' - - *556 + - *557 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -120090,15 +120393,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '304': *35 '500': *38 '400': *14 @@ -120130,15 +120433,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *555 + default: *556 '500': *38 '401': *23 '403': *27 @@ -120168,7 +120471,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: &802 value: @@ -121282,12 +121585,12 @@ paths: application/json: schema: anyOf: - - *362 + - *363 - type: object properties: {} additionalProperties: false examples: - default: *363 + default: *364 '204': description: Response when there are no restrictions x-github: @@ -121311,7 +121614,7 @@ paths: required: true content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -121322,7 +121625,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -121403,7 +121706,7 @@ paths: - closed - all default: open - - *373 + - *374 - name: sort description: What to sort results by. in: query @@ -121428,7 +121731,7 @@ paths: type: array items: *219 examples: - default: *374 + default: *375 headers: Link: *45 '404': *6 @@ -121599,7 +121902,7 @@ 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: - - *666 + - *667 responses: '200': description: Response @@ -121630,7 +121933,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: - - *666 + - *667 responses: '204': description: Response @@ -121846,7 +122149,7 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: default: value: @@ -121960,7 +122263,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -122047,7 +122350,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -122119,7 +122422,7 @@ paths: application/json: schema: type: array - items: *380 + items: *381 examples: default: value: @@ -122381,7 +122684,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -122561,7 +122864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *381 + - *382 - name: exclude in: query required: false @@ -122574,7 +122877,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -122768,7 +123071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *381 + - *382 responses: '302': description: Response @@ -122794,7 +123097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *381 + - *382 responses: '204': description: Response @@ -122823,7 +123126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *381 + - *382 - *800 responses: '204': @@ -122848,7 +123151,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *381 + - *382 - *17 - *19 responses: @@ -122860,7 +123163,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 '404': *6 @@ -122967,7 +123270,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *802 '400': *803 @@ -122990,14 +123293,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: default: &821 value: @@ -123112,8 +123415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 responses: '204': description: Response @@ -123143,8 +123446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *387 - *388 + - *389 - name: token description: package token schema: @@ -123176,8 +123479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *387 - *388 + - *389 - *19 - *17 - name: state @@ -123197,7 +123500,7 @@ paths: application/json: schema: type: array - items: *389 + items: *390 examples: default: value: @@ -123246,15 +123549,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -123290,9 +123593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '204': description: Response @@ -123322,9 +123625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 responses: '204': description: Response @@ -123794,9 +124097,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -123840,7 +124143,7 @@ paths: application/json: schema: type: array - items: *638 + items: *639 examples: default: *805 headers: @@ -123865,7 +124168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *366 + - *367 responses: '204': description: Response @@ -123894,7 +124197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *366 + - *367 responses: '204': description: Response @@ -124465,8 +124768,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: - - *452 - *453 + - *454 responses: '204': description: Response if this repository is starred by you @@ -124494,8 +124797,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -124519,8 +124822,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: - - *452 - *453 + - *454 responses: '204': description: Response @@ -124555,7 +124858,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 '304': *35 @@ -124592,7 +124895,7 @@ paths: application/json: schema: type: array - items: *444 + items: *445 examples: default: value: @@ -124678,8 +124981,8 @@ paths: application/json: schema: oneOf: + - *787 - *786 - - *785 examples: default-response: &815 summary: Default response @@ -124780,7 +125083,7 @@ paths: required: true schema: type: string - - *403 + - *404 requestBody: required: true description: Details of the draft item to create in the project. @@ -124814,9 +125117,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - draft_issue: *409 + draft_issue: *410 '304': *35 '403': *27 '401': *23 @@ -124875,7 +125178,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *813 - - *403 + - *404 requestBody: required: true content: @@ -124953,13 +125256,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *413 + value: *414 board_view: summary: Response for creating a board view with filter - value: *413 + value: *414 roadmap_view: summary: Response for creating a roadmap view - value: *413 + value: *414 '304': *35 '403': *27 '401': *23 @@ -125001,8 +125304,8 @@ paths: application/json: schema: oneOf: + - *787 - *786 - - *785 examples: default-response: *815 response-with-git-hub-plan-information: *816 @@ -125330,7 +125633,7 @@ paths: initiator: type: string examples: - default: *499 + default: *500 '201': description: Response content: @@ -125383,7 +125686,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *802 '403': *27 @@ -125875,7 +126178,7 @@ paths: application/json: schema: *20 examples: - default: *360 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -126011,7 +126314,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: *802 '403': *27 @@ -126036,15 +126339,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: default: *821 x-github: @@ -126067,8 +126370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '204': @@ -126101,8 +126404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *387 - *388 + - *389 - *139 - name: token description: package token @@ -126135,8 +126438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *387 - *388 + - *389 - *139 responses: '200': @@ -126145,7 +126448,7 @@ paths: application/json: schema: type: array - items: *389 + items: *390 examples: default: value: @@ -126203,16 +126506,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *387 - *388 - - *390 + - *389 + - *391 - *139 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: default: value: @@ -126247,10 +126550,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *387 - *388 + - *389 - *139 - - *390 + - *391 responses: '204': description: Response @@ -126282,10 +126585,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *387 - *388 + - *389 - *139 - - *390 + - *391 responses: '204': description: Response @@ -126326,9 +126629,9 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -126350,16 +126653,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *403 + - *404 - *139 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 headers: Link: *45 '304': *35 @@ -126381,7 +126684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *403 + - *404 - *139 - *17 - *108 @@ -126393,7 +126696,7 @@ paths: application/json: schema: type: array - items: *406 + items: *407 examples: default: *822 headers: @@ -126417,7 +126720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *139 - - *403 + - *404 requestBody: required: true content: @@ -126500,7 +126803,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: text_field: *827 number_field: *828 @@ -126527,7 +126830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *403 + - *404 - *832 - *139 responses: @@ -126535,7 +126838,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: *833 headers: @@ -126560,7 +126863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *403 + - *404 - *139 - *108 - *109 @@ -126593,9 +126896,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -126617,7 +126920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *139 - - *403 + - *404 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -126687,22 +126990,22 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *409 + value: *410 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *409 + value: *410 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *409 + value: *410 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *409 + value: *410 '304': *35 '403': *27 '401': *23 @@ -126722,9 +127025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *403 + - *404 - *139 - - *412 + - *413 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -126744,9 +127047,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -126767,9 +127070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *403 + - *404 - *139 - - *412 + - *413 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -126842,13 +127145,13 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - text_field: *411 - number_field: *411 - date_field: *411 - single_select_field: *411 - iteration_field: *411 + text_field: *412 + number_field: *412 + date_field: *412 + single_select_field: *412 + iteration_field: *412 '401': *23 '403': *27 '404': *6 @@ -126868,9 +127171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *403 + - *404 - *139 - - *412 + - *413 responses: '204': description: Response @@ -126892,7 +127195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - - *403 + - *404 - *139 - *834 - name: fields @@ -126920,9 +127223,9 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: - default: *411 + default: *412 headers: Link: *45 '304': *35 @@ -127143,7 +127446,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -127279,7 +127582,7 @@ paths: type: array items: *279 examples: - default: *391 + default: *392 headers: Link: *45 x-github: @@ -133818,7 +134121,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -134150,7 +134453,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -134494,7 +134797,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -134853,7 +135156,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -135136,7 +135439,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -135434,7 +135737,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -135755,7 +136058,7 @@ webhooks: required: - login - id - dismissed_comment: *527 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -136863,7 +137166,7 @@ webhooks: type: string enum: - assignees_changed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -136947,7 +137250,7 @@ webhooks: type: string enum: - auto_dismissed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137032,7 +137335,7 @@ webhooks: type: string enum: - auto_reopened - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137117,7 +137420,7 @@ webhooks: type: string enum: - created - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137200,7 +137503,7 @@ webhooks: type: string enum: - dismissed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137283,7 +137586,7 @@ webhooks: type: string enum: - fixed - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137367,7 +137670,7 @@ webhooks: type: string enum: - reintroduced - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -137450,7 +137753,7 @@ webhooks: type: string enum: - reopened - alert: *585 + alert: *586 installation: *839 organization: *840 enterprise: *838 @@ -138976,10 +139279,10 @@ webhooks: deployment: anyOf: - type: 'null' - - *591 + - *592 pull_requests: type: array - items: *686 + items: *687 repository: *841 organization: *840 installation: *839 @@ -148141,7 +148444,7 @@ webhooks: pin: anyOf: - type: 'null' - - *663 + - *664 user: title: User type: @@ -149040,8 +149343,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149058,7 +149361,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -149640,7 +149943,7 @@ webhooks: pin: anyOf: - type: 'null' - - *663 + - *664 required: - url - html_url @@ -150463,8 +150766,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150481,7 +150784,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -151733,8 +152036,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151751,7 +152054,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -152992,8 +153295,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153010,7 +153313,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -154252,8 +154555,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154270,7 +154573,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -155874,11 +156177,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155895,7 +156198,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -156896,11 +157199,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156917,7 +157220,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -158051,11 +158354,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158072,7 +158375,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -159085,11 +159388,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159106,7 +159409,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -160242,11 +160545,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160260,7 +160563,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -161259,11 +161562,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161277,7 +161580,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -162301,11 +162604,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162319,7 +162622,7 @@ webhooks: timeline_url: type: string format: uri - type: *370 + type: *371 title: description: Title of the issue type: string @@ -163312,11 +163615,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163333,7 +163636,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -164302,11 +164605,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164406,7 +164709,7 @@ webhooks: required: - login - id - type: *370 + type: *371 required: - id - number @@ -165710,11 +166013,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165731,7 +166034,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -166725,11 +167028,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166746,7 +167049,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -167762,11 +168065,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167863,7 +168166,7 @@ webhooks: format: uri user_view_type: type: string - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -168753,11 +169056,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168774,7 +169077,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -169458,7 +169761,7 @@ webhooks: enterprise: *838 installation: *839 issue: *872 - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -170615,11 +170918,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *779 + issue_dependencies_summary: *780 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170636,7 +170939,7 @@ webhooks: title: description: Title of the issue type: string - type: *370 + type: *371 updated_at: type: string format: date-time @@ -170883,7 +171186,7 @@ webhooks: enterprise: *838 installation: *839 issue: *872 - type: *370 + type: *371 organization: *840 repository: *841 sender: *4 @@ -172889,7 +173192,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *519 + head_commit: *520 required: - head_sha - head_ref @@ -178996,7 +179299,7 @@ webhooks: - closed installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -179079,7 +179382,7 @@ webhooks: - created installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -179162,7 +179465,7 @@ webhooks: - deleted installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -179285,7 +179588,7 @@ webhooks: type: string installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -179404,7 +179707,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *407 + content_type: *408 creator: *4 created_at: type: string @@ -180159,7 +180462,7 @@ webhooks: - reopened installation: *839 organization: *840 - projects_v2: *401 + projects_v2: *402 sender: *4 required: - action @@ -188058,7 +188361,7 @@ webhooks: organization: *840 pull_request: &891 allOf: - - *686 + - *687 - type: object properties: allow_auto_merge: @@ -188287,7 +188590,7 @@ webhooks: enum: - demilestoned enterprise: *838 - milestone: *404 + milestone: *405 number: *890 organization: *840 pull_request: &892 @@ -200771,7 +201074,7 @@ webhooks: enum: - milestoned enterprise: *838 - milestone: *404 + milestone: *405 number: *890 organization: *840 pull_request: *892 @@ -244607,7 +244910,7 @@ webhooks: installation: *839 organization: *840 repository: *841 - repository_advisory: *738 + reposito{"code":"deadline_exceeded","msg":"operation timed out"}