diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 9678f82ca..443cc384e 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -18617,6 +18617,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", @@ -103062,6 +103478,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 6c4fe7690..bc3a07ac9 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -13573,6 +13573,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 @@ -74428,6 +74756,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/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index a73e98a97..ac96aeb34 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -18577,6 +18577,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", @@ -102903,6 +103319,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/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 242b672df..dbc692210 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -13540,6 +13540,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 @@ -74298,6 +74626,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 8adfc7b92..27fc5c835 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -18719,6 +18719,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", @@ -103540,6 +103956,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index f8fa0f9c5..49cbb8eb8 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.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 @@ -74715,6 +75043,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 20ce44113..ea036c567 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -4970,6 +4970,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.", @@ -5955,6 +5963,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.", @@ -6794,6 +6810,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.", @@ -7264,6 +7288,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.", @@ -9310,1042 +9342,1058 @@ "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", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { - "type": "boolean", - "example": true - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "account": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ], - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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", - "items": { - "type": "string" - }, - "nullable": true - }, - "token": { - "type": "string" - }, - "token_last_eight": { - "type": "string", - "nullable": true - }, - "hashed_token": { - "type": "string", - "nullable": true - }, - "app": { - "type": "object", - "properties": { - "client_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "client_id", - "name", - "url" - ] - }, - "note": { - "type": "string", - "nullable": true - }, - "note_url": { - "type": "string", - "format": "uri", - "nullable": true - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "fingerprint": { - "type": "string", - "nullable": true - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "installation": { - "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": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "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", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "account": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ], + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "items": { + "type": "string" + }, + "nullable": true + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "type": "string", + "nullable": true + }, + "hashed_token": { + "type": "string", + "nullable": true + }, + "app": { + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "client_id", + "name", + "url" + ] + }, + "note": { + "type": "string", + "nullable": true + }, + "note_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "fingerprint": { + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "installation": { + "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" ] }, - "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.", @@ -11299,6 +11347,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.", @@ -11963,6 +12019,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.", @@ -108476,26 +108540,2360 @@ } }, "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": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": [ { @@ -108506,71 +110904,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": { @@ -108595,8 +110971,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -108621,8 +110997,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -108647,8 +111023,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -108672,16 +111048,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" } } }, @@ -129280,6 +131653,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.", @@ -130280,6 +132661,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.", @@ -360619,6 +363008,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.", @@ -590453,6 +592850,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.", @@ -663945,6 +666350,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.", @@ -856903,6 +859316,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.", @@ -859515,6 +861936,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.", @@ -862034,6 +864463,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.", @@ -864553,6 +866990,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.", @@ -867204,6 +869649,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.", @@ -869862,6 +872315,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.", @@ -874163,6 +876624,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 1e88d4628..5e7de3fc6 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &323 + type: &324 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &651 + - &652 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &210 + - &211 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 @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &212 + default: &213 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &214 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &214 + default: &215 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2441,6 +2441,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 @@ -2884,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &288 + properties: &289 id: description: Unique identifier of the repository example: 42 @@ -3340,7 +3348,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &289 + required: &290 - archive_url - assignees_url - blobs_url @@ -8930,7 +8938,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &194 + - &195 name: state in: query description: |- @@ -8939,7 +8947,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &196 name: severity in: query description: |- @@ -8948,7 +8956,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &197 name: ecosystem in: query description: |- @@ -8957,14 +8965,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &198 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 - - &198 + - &199 name: epss_percentage in: query description: |- @@ -8976,7 +8984,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 - - &486 + - &487 name: has in: query description: |- @@ -8990,7 +8998,7 @@ paths: type: string enum: - patch - - &199 + - &200 name: assignee in: query description: |- @@ -8999,7 +9007,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &200 + - &201 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9009,7 +9017,7 @@ paths: enum: - development - runtime - - &201 + - &202 name: sort in: query description: |- @@ -9035,7 +9043,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 type: object description: A Dependabot alert. properties: @@ -9101,7 +9109,7 @@ paths: - unknown - direct - transitive - security_advisory: &487 + security_advisory: &488 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9363,14 +9371,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &488 + auto_dismissed_at: &489 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &489 + dismissal_request: &490 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9432,7 +9440,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &204 value: - number: 2 state: dismissed @@ -11135,7 +11143,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &540 + properties: &541 id: type: integer format: int64 @@ -11248,7 +11256,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &272 + properties: &273 url: type: string format: uri @@ -11318,7 +11326,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &273 + required: &274 - closed_issues - creator - description @@ -11397,7 +11405,7 @@ paths: timeline_url: type: string format: uri - type: &235 + type: &236 title: Issue Type description: The type of issue. type: object @@ -11511,7 +11519,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &663 + sub_issues_summary: &664 title: Sub-issues Summary type: object properties: @@ -11598,7 +11606,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &562 + properties: &563 pinned_at: type: string format: date-time @@ -11610,7 +11618,7 @@ paths: properties: *20 required: *21 nullable: true - required: &563 + required: &564 - pinned_at - pinned_by nullable: true @@ -11624,7 +11632,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &664 + issue_dependencies_summary: &665 title: Issue Dependencies Summary type: object properties: @@ -11643,7 +11651,7 @@ paths: - total_blocking issue_field_values: type: array - items: &547 + items: &548 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11704,7 +11712,7 @@ paths: - node_id - data_type - value - required: &541 + required: &542 - assignee - closed_at - comments @@ -11742,7 +11750,7 @@ paths: action: type: string issue: *79 - comment: &536 + comment: &537 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12408,7 +12416,7 @@ paths: type: string release: allOf: - - &596 + - &597 title: Release description: A release. type: object @@ -12479,7 +12487,7 @@ paths: author: *4 assets: type: array - items: &597 + items: &598 title: Release Asset description: Data related to a release. type: object @@ -13070,7 +13078,7 @@ paths: url: type: string format: uri - user: &670 + user: &671 title: Public User description: Public User type: object @@ -14942,7 +14950,7 @@ paths: - closed - all default: open - - &238 + - &239 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14993,7 +15001,7 @@ paths: type: array items: *79 examples: - default: &239 + default: &240 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16378,14 +16386,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &335 + - &336 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &336 + - &337 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16447,7 +16455,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &340 description: Moved permanently content: application/json: @@ -16469,7 +16477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &572 + - &573 name: all description: If `true`, show notifications marked as read. in: query @@ -16477,7 +16485,7 @@ paths: schema: type: boolean default: false - - &573 + - &574 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16487,7 +16495,7 @@ paths: type: boolean default: false - *86 - - &574 + - &575 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: @@ -16523,7 +16531,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &205 + properties: &206 id: type: integer format: int64 @@ -16811,7 +16819,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &290 + security_and_analysis: &291 nullable: true type: object properties: @@ -16924,7 +16932,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &206 + required: &207 - archive_url - assignees_url - blobs_url @@ -17012,7 +17020,7 @@ paths: - url - subscription_url examples: - default: &575 + default: &576 value: - id: '1' repository: @@ -19727,7 +19735,7 @@ paths: type: integer repository_cache_usages: type: array - items: &346 + items: &347 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21033,7 +21041,7 @@ paths: - all - local_only - selected - selected_actions_url: &352 + selected_actions_url: &353 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` @@ -21116,7 +21124,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &357 type: object properties: days: @@ -21158,7 +21166,7 @@ paths: required: true content: application/json: - schema: &357 + schema: &358 type: object properties: days: @@ -21215,7 +21223,7 @@ paths: required: - approval_policy examples: - default: &358 + default: &359 value: approval_policy: first_time_contributors '404': *6 @@ -21274,7 +21282,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 type: object required: - run_workflows_from_fork_pull_requests @@ -21328,7 +21336,7 @@ paths: required: true content: application/json: - schema: &360 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -21963,7 +21971,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 type: object properties: default_workflow_permissions: &149 @@ -22014,7 +22022,7 @@ paths: required: false content: application/json: - schema: &362 + schema: &363 type: object properties: default_workflow_permissions: *149 @@ -22503,7 +22511,7 @@ paths: type: array items: *156 examples: - default: &673 + default: &194 value: total_count: 1 repositories: @@ -23145,7 +23153,7 @@ paths: application/json: schema: type: array - items: &363 + items: &364 title: Runner Application description: Runner Application type: object @@ -23170,7 +23178,7 @@ paths: - download_url - filename examples: - default: &364 + default: &365 value: - os: osx architecture: x64 @@ -23256,7 +23264,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &365 + '201': &366 description: Response content: application/json: @@ -23367,7 +23375,7 @@ paths: - token - expires_at examples: - default: &366 + default: &367 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23406,7 +23414,7 @@ paths: application/json: schema: *160 examples: - default: &367 + default: &368 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23440,7 +23448,7 @@ paths: application/json: schema: *158 examples: - default: &368 + default: &369 value: id: 23 name: MBP @@ -23666,7 +23674,7 @@ paths: - *69 - *157 responses: - '200': &369 + '200': &370 description: Response content: application/json: @@ -23723,7 +23731,7 @@ paths: parameters: - *69 - *157 - - &370 + - &371 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23853,7 +23861,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &383 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23882,7 +23890,7 @@ paths: - key_id - key examples: - default: &383 + default: &384 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24295,7 +24303,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *69 - - &351 + - &352 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -25858,7 +25866,7 @@ paths: initiator: type: string examples: - default: &396 + default: &397 value: attestations: - bundle: @@ -26209,7 +26217,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &250 + properties: &251 id: description: Unique identifier of the team type: integer @@ -26281,7 +26289,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &251 + required: &252 - id - node_id - url @@ -26787,7 +26795,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *69 - - &421 + - &422 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`, @@ -26797,7 +26805,7 @@ paths: schema: &181 type: string description: The name of the tool used to generate the code scanning analysis. - - &422 + - &423 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 @@ -26820,7 +26828,7 @@ paths: be returned. in: query required: false - schema: &424 + schema: &425 type: string description: State of a code scanning alert. enum: @@ -26843,7 +26851,7 @@ paths: be returned. in: query required: false - schema: &425 + schema: &426 type: string description: Severity of a code scanning alert. enum: @@ -26877,7 +26885,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: &426 + instances_url: &427 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26900,7 +26908,7 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: &427 + dismissed_reason: &428 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26909,13 +26917,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &428 + dismissed_comment: &429 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &429 + rule: &430 type: object properties: id: @@ -26968,7 +26976,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &430 + tool: &431 type: object properties: name: *181 @@ -26978,26 +26986,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *182 - most_recent_instance: &431 + most_recent_instance: &432 type: object properties: - ref: &423 + ref: &424 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &441 + analysis_key: &442 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: &442 + environment: &443 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: &443 + category: &444 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27011,7 +27019,7 @@ paths: properties: text: type: string - location: &444 + location: &445 type: object description: Describe a region within a file for the alert. properties: @@ -27032,7 +27040,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: &445 + items: &446 type: string description: A classification of the file. For example to identify it as generated. @@ -28323,7 +28331,7 @@ paths: type: integer codespaces: type: array - items: &240 + items: &241 type: object title: Codespace description: A codespace. @@ -28353,7 +28361,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &457 + properties: &458 name: type: string description: The name of the machine. @@ -28395,7 +28403,7 @@ paths: - ready - in_progress nullable: true - required: &458 + required: &459 - name - display_name - operating_system @@ -28600,7 +28608,7 @@ paths: - pulls_url - recent_folders examples: - default: &241 + default: &242 value: total_count: 3 codespaces: @@ -29263,7 +29271,7 @@ paths: - updated_at - visibility examples: - default: &459 + default: &460 value: total_count: 2 secrets: @@ -29301,7 +29309,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &461 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29330,7 +29338,7 @@ paths: - key_id - key examples: - default: &461 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29362,7 +29370,7 @@ paths: application/json: schema: *190 examples: - default: &463 + default: &464 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29829,7 +29837,7 @@ paths: currently being billed. seats: type: array - items: &243 + items: &244 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30304,6 +30312,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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '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: + - *69 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *156 + required: + - total_count + - repositories + examples: + default: *194 + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + 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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + '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: + - *69 + - *145 + responses: + '204': + description: No Content + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + '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: + - *69 + - *145 + responses: + '204': + description: No Content + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + 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 @@ -30505,7 +30808,7 @@ paths: application/json: schema: type: array - items: &328 + items: &329 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30812,7 +31115,7 @@ paths: - date additionalProperties: true examples: - default: &329 + default: &330 value: - date: '2024-06-24' total_active_users: 24 @@ -30914,7 +31217,7 @@ paths: '500': *115 '403': *29 '404': *6 - '422': &330 + '422': &331 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -30942,11 +31245,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *69 - - *194 - *195 - *196 - *197 - *198 + - *199 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -30976,7 +31279,7 @@ paths: enum: - patch - deployment - - *199 + - *200 - name: runtime_risk in: query description: |- @@ -30985,8 +31288,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *200 - *201 + - *202 - *55 - *47 - *48 @@ -30998,9 +31301,9 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *203 + default: *204 '304': *37 '400': *14 '403': *29 @@ -31044,7 +31347,7 @@ paths: type: integer secrets: type: array - items: &204 + items: &205 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31121,7 +31424,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &493 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31138,7 +31441,7 @@ paths: - key_id - key examples: - default: &493 + default: &494 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31168,7 +31471,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -31467,7 +31770,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Package description: A software package type: object @@ -31517,8 +31820,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *205 - required: *206 + properties: *206 + required: *207 nullable: true created_at: type: string @@ -31537,7 +31840,7 @@ paths: - created_at - updated_at examples: - default: &254 + default: &255 value: - id: 197 name: hello_docker @@ -31707,7 +32010,7 @@ paths: application/json: schema: type: array - items: &229 + items: &230 title: Organization Invitation description: Organization Invitation type: object @@ -31754,7 +32057,7 @@ paths: - invitation_teams_url - node_id examples: - default: &230 + default: &231 value: - id: 1 login: monalisa @@ -31821,7 +32124,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Org Hook description: Org Hook type: object @@ -31992,9 +32295,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: &208 + default: &209 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32042,7 +32345,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *69 - - &209 + - &210 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. @@ -32055,9 +32358,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *208 + default: *209 '404': *6 x-github: githubCloudOnly: false @@ -32085,7 +32388,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *69 - - *209 + - *210 requestBody: required: false content: @@ -32130,7 +32433,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -32172,7 +32475,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *69 - - *209 + - *210 responses: '204': description: Response @@ -32200,7 +32503,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *69 - - *209 + - *210 responses: '200': description: Response @@ -32231,7 +32534,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *69 - - *209 + - *210 requestBody: required: false content: @@ -32282,9 +32585,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *69 - - *209 - - *17 - *210 + - *17 + - *211 responses: '200': description: Response @@ -32292,9 +32595,9 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 + default: *213 '400': *14 '422': *15 x-github: @@ -32320,16 +32623,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *69 - - *209 + - *210 - *16 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '400': *14 '422': *15 x-github: @@ -32355,7 +32658,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *69 - - *209 + - *210 - *16 responses: '202': *39 @@ -32385,7 +32688,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *69 - - *209 + - *210 responses: '204': description: Response @@ -32408,7 +32711,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *69 - - &219 + - &220 name: actor_type in: path description: The type of the actor @@ -32421,14 +32724,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &220 + - &221 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &215 + - &216 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`.' @@ -32436,7 +32739,7 @@ paths: required: true schema: type: string - - &216 + - &217 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) @@ -32530,12 +32833,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *69 - - *215 - *216 + - *217 - *19 - *17 - *55 - - &225 + - &226 name: sort description: The property to sort the results by. in: query @@ -32613,14 +32916,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *69 - - *215 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: &217 + schema: &218 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32636,7 +32939,7 @@ paths: type: integer format: int64 examples: - default: &218 + default: &219 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32657,23 +32960,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *69 - - &221 + - &222 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *215 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *218 + default: *219 x-github: enabledForGitHubApps: true category: orgs @@ -32692,18 +32995,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *69 - - *215 - *216 - - *219 + - *217 - *220 + - *221 responses: '200': description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *218 + default: *219 x-github: enabledForGitHubApps: true category: orgs @@ -32721,9 +33024,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *69 - - *215 - *216 - - &222 + - *217 + - &223 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -32736,7 +33039,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -32752,7 +33055,7 @@ paths: type: integer format: int64 examples: - default: &224 + default: &225 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -32789,18 +33092,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *69 - - *221 - - *215 - - *216 - *222 + - *216 + - *217 + - *223 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32818,19 +33121,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *69 - - *219 - *220 - - *215 + - *221 - *216 - - *222 + - *217 + - *223 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32848,13 +33151,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *69 - - *221 - - *215 + - *222 - *216 + - *217 - *19 - *17 - *55 - - *225 + - *226 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -32935,7 +33238,7 @@ paths: application/json: schema: *22 examples: - default: &531 + default: &532 value: id: 1 account: @@ -33101,12 +33404,12 @@ paths: application/json: schema: anyOf: - - &227 + - &228 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &226 + limit: &227 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33131,7 +33434,7 @@ paths: properties: {} additionalProperties: false examples: - default: &228 + default: &229 value: limit: collaborators_only origin: organization @@ -33160,13 +33463,13 @@ paths: required: true content: application/json: - schema: &532 + schema: &533 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *226 + limit: *227 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33190,9 +33493,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 '422': *15 x-github: githubCloudOnly: false @@ -33268,9 +33571,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *230 + default: *231 headers: Link: *61 '404': *6 @@ -33347,7 +33650,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *230 examples: default: value: @@ -33402,7 +33705,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *69 - - &231 + - &232 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33433,7 +33736,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *69 - - *231 + - *232 - *17 - *19 responses: @@ -33445,7 +33748,7 @@ paths: type: array items: *193 examples: - default: &252 + default: &253 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33488,7 +33791,7 @@ paths: application/json: schema: type: array - items: &232 + items: &233 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -33721,9 +34024,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: &233 + default: &234 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -33779,7 +34082,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *69 - - &234 + - &235 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -33878,9 +34181,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *6 '422': *7 x-github: @@ -33905,7 +34208,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *69 - - *234 + - *235 responses: '204': *187 '404': *6 @@ -33935,7 +34238,7 @@ paths: application/json: schema: type: array - items: *235 + items: *236 examples: default: value: @@ -34020,9 +34323,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: &236 + default: &237 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34055,7 +34358,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *69 - - &237 + - &238 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34108,9 +34411,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '404': *6 '422': *7 x-github: @@ -34135,7 +34438,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *69 - - *237 + - *238 responses: '204': description: Response @@ -34198,7 +34501,7 @@ paths: - closed - all default: open - - *238 + - *239 - name: type description: Can be the name of an issue type. in: query @@ -34229,7 +34532,7 @@ paths: type: array items: *79 examples: - default: *239 + default: *240 headers: Link: *61 '404': *6 @@ -34388,9 +34691,9 @@ paths: type: integer codespaces: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '304': *37 '500': *115 '401': *25 @@ -34417,7 +34720,7 @@ paths: parameters: - *69 - *65 - - &242 + - &243 name: codespace_name in: path required: true @@ -34452,15 +34755,15 @@ paths: parameters: - *69 - *65 - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: &456 + default: &457 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34640,7 +34943,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *243 + schema: *244 examples: default: value: @@ -34716,7 +35019,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Org Membership description: Org Membership type: object @@ -34783,7 +35086,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &245 + response-if-user-has-an-active-admin-membership-with-organization: &246 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -34884,9 +35187,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - response-if-user-already-had-membership-with-organization: *245 + response-if-user-already-had-membership-with-organization: *246 '422': *15 '403': *29 x-github: @@ -34957,7 +35260,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Migration description: A migration. type: object @@ -35286,7 +35589,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35465,7 +35768,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *69 - - &247 + - &248 name: migration_id description: The unique identifier of the migration. in: path @@ -35492,7 +35795,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35662,7 +35965,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *69 - - *247 + - *248 responses: '302': description: Response @@ -35684,7 +35987,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *69 - - *247 + - *248 responses: '204': description: Response @@ -35708,7 +36011,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *69 - - *247 + - *248 - &686 name: repo_name description: repo_name parameter @@ -35737,7 +36040,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *69 - - *247 + - *248 - *17 - *19 responses: @@ -35749,7 +36052,7 @@ paths: type: array items: *156 examples: - default: &259 + default: &260 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35904,7 +36207,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &249 + items: &250 title: Organization Role description: Organization roles type: object @@ -36079,7 +36382,7 @@ paths: parameters: - *69 - *71 - - &248 + - &249 name: role_id description: The unique identifier of the role. in: path @@ -36116,7 +36419,7 @@ paths: parameters: - *69 - *71 - - *248 + - *249 responses: '204': description: Response @@ -36169,7 +36472,7 @@ paths: parameters: - *69 - *65 - - *248 + - *249 responses: '204': description: Response @@ -36201,7 +36504,7 @@ paths: parameters: - *69 - *65 - - *248 + - *249 responses: '204': description: Response @@ -36230,13 +36533,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *69 - - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *249 + schema: *250 examples: default: value: @@ -36287,7 +36590,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *69 - - *248 + - *249 - *17 - *19 responses: @@ -36365,8 +36668,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 nullable: true type: description: The ownership type of the team @@ -36398,7 +36701,7 @@ paths: - type - parent examples: - default: *252 + default: *253 headers: Link: *61 '404': @@ -36428,7 +36731,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *69 - - *248 + - *249 - *17 - *19 responses: @@ -36456,13 +36759,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &324 + items: &325 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 name: nullable: true type: string @@ -36786,9 +37089,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *254 + default: *255 '403': *29 '401': *25 '400': &689 @@ -36813,7 +37116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &255 + - &256 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 @@ -36831,7 +37134,7 @@ paths: - docker - nuget - container - - &256 + - &257 name: package_name description: The name of the package. in: path @@ -36844,7 +37147,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: default: value: @@ -36896,8 +37199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *255 - *256 + - *257 - *69 responses: '204': @@ -36930,8 +37233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - name: token description: package token @@ -36964,8 +37267,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: - - *255 - *256 + - *257 - *69 - *19 - *17 @@ -36986,7 +37289,7 @@ paths: application/json: schema: type: array - items: &257 + items: &258 title: Package Version description: A version of a software package type: object @@ -37111,10 +37414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - - &258 + - &259 name: package_version_id description: Unique identifier of the package version. in: path @@ -37126,7 +37429,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -37162,10 +37465,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - - *258 + - *259 responses: '204': description: Response @@ -37197,10 +37500,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - - *258 + - *259 responses: '204': description: Response @@ -37230,7 +37533,7 @@ paths: - *69 - *17 - *19 - - &260 + - &261 name: sort description: The property by which to sort the results. in: query @@ -37241,7 +37544,7 @@ paths: - created_at default: created_at - *55 - - &261 + - &262 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37252,7 +37555,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &262 + - &263 name: repository description: The name of the repository to use to filter the results. in: query @@ -37260,7 +37563,7 @@ paths: schema: type: string example: Hello-World - - &263 + - &264 name: permission description: The permission to use to filter the results. in: query @@ -37268,7 +37571,7 @@ paths: schema: type: string example: issues_read - - &264 + - &265 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) @@ -37278,7 +37581,7 @@ paths: schema: type: string format: date-time - - &265 + - &266 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) @@ -37288,7 +37591,7 @@ paths: schema: type: string format: date-time - - &266 + - &267 name: token_id description: The ID of the token in: query @@ -37601,7 +37904,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 x-github: @@ -37627,14 +37930,14 @@ paths: - *69 - *17 - *19 - - *260 - - *55 - *261 + - *55 - *262 - *263 - *264 - *265 - *266 + - *267 responses: '500': *115 '422': *15 @@ -37916,7 +38219,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 x-github: @@ -37958,7 +38261,7 @@ paths: type: integer configurations: type: array - items: &267 + items: &268 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38248,7 +38551,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &268 + org-private-registry-with-selected-visibility: &269 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38344,9 +38647,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *267 + schema: *268 examples: - default: *268 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -38513,7 +38816,7 @@ paths: application/json: schema: type: array - items: &269 + items: &270 title: Projects v2 Project description: A projects v2 project type: object @@ -38656,7 +38959,7 @@ paths: - deleted_at - deleted_by examples: - default: &270 + default: &271 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38759,7 +39062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &271 + - &272 name: project_number description: The project's number. in: path @@ -38772,9 +39075,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *270 + default: *271 headers: Link: *61 '304': *37 @@ -38797,7 +39100,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *69 - - *271 + - *272 requestBody: required: true description: Details of the draft item to create in the project. @@ -38831,7 +39134,7 @@ paths: description: Response content: application/json: - schema: &277 + schema: &278 title: Projects v2 Item description: An item belonging to a project type: object @@ -38845,7 +39148,7 @@ paths: content: oneOf: - *79 - - &473 + - &474 title: Pull Request Simple description: Pull Request Simple type: object @@ -38951,8 +39254,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true active_lock_reason: type: string @@ -39045,7 +39348,7 @@ paths: _links: type: object properties: - comments: &274 + comments: &275 title: Link description: Hypermedia Link type: object @@ -39054,13 +39357,13 @@ paths: type: string required: - href - commits: *274 - statuses: *274 - html: *274 - issue: *274 - review_comments: *274 - review_comment: *274 - self: *274 + commits: *275 + statuses: *275 + html: *275 + issue: *275 + review_comments: *275 + review_comment: *275 + self: *275 required: - comments - commits @@ -39071,7 +39374,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &582 + auto_merge: &583 title: Auto merge description: The status of auto merging a pull request. type: object @@ -39173,7 +39476,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &276 + content_type: &277 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39213,7 +39516,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &278 + draft_issue: &279 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39287,7 +39590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *271 + - *272 - *69 - *17 - *47 @@ -39299,7 +39602,7 @@ paths: application/json: schema: type: array - items: &275 + items: &276 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -39579,7 +39882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *271 + - *272 - *69 requestBody: required: true @@ -39764,7 +40067,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *275 + schema: *276 examples: text_field: &713 value: @@ -39872,7 +40175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *271 + - *272 - &718 name: field_id description: The unique identifier of the field. @@ -39886,7 +40189,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: &719 value: @@ -39944,7 +40247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *271 + - *272 - *69 - 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) @@ -39977,7 +40280,7 @@ paths: application/json: schema: type: array - items: &279 + items: &280 title: Projects v2 Item description: An item belonging to a project type: object @@ -39993,7 +40296,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *276 + content_type: *277 content: type: object additionalProperties: true @@ -40036,7 +40339,7 @@ paths: - updated_at - archived_at examples: - default: &280 + default: &281 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40734,7 +41037,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *69 - - *271 + - *272 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -40804,22 +41107,22 @@ paths: description: Response content: application/json: - schema: *277 + schema: *278 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *278 + value: *279 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *278 + value: *279 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *278 + value: *279 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *278 + value: *279 '304': *37 '403': *29 '401': *25 @@ -40839,9 +41142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *271 + - *272 - *69 - - &281 + - &282 name: item_id description: The unique identifier of the project item. in: path @@ -40867,9 +41170,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -40890,9 +41193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *271 + - *272 - *69 - - *281 + - *282 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -40962,13 +41265,13 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - text_field: *280 - number_field: *280 - date_field: *280 - single_select_field: *280 - iteration_field: *280 + text_field: *281 + number_field: *281 + date_field: *281 + single_select_field: *281 + iteration_field: *281 '401': *25 '403': *29 '404': *6 @@ -40988,9 +41291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *271 + - *272 - *69 - - *281 + - *282 responses: '204': description: Response @@ -41014,7 +41317,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *69 - - *271 + - *272 requestBody: required: true content: @@ -41183,7 +41486,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &282 + value: &283 value: id: 1 number: 1 @@ -41229,10 +41532,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *282 + value: *283 roadmap_view: summary: Response for creating a roadmap view - value: *282 + value: *283 '304': *37 '403': *29 '401': *25 @@ -41260,7 +41563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *271 + - *272 - *69 - &720 name: view_number @@ -41294,9 +41597,9 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -41329,7 +41632,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41397,7 +41700,7 @@ paths: - property_name - value_type examples: - default: &284 + default: &285 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41457,7 +41760,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *283 + items: *284 minItems: 1 maxItems: 100 required: @@ -41487,9 +41790,9 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *284 + default: *285 '403': *29 '404': *6 x-github: @@ -41511,7 +41814,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *69 - - &285 + - &286 name: custom_property_name description: The custom property name in: path @@ -41523,9 +41826,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: &286 + default: &287 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41560,7 +41863,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *69 - - *285 + - *286 requestBody: required: true content: @@ -41631,9 +41934,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *286 + default: *287 '403': *29 '404': *6 x-github: @@ -41657,7 +41960,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *69 - - *285 + - *286 responses: '204': *187 '403': *29 @@ -41718,7 +42021,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &287 + items: &288 title: Custom Property Value description: Custom property name and associated value type: object @@ -41805,7 +42108,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *287 + items: *288 required: - repository_names - properties @@ -41997,7 +42300,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 x-github: @@ -42199,7 +42502,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Full Repository description: Full Repository type: object @@ -42490,8 +42793,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *288 - required: *289 + properties: *289 + required: *290 nullable: true temp_clone_token: type: string @@ -42606,7 +42909,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &478 + properties: &479 url: type: string format: uri @@ -42622,12 +42925,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &479 + required: &480 - url - key - name - html_url - security_and_analysis: *290 + security_and_analysis: *291 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42711,7 +43014,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &341 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43232,7 +43535,7 @@ paths: - *69 - *17 - *19 - - &604 + - &605 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43250,7 +43553,7 @@ paths: application/json: schema: type: array - items: &317 + items: &318 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43285,7 +43588,7 @@ paths: source: type: string description: The name of the source - enforcement: &293 + enforcement: &294 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43298,7 +43601,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &294 + items: &295 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43368,7 +43671,7 @@ paths: conditions: nullable: true anyOf: - - &291 + - &292 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43392,7 +43695,7 @@ paths: match. items: type: string - - &295 + - &296 title: Organization ruleset conditions type: object description: |- @@ -43406,7 +43709,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *291 + - *292 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43440,7 +43743,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *291 + - *292 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43462,7 +43765,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *291 + - *292 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43475,7 +43778,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &292 + items: &293 title: Repository ruleset property targeting definition type: object @@ -43508,17 +43811,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *292 + items: *293 required: - repository_property rules: type: array - items: &605 + items: &606 title: Repository Rule type: object description: A repository rule. oneOf: - - &296 + - &297 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43530,7 +43833,7 @@ paths: type: string enum: - creation - - &297 + - &298 title: update description: Only allow users with bypass permission to update matching refs. @@ -43551,7 +43854,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &298 + - &299 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43563,7 +43866,7 @@ paths: type: string enum: - deletion - - &299 + - &300 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43575,7 +43878,7 @@ paths: type: string enum: - required_linear_history - - &603 + - &604 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43653,7 +43956,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &300 + - &301 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43677,7 +43980,7 @@ paths: type: string required: - required_deployment_environments - - &301 + - &302 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43689,7 +43992,7 @@ paths: type: string enum: - required_signatures - - &302 + - &303 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -43795,7 +44098,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &303 + - &304 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -43843,7 +44146,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &304 + - &305 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -43855,7 +44158,7 @@ paths: type: string enum: - non_fast_forward - - &305 + - &306 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -43892,7 +44195,7 @@ paths: required: - operator - pattern - - &306 + - &307 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -43929,7 +44232,7 @@ paths: required: - operator - pattern - - &307 + - &308 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43966,7 +44269,7 @@ paths: required: - operator - pattern - - &308 + - &309 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44003,7 +44306,7 @@ paths: required: - operator - pattern - - &309 + - &310 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44040,7 +44343,7 @@ paths: required: - operator - pattern - - &310 + - &311 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44065,7 +44368,7 @@ paths: type: string required: - restricted_file_paths - - &311 + - &312 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44089,7 +44392,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &312 + - &313 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44112,7 +44415,7 @@ paths: type: string required: - restricted_file_extensions - - &313 + - &314 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44137,7 +44440,7 @@ paths: maximum: 100 required: - max_file_size - - &314 + - &315 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44187,7 +44490,7 @@ paths: - repository_id required: - workflows - - &315 + - &316 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44248,7 +44551,7 @@ paths: - tool required: - code_scanning_tools - - &316 + - &317 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44347,21 +44650,20 @@ paths: - push - repository default: branch - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *295 + items: *295 + conditions: *296 rules: type: array description: An array of rules within the ruleset. - items: &319 + items: &320 title: Repository Rule type: object description: A repository rule. oneOf: - - *296 - *297 - *298 - *299 @@ -44382,6 +44684,7 @@ paths: - *314 - *315 - *316 + - *317 required: - name - enforcement @@ -44419,9 +44722,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: &318 + default: &319 value: id: 21 name: super cool ruleset @@ -44477,7 +44780,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *69 - - &606 + - &607 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 @@ -44492,7 +44795,7 @@ paths: in: query schema: type: string - - &607 + - &608 name: time_period description: |- The time period to filter by. @@ -44508,14 +44811,14 @@ paths: - week - month default: day - - &608 + - &609 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 - - &609 + - &610 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44535,7 +44838,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &611 title: Rule Suites description: Response type: array @@ -44590,7 +44893,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &611 + default: &612 value: - id: 21 actor_id: 12 @@ -44634,7 +44937,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *69 - - &612 + - &613 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44650,7 +44953,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Rule Suite description: Response type: object @@ -44749,7 +45052,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &614 + default: &615 value: id: 21 actor_id: 12 @@ -44822,9 +45125,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '404': *6 '500': *115 put: @@ -44868,16 +45171,16 @@ paths: - tag - push - repository - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *295 + items: *295 + conditions: *296 rules: description: An array of rules within the ruleset. type: array - items: *319 + items: *320 examples: default: value: @@ -44912,9 +45215,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '404': *6 '422': *15 '500': *115 @@ -44972,7 +45275,7 @@ paths: application/json: schema: type: array - items: &320 + items: &321 title: Ruleset version type: object description: The historical version of a ruleset @@ -44996,7 +45299,7 @@ paths: type: string format: date-time examples: - default: &616 + default: &617 value: - version_id: 3 actor: @@ -45049,9 +45352,9 @@ paths: description: Response content: application/json: - schema: &617 + schema: &618 allOf: - - *320 + - *321 - type: object required: - state @@ -45121,7 +45424,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *69 - - &618 + - &619 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45132,7 +45435,7 @@ paths: enum: - open - resolved - - &619 + - &620 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45142,7 +45445,7 @@ paths: required: false schema: type: string - - &620 + - &621 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45151,7 +45454,7 @@ paths: required: false schema: type: string - - &621 + - &622 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45170,7 +45473,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &622 + - &623 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. @@ -45185,7 +45488,7 @@ paths: - *55 - *19 - *17 - - &623 + - &624 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 @@ -45195,7 +45498,7 @@ paths: required: false schema: type: string - - &624 + - &625 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 @@ -45205,7 +45508,7 @@ paths: required: false schema: type: string - - &625 + - &626 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45214,7 +45517,7 @@ paths: required: false schema: type: string - - &626 + - &627 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45223,7 +45526,7 @@ paths: schema: type: boolean default: false - - &627 + - &628 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45232,7 +45535,7 @@ paths: schema: type: boolean default: false - - &628 + - &629 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45267,14 +45570,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &629 + state: &630 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: &630 + resolution: &631 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -45381,8 +45684,8 @@ paths: pull request. ' - oneOf: &631 - - &633 + oneOf: &632 + - &634 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45434,7 +45737,7 @@ paths: - blob_url - commit_sha - commit_url - - &634 + - &635 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. @@ -45489,7 +45792,7 @@ paths: - page_url - commit_sha - commit_url - - &635 + - &636 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45503,7 +45806,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &636 + - &637 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45517,7 +45820,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &637 + - &638 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45531,7 +45834,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &638 + - &639 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45545,7 +45848,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &639 + - &640 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45559,7 +45862,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &640 + - &641 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45573,7 +45876,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &641 + - &642 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. @@ -45587,7 +45890,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &642 + - &643 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. @@ -45601,7 +45904,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &643 + - &644 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. @@ -45615,7 +45918,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &644 + - &645 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. @@ -45629,7 +45932,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &645 + - &646 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -45871,7 +46174,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &322 + pattern_config_version: &323 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -45880,7 +46183,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &321 + items: &322 type: object properties: token_type: @@ -45946,7 +46249,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *321 + items: *322 examples: default: value: @@ -46003,7 +46306,7 @@ paths: schema: type: object properties: - pattern_config_version: *322 + pattern_config_version: *323 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46029,7 +46332,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *322 + custom_pattern_version: *323 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46127,7 +46430,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 description: A repository security advisory. type: object properties: @@ -46347,7 +46650,7 @@ paths: login: type: string description: The username of the user credited. - type: *323 + type: *324 credits_detailed: type: array nullable: true @@ -46357,7 +46660,7 @@ paths: type: object properties: user: *4 - type: *323 + type: *324 state: type: string description: The state of the user's acceptance of the @@ -46418,7 +46721,7 @@ paths: - private_fork additionalProperties: false examples: - default: &650 + default: &651 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46805,7 +47108,7 @@ paths: application/json: schema: type: array - items: *324 + items: *325 examples: default: value: @@ -47158,7 +47461,7 @@ paths: type: integer network_configurations: type: array - items: &325 + items: &326 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47291,9 +47594,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: &326 + default: &327 value: id: 123456789ABCDEF name: My network configuration @@ -47322,7 +47625,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *69 - - &327 + - &328 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47334,9 +47637,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 headers: Link: *61 x-github: @@ -47358,7 +47661,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *69 - - *327 + - *328 requestBody: required: true content: @@ -47398,9 +47701,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47420,7 +47723,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *69 - - *327 + - *328 responses: '204': description: Response @@ -47560,13 +47863,13 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *329 + default: *330 '500': *115 '403': *29 '404': *6 - '422': *330 + '422': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47608,7 +47911,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 headers: Link: *61 '403': *29 @@ -47702,7 +48005,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47765,8 +48068,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 nullable: true members_count: type: integer @@ -48029,7 +48332,7 @@ paths: - repos_count - organization examples: - default: &332 + default: &333 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48106,9 +48409,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 x-github: githubCloudOnly: false @@ -48192,16 +48495,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '201': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 '422': *15 '403': *29 @@ -48231,7 +48534,7 @@ paths: responses: '204': description: Response - '422': &333 + '422': &334 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -48265,12 +48568,12 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *230 + default: *231 headers: Link: *61 - '422': *333 + '422': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48352,7 +48655,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 title: Team Membership description: Team Membership type: object @@ -48379,7 +48682,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &666 + response-if-user-is-a-team-maintainer: &667 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48442,9 +48745,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - response-if-users-membership-with-team-is-now-pending: &667 + response-if-users-membership-with-team-is-now-pending: &668 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48520,7 +48823,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 x-github: @@ -48551,14 +48854,14 @@ paths: parameters: - *69 - *71 - - *335 - *336 + - *337 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &668 + schema: &669 title: Team Repository description: A team's access to a repository. type: object @@ -49129,8 +49432,8 @@ paths: parameters: - *69 - *71 - - *335 - *336 + - *337 requestBody: required: false content: @@ -49177,8 +49480,8 @@ paths: parameters: - *69 - *71 - - *335 - *336 + - *337 responses: '204': description: Response @@ -49215,7 +49518,7 @@ paths: type: array items: *193 examples: - response-if-child-teams-exist: &669 + response-if-child-teams-exist: &670 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49369,7 +49672,7 @@ paths: resources: type: object properties: - core: &337 + core: &338 title: Rate Limit type: object properties: @@ -49386,21 +49689,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *338 + search: *338 + code_search: *338 + source_import: *338 + integration_manifest: *338 + code_scanning_upload: *338 + actions_runner_registration: *338 + scim: *338 + dependency_snapshots: *338 + dependency_sbom: *338 + code_scanning_autofix: *338 required: - core - search - rate: *337 + rate: *338 required: - rate - resources @@ -49505,14 +49808,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: default-response: summary: Default response @@ -50017,7 +50320,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50035,8 +50338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -50327,10 +50630,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 - '307': &341 + default: *341 + '307': &342 description: Temporary Redirect content: application/json: @@ -50359,8 +50662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -50382,7 +50685,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *342 '404': *6 '409': *54 x-github: @@ -50406,11 +50709,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 - - &374 + - &375 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50433,7 +50736,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &343 title: Artifact description: An artifact type: object @@ -50511,7 +50814,7 @@ paths: - expires_at - updated_at examples: - default: &375 + default: &376 value: total_count: 2 artifacts: @@ -50572,9 +50875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *335 - *336 - - &343 + - *337 + - &344 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50586,7 +50889,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: default: value: @@ -50624,9 +50927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *335 - *336 - - *343 + - *337 + - *344 responses: '204': description: Response @@ -50650,9 +50953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *335 - *336 - - *343 + - *337 + - *344 - name: archive_format in: path required: true @@ -50666,7 +50969,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': &535 + '410': &536 description: Gone content: application/json: @@ -50691,14 +50994,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &344 + schema: &345 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -50731,13 +51034,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *344 + schema: *345 examples: selected_actions: *42 responses: @@ -50766,14 +51069,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &345 + schema: &346 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -50806,13 +51109,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *345 + schema: *346 examples: selected_actions: *44 responses: @@ -50843,14 +51146,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50876,11 +51179,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 - - &347 + - &348 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50914,7 +51217,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 title: Repository actions caches description: Repository actions caches type: object @@ -50956,7 +51259,7 @@ paths: - total_count - actions_caches examples: - default: &349 + default: &350 value: total_count: 1 actions_caches: @@ -50988,23 +51291,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: - - *335 - *336 + - *337 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51024,8 +51327,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: - - *335 - *336 + - *337 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51056,9 +51359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *335 - *336 - - &350 + - *337 + - &351 name: job_id description: The unique identifier of the job. in: path @@ -51070,7 +51373,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &379 title: Job description: Information of a job execution in a workflow run type: object @@ -51377,9 +51680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *335 - *336 - - *350 + - *337 + - *351 responses: '302': description: Response @@ -51407,9 +51710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *335 - *336 - - *350 + - *337 + - *351 requestBody: required: false content: @@ -51454,8 +51757,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: - - *335 - *336 + - *337 responses: '200': description: Status response @@ -51505,8 +51808,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -51569,8 +51872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -51588,7 +51891,7 @@ paths: type: integer secrets: type: array - items: &380 + items: &381 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51608,7 +51911,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &382 value: total_count: 2 secrets: @@ -51641,9 +51944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *335 - *336 - - *351 + - *337 + - *352 - *19 responses: '200': @@ -51660,7 +51963,7 @@ paths: type: integer variables: type: array - items: &384 + items: &385 title: Actions Variable type: object properties: @@ -51690,7 +51993,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &386 value: total_count: 2 variables: @@ -51723,8 +52026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -51733,11 +52036,11 @@ paths: schema: type: object properties: - enabled: &353 + enabled: &354 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *141 - selected_actions_url: *352 + selected_actions_url: *353 sha_pinning_required: *142 required: - enabled @@ -51766,8 +52069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -51778,7 +52081,7 @@ paths: schema: type: object properties: - enabled: *353 + enabled: *354 allowed_actions: *141 sha_pinning_required: *142 required: @@ -51810,14 +52113,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: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &354 + schema: &355 type: object properties: access_level: @@ -51834,7 +52137,7 @@ paths: required: - access_level examples: - default: &355 + default: &356 value: access_level: organization x-github: @@ -51858,15 +52161,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: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 responses: '204': description: Response @@ -51890,14 +52193,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *356 + schema: *357 examples: default: value: @@ -51921,8 +52224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Empty response for successful settings update @@ -51932,7 +52235,7 @@ paths: required: true content: application/json: - schema: *357 + schema: *358 examples: default: summary: Set retention days @@ -51956,8 +52259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -51965,7 +52268,7 @@ paths: application/json: schema: *143 examples: - default: *358 + default: *359 '404': *6 x-github: enabledForGitHubApps: true @@ -51984,8 +52287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -52019,14 +52322,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: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default: *144 '403': *29 @@ -52048,13 +52351,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: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *360 + schema: *361 examples: default: *144 responses: @@ -52080,8 +52383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -52108,8 +52411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -52141,14 +52444,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: default: *151 x-github: @@ -52171,8 +52474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Success response @@ -52183,7 +52486,7 @@ paths: required: true content: application/json: - schema: *362 + schema: *363 examples: default: *151 x-github: @@ -52212,8 +52515,8 @@ paths: in: query schema: type: string - - *335 - *336 + - *337 - *17 - *19 responses: @@ -52257,8 +52560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -52266,9 +52569,9 @@ paths: application/json: schema: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52290,8 +52593,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -52334,7 +52637,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *365 + '201': *366 '404': *6 '422': *7 '409': *54 @@ -52365,8 +52668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *335 - *336 + - *337 responses: '201': description: Response @@ -52374,7 +52677,7 @@ paths: application/json: schema: *160 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52402,8 +52705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *335 - *336 + - *337 responses: '201': description: Response @@ -52411,7 +52714,7 @@ paths: application/json: schema: *160 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52433,8 +52736,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: - - *335 - *336 + - *337 - *157 responses: '200': @@ -52443,7 +52746,7 @@ paths: application/json: schema: *158 examples: - default: *368 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52464,8 +52767,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: - - *335 - *336 + - *337 - *157 responses: '204': @@ -52492,8 +52795,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: - - *335 - *336 + - *337 - *157 responses: '200': *162 @@ -52518,8 +52821,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: - - *335 - *336 + - *337 - *157 requestBody: required: true @@ -52568,8 +52871,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: - - *335 - *336 + - *337 - *157 requestBody: required: true @@ -52619,11 +52922,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: - - *335 - *336 + - *337 - *157 responses: - '200': *369 + '200': *370 '404': *6 x-github: githubCloudOnly: false @@ -52650,10 +52953,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: - - *335 - *336 + - *337 - *157 - - *370 + - *371 responses: '200': *162 '404': *6 @@ -52681,9 +52984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *335 - *336 - - &388 + - *337 + - &389 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. @@ -52691,7 +52994,7 @@ paths: required: false schema: type: string - - &389 + - &390 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52699,7 +53002,7 @@ paths: required: false schema: type: string - - &390 + - &391 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52708,7 +53011,7 @@ paths: required: false schema: type: string - - &391 + - &392 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 @@ -52735,7 +53038,7 @@ paths: - pending - *17 - *19 - - &392 + - &393 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)." @@ -52744,7 +53047,7 @@ paths: schema: type: string format: date-time - - &371 + - &372 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52753,13 +53056,13 @@ paths: schema: type: boolean default: false - - &393 + - &394 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &394 + - &395 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52782,7 +53085,7 @@ paths: type: integer workflow_runs: type: array - items: &372 + items: &373 title: Workflow Run description: An invocation of a workflow type: object @@ -52930,7 +53233,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &416 + properties: &417 id: type: string description: SHA for the commit @@ -52981,7 +53284,7 @@ paths: - name - email nullable: true - required: &417 + required: &418 - id - tree_id - message @@ -53028,7 +53331,7 @@ paths: - workflow_url - pull_requests examples: - default: &395 + default: &396 value: total_count: 1 workflow_runs: @@ -53264,24 +53567,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *335 - *336 - - &373 + - *337 + - &374 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &376 + default: &377 value: id: 30433642 name: Build @@ -53522,9 +53825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '204': description: Response @@ -53547,9 +53850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '200': description: Response @@ -53668,9 +53971,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: - - *335 - *336 - - *373 + - *337 + - *374 responses: '201': description: Response @@ -53703,12 +54006,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *335 - *336 - - *373 + - *337 + - *374 - *17 - *19 - - *374 + - *375 - *55 responses: '200': @@ -53725,9 +54028,9 @@ paths: type: integer artifacts: type: array - items: *342 + items: *343 examples: - default: *375 + default: *376 headers: Link: *61 x-github: @@ -53751,25 +54054,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *335 - *336 - - *373 - - &377 + - *337 + - *374 + - &378 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *376 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53792,10 +54095,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *335 - *336 - - *373 - - *377 + - *337 + - *374 + - *378 - *17 - *19 responses: @@ -53813,9 +54116,9 @@ paths: type: integer jobs: type: array - items: *378 + items: *379 examples: - default: &379 + default: &380 value: total_count: 1 jobs: @@ -53928,10 +54231,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *335 - *336 - - *373 - - *377 + - *337 + - *374 + - *378 responses: '302': description: Response @@ -53959,9 +54262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '202': description: Response @@ -53994,9 +54297,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: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: true content: @@ -54063,9 +54366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '202': description: Response @@ -54098,9 +54401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 - 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 @@ -54130,9 +54433,9 @@ paths: type: integer jobs: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *61 x-github: @@ -54157,9 +54460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '302': description: Response @@ -54186,9 +54489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '204': description: Response @@ -54215,9 +54518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '200': description: Response @@ -54277,7 +54580,7 @@ paths: items: type: object properties: - type: &501 + type: &502 type: string description: The type of reviewer. enum: @@ -54362,9 +54665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: true content: @@ -54411,7 +54714,7 @@ paths: application/json: schema: type: array - items: &496 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54517,7 +54820,7 @@ paths: - created_at - updated_at examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54573,9 +54876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: false content: @@ -54619,9 +54922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: false content: @@ -54674,9 +54977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '200': description: Response @@ -54813,8 +55116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -54832,9 +55135,9 @@ paths: type: integer secrets: type: array - items: *380 + items: *381 examples: - default: *381 + default: *382 headers: Link: *61 x-github: @@ -54859,16 +55162,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54890,17 +55193,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: &514 + default: &515 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54926,8 +55229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 requestBody: required: true @@ -54985,8 +55288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '204': @@ -55012,9 +55315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *335 - *336 - - *351 + - *337 + - *352 - *19 responses: '200': @@ -55031,9 +55334,9 @@ paths: type: integer variables: type: array - items: *384 + items: *385 examples: - default: *385 + default: *386 headers: Link: *61 x-github: @@ -55056,8 +55359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -55109,17 +55412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *335 - *336 + - *337 - *167 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &515 + default: &516 value: name: USERNAME value: octocat @@ -55145,8 +55448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *335 - *336 + - *337 - *167 requestBody: required: true @@ -55189,8 +55492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *335 - *336 + - *337 - *167 responses: '204': @@ -55216,8 +55519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -55235,7 +55538,7 @@ paths: type: integer workflows: type: array - items: &386 + items: &387 title: Workflow description: A GitHub Actions workflow type: object @@ -55342,9 +55645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *335 - *336 - - &387 + - *337 + - &388 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55359,7 +55662,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -55392,9 +55695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '204': description: Response @@ -55419,9 +55722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -55508,9 +55811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '204': description: Response @@ -55537,19 +55840,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *335 - *336 - - *387 + - *337 - *388 - *389 - *390 - *391 + - *392 - *17 - *19 - - *392 - - *371 - *393 + - *372 - *394 + - *395 responses: '200': description: Response @@ -55565,9 +55868,9 @@ paths: type: integer workflow_runs: type: array - items: *372 + items: *373 examples: - default: *395 + default: *396 headers: Link: *61 x-github: @@ -55599,9 +55902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '200': description: Response @@ -55662,8 +55965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *335 - *336 + - *337 - *55 - *17 - *47 @@ -55827,8 +56130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -55865,8 +56168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *335 - *336 + - *337 - name: assignee in: path required: true @@ -55902,8 +56205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -56015,8 +56318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *335 - *336 + - *337 - *17 - *47 - *48 @@ -56073,7 +56376,7 @@ paths: initiator: type: string examples: - default: *396 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56093,8 +56396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -56102,7 +56405,7 @@ paths: application/json: schema: type: array - items: &397 + items: &398 title: Autolink reference description: An autolink reference. type: object @@ -56156,8 +56459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -56196,9 +56499,9 @@ paths: description: response content: application/json: - schema: *397 + schema: *398 examples: - default: &398 + default: &399 value: id: 1 key_prefix: TICKET- @@ -56229,9 +56532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *335 - *336 - - &399 + - *337 + - &400 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56243,9 +56546,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -56265,9 +56568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *335 - *336 - - *399 + - *337 + - *400 responses: '204': description: Response @@ -56291,8 +56594,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: - - *335 - *336 + - *337 responses: '200': description: Response if Dependabot is enabled @@ -56340,8 +56643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -56362,8 +56665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -56383,8 +56686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *335 - *336 + - *337 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56422,7 +56725,7 @@ paths: - url protected: type: boolean - protection: &401 + protection: &402 title: Branch Protection description: Branch Protection type: object @@ -56464,7 +56767,7 @@ paths: required: - contexts - checks - enforce_admins: &404 + enforce_admins: &405 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56479,7 +56782,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &406 + required_pull_request_reviews: &407 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56555,7 +56858,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &403 + restrictions: &404 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56832,9 +57135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *335 - *336 - - &402 + - *337 + - &403 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). @@ -56848,14 +57151,14 @@ paths: description: Response content: application/json: - schema: &412 + schema: &413 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &469 + commit: &470 title: Commit description: Commit type: object @@ -56889,7 +57192,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &400 + properties: &401 name: type: string example: '"Chris Wanstrath"' @@ -56905,7 +57208,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *400 + properties: *401 nullable: true message: type: string @@ -56926,7 +57229,7 @@ paths: required: - sha - url - verification: &521 + verification: &522 title: Verification type: object properties: @@ -56996,7 +57299,7 @@ paths: type: integer files: type: array - items: &482 + items: &483 title: Diff Entry description: Diff Entry type: object @@ -57080,7 +57383,7 @@ paths: - self protected: type: boolean - protection: *401 + protection: *402 protection_url: type: string format: uri @@ -57187,7 +57490,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *340 '404': *6 x-github: githubCloudOnly: false @@ -57209,15 +57512,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -57411,9 +57714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -57668,7 +57971,7 @@ paths: url: type: string format: uri - required_status_checks: &409 + required_status_checks: &410 title: Status Check Policy description: Status Check Policy type: object @@ -57820,7 +58123,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *403 + restrictions: *404 required_conversation_resolution: type: object properties: @@ -57932,9 +58235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -57959,17 +58262,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &405 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57991,17 +58294,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58020,9 +58323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58047,17 +58350,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: &407 + default: &408 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58153,9 +58456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58253,9 +58556,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: *407 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -58276,9 +58579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58305,17 +58608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &408 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58338,17 +58641,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *408 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -58368,9 +58671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58395,17 +58698,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: &410 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58431,9 +58734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58485,9 +58788,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '404': *6 '422': *15 x-github: @@ -58509,9 +58812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58535,9 +58838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -58571,9 +58874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58640,9 +58943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58706,9 +59009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: content: application/json: @@ -58774,15 +59077,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -58873,9 +59176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58898,9 +59201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -58910,7 +59213,7 @@ paths: type: array items: *5 examples: - default: &411 + default: &412 value: - id: 1 slug: octoapp @@ -58967,9 +59270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59003,7 +59306,7 @@ paths: type: array items: *5 examples: - default: *411 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -59024,9 +59327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59060,7 +59363,7 @@ paths: type: array items: *5 examples: - default: *411 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -59081,9 +59384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59117,7 +59420,7 @@ paths: type: array items: *5 examples: - default: *411 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -59139,9 +59442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -59151,7 +59454,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '404': *6 x-github: githubCloudOnly: false @@ -59171,9 +59474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -59211,7 +59514,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '422': *15 x-github: githubCloudOnly: false @@ -59232,9 +59535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -59272,7 +59575,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '422': *15 x-github: githubCloudOnly: false @@ -59293,9 +59596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: content: application/json: @@ -59332,7 +59635,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '422': *15 x-github: githubCloudOnly: false @@ -59354,9 +59657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -59390,9 +59693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59450,9 +59753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59510,9 +59813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59572,9 +59875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59596,7 +59899,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: default: value: @@ -59712,8 +60015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -59992,7 +60295,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &414 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60392,9 +60695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *335 - *336 - - &414 + - *337 + - &415 name: check_run_id description: The unique identifier of the check run. in: path @@ -60406,9 +60709,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: &415 + default: &416 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60508,9 +60811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *335 - *336 - - *414 + - *337 + - *415 requestBody: required: true content: @@ -60750,9 +61053,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: *415 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60772,9 +61075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *335 - *336 - - *414 + - *337 + - *415 - *17 - *19 responses: @@ -60869,9 +61172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *335 - *336 - - *414 + - *337 + - *415 responses: '201': description: Response @@ -60915,8 +61218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -60938,7 +61241,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &418 + schema: &419 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61028,8 +61331,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 latest_check_runs_count: type: integer check_runs_url: @@ -61057,7 +61360,7 @@ paths: - check_runs_url - pull_requests examples: - default: &419 + default: &420 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61348,9 +61651,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61369,8 +61672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -61679,9 +61982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *335 - *336 - - &420 + - *337 + - &421 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61693,9 +61996,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61718,17 +62021,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *335 - *336 - - *420 - - &475 + - *337 + - *421 + - &476 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &476 + - &477 name: status description: Returns check runs with the specified `status`. in: query @@ -61767,9 +62070,9 @@ paths: type: integer check_runs: type: array - items: *413 + items: *414 examples: - default: &477 + default: &478 value: total_count: 1 check_runs: @@ -61871,9 +62174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *335 - *336 - - *420 + - *337 + - *421 responses: '201': description: Response @@ -61906,21 +62209,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *335 - *336 - - *421 + - *337 - *422 + - *423 - *19 - *17 - - &439 + - &440 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: *423 - - &440 + schema: *424 + - &441 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61945,13 +62248,13 @@ paths: be returned. in: query required: false - schema: *424 + schema: *425 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *425 + schema: *426 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -61975,7 +62278,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: *426 + instances_url: *427 state: *183 fixed_at: *179 dismissed_by: @@ -61986,11 +62289,11 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: *427 - dismissed_comment: *428 - rule: *429 - tool: *430 - most_recent_instance: *431 + dismissed_reason: *428 + dismissed_comment: *429 + rule: *430 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62116,7 +62419,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &432 + '403': &433 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62143,9 +62446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *335 - *336 - - &433 + - *337 + - &434 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62159,7 +62462,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 type: object properties: number: *174 @@ -62167,7 +62470,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: *426 + instances_url: *427 state: *183 fixed_at: *179 dismissed_by: @@ -62178,8 +62481,8 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *428 + dismissed_comment: *429 rule: type: object properties: @@ -62233,8 +62536,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *430 - most_recent_instance: *431 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62333,7 +62636,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62353,9 +62656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 requestBody: required: true content: @@ -62370,8 +62673,8 @@ paths: enum: - open - dismissed - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *428 + dismissed_comment: *429 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62399,7 +62702,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: default: value: @@ -62475,7 +62778,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &438 + '403': &439 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62502,15 +62805,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: - - *335 - *336 - - *433 + - *337 + - *434 responses: '200': description: Response content: application/json: - schema: &435 + schema: &436 type: object properties: status: @@ -62536,13 +62839,13 @@ paths: - description - started_at examples: - default: &436 + default: &437 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &437 + '400': &438 description: Bad Request content: application/json: @@ -62553,7 +62856,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': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62578,29 +62881,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: - - *335 - *336 - - *433 + - *337 + - *434 responses: '200': description: OK content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 '202': description: Accepted content: application/json: - schema: *435 + schema: *436 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *437 + '400': *438 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62632,9 +62935,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: - - *335 - *336 - - *433 + - *337 + - *434 requestBody: required: false content: @@ -62679,8 +62982,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *437 - '403': *438 + '400': *438 + '403': *439 '404': *6 '422': description: Unprocessable Entity @@ -62704,13 +63007,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 - *19 - *17 - - *439 - *440 + - *441 responses: '200': description: Response @@ -62721,10 +63024,10 @@ paths: items: type: object properties: - ref: *423 - analysis_key: *441 - environment: *442 - category: *443 + ref: *424 + analysis_key: *442 + environment: *443 + category: *444 state: type: string description: State of a code scanning alert instance. @@ -62739,7 +63042,7 @@ paths: properties: text: type: string - location: *444 + location: *445 html_url: type: string classifications: @@ -62747,7 +63050,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: *445 + items: *446 examples: default: value: @@ -62784,7 +63087,7 @@ paths: end_column: 50 classifications: - source - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62818,25 +63121,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *335 - *336 - - *421 + - *337 - *422 + - *423 - *19 - *17 - - *440 + - *441 - 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: *423 + schema: *424 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &446 + schema: &447 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -62857,23 +63160,23 @@ paths: application/json: schema: type: array - items: &447 + items: &448 type: object properties: - ref: *423 - commit_sha: &455 + ref: *424 + commit_sha: &456 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: *441 + analysis_key: *442 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *443 + category: *444 error: type: string example: error reading field xyz @@ -62897,8 +63200,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *446 - tool: *430 + sarif_id: *447 + tool: *431 deletable: type: boolean warning: @@ -62959,7 +63262,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62995,8 +63298,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: - - *335 - *336 + - *337 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63009,7 +63312,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: response: summary: application/json response @@ -63063,7 +63366,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *432 + '403': *433 '404': *6 '422': description: Response if analysis could not be processed @@ -63150,8 +63453,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: - - *335 - *336 + - *337 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63204,7 +63507,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': *438 + '403': *439 '404': *6 '503': *116 x-github: @@ -63226,8 +63529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -63235,7 +63538,7 @@ paths: application/json: schema: type: array - items: &448 + items: &449 title: CodeQL Database description: A CodeQL database. type: object @@ -63346,7 +63649,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': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -63375,8 +63678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *335 - *336 + - *337 - name: language in: path description: The language of the CodeQL database. @@ -63388,7 +63691,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: default: value: @@ -63420,9 +63723,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': &484 + '302': &485 description: Found - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -63444,8 +63747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *335 - *336 + - *337 - name: language in: path description: The language of the CodeQL database. @@ -63455,7 +63758,7 @@ paths: responses: '204': description: Response - '403': *438 + '403': *439 '404': *6 '503': *116 x-github: @@ -63483,8 +63786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -63493,7 +63796,7 @@ paths: type: object additionalProperties: false properties: - language: &449 + language: &450 type: string description: The language targeted by the CodeQL query enum: @@ -63573,7 +63876,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &453 + schema: &454 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63583,7 +63886,7 @@ paths: description: The ID of the variant analysis. controller_repo: *60 actor: *4 - query_language: *449 + query_language: *450 query_pack_url: type: string description: The download url for the query pack. @@ -63630,7 +63933,7 @@ paths: items: type: object properties: - repository: &450 + repository: &451 title: Repository Identifier description: Repository Identifier type: object @@ -63666,7 +63969,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &454 + analysis_status: &455 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63698,7 +64001,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &451 + access_mismatch_repos: &452 type: object properties: repository_count: @@ -63712,7 +64015,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: *450 + items: *451 required: - repository_count - repositories @@ -63734,8 +64037,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *451 - over_limit_repos: *451 + no_codeql_db_repos: *452 + over_limit_repos: *452 required: - access_mismatch_repos - not_found_repos @@ -63751,7 +64054,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &452 + value: &453 summary: Default response value: id: 1 @@ -63897,10 +64200,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *452 + value: *453 repository_lists: summary: Response for a successful variant analysis submission - value: *452 + value: *453 '404': *6 '422': description: Unable to process variant analysis submission @@ -63928,8 +64231,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: - - *335 - *336 + - *337 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63941,9 +64244,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *452 + default: *453 '404': *6 '503': *116 x-github: @@ -63966,7 +64269,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: - - *335 + - *336 - name: repo in: path description: The name of the controller repository. @@ -64001,7 +64304,7 @@ paths: type: object properties: repository: *60 - analysis_status: *454 + analysis_status: *455 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64126,8 +64429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -64212,7 +64515,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -64233,8 +64536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -64326,7 +64629,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *438 + '403': *439 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64397,8 +64700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -64406,7 +64709,7 @@ paths: schema: type: object properties: - commit_sha: *455 + commit_sha: *456 ref: type: string description: |- @@ -64464,7 +64767,7 @@ paths: schema: type: object properties: - id: *446 + id: *447 url: type: string description: The REST API URL for checking the status of the upload. @@ -64478,7 +64781,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': *438 + '403': *439 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64501,8 +64804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *335 - *336 + - *337 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64548,7 +64851,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': *432 + '403': *433 '404': description: Not Found if the sarif id does not match any upload '503': *116 @@ -64573,8 +64876,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: - - *335 - *336 + - *337 responses: '200': description: Response @@ -64655,8 +64958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *335 - *336 + - *337 - 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 @@ -64776,8 +65079,8 @@ paths: parameters: - *17 - *19 - - *335 - *336 + - *337 responses: '200': description: Response @@ -64793,7 +65096,7 @@ paths: type: integer codespaces: type: array - items: *240 + items: *241 examples: default: value: @@ -65091,8 +65394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -65155,17 +65458,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '400': *14 '401': *25 '403': *29 @@ -65194,8 +65497,8 @@ paths: parameters: - *17 - *19 - - *335 - *336 + - *337 responses: '200': description: Response @@ -65259,8 +65562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *335 - *336 + - *337 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65299,8 +65602,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *457 - required: *458 + properties: *458 + required: *459 examples: default: &677 value: @@ -65342,8 +65645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *335 - *336 + - *337 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65427,8 +65730,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: - - *335 - *336 + - *337 - 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 @@ -65494,8 +65797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -65513,7 +65816,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &463 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65533,7 +65836,7 @@ paths: - created_at - updated_at examples: - default: *459 + default: *460 headers: Link: *61 x-github: @@ -65556,16 +65859,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65585,17 +65888,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '200': description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65615,8 +65918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 requestBody: required: true @@ -65669,8 +65972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '204': @@ -65699,8 +66002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *335 - *336 + - *337 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65742,7 +66045,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &464 + properties: &465 login: type: string example: octocat @@ -65835,7 +66138,7 @@ paths: user_view_type: type: string example: public - required: &465 + required: &466 - avatar_url - events_url - followers_url @@ -65909,8 +66212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *335 - *336 + - *337 - *65 responses: '204': @@ -65957,8 +66260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *335 - *336 + - *337 - *65 requestBody: required: false @@ -65985,7 +66288,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &534 + schema: &535 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66214,8 +66517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *335 - *336 + - *337 - *65 responses: '204': @@ -66247,8 +66550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *335 - *336 + - *337 - *65 responses: '200': @@ -66269,8 +66572,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *464 - required: *465 + properties: *465 + required: *466 nullable: true required: - permission @@ -66325,8 +66628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -66336,7 +66639,7 @@ paths: application/json: schema: type: array - items: &466 + items: &467 title: Commit Comment description: Commit Comment type: object @@ -66394,7 +66697,7 @@ paths: - created_at - updated_at examples: - default: &471 + default: &472 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66453,17 +66756,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: &472 + default: &473 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66520,8 +66823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -66544,7 +66847,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: default: value: @@ -66595,8 +66898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -66618,8 +66921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66646,7 +66949,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -66689,7 +66992,7 @@ paths: - content - created_at examples: - default: &538 + default: &539 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66734,8 +67037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -66768,9 +67071,9 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: &468 + default: &469 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66799,9 +67102,9 @@ paths: description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -66823,10 +67126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *335 - *336 + - *337 - *95 - - &539 + - &540 name: reaction_id description: The unique identifier of the reaction. in: path @@ -66881,8 +67184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *335 - *336 + - *337 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66938,9 +67241,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: &589 + default: &590 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67034,9 +67337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *335 - *336 - - &470 + - *337 + - &471 name: commit_sha description: The SHA of the commit. in: path @@ -67108,9 +67411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *335 - *336 - - *470 + - *337 + - *471 - *17 - *19 responses: @@ -67120,9 +67423,9 @@ paths: application/json: schema: type: array - items: *466 + items: *467 examples: - default: *471 + default: *472 headers: Link: *61 x-github: @@ -67150,9 +67453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *335 - *336 - - *470 + - *337 + - *471 requestBody: required: true content: @@ -67187,9 +67490,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: *472 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67217,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *335 - *336 - - *470 + - *337 + - *471 - *17 - *19 responses: @@ -67229,9 +67532,9 @@ paths: application/json: schema: type: array - items: *473 + items: *474 examples: - default: &581 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67768,11 +68071,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *335 - *336 + - *337 - *19 - *17 - - &474 + - &475 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)" @@ -67787,9 +68090,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: &568 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67902,11 +68205,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *335 - *336 - - *474 + - *337 - *475 - *476 + - *477 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67940,9 +68243,9 @@ paths: type: integer check_runs: type: array - items: *413 + items: *414 examples: - default: *477 + default: *478 headers: Link: *61 x-github: @@ -67967,9 +68270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *335 - *336 - - *474 + - *337 + - *475 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67977,7 +68280,7 @@ paths: schema: type: integer example: 1 - - *475 + - *476 - *17 - *19 responses: @@ -67995,7 +68298,7 @@ paths: type: integer check_suites: type: array - items: *418 + items: *419 examples: default: value: @@ -68195,9 +68498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *335 - *336 - - *474 + - *337 + - *475 - *17 - *19 responses: @@ -68395,9 +68698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *335 - *336 - - *474 + - *337 + - *475 - *17 - *19 responses: @@ -68407,7 +68710,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Status description: The status of a commit. type: object @@ -68488,7 +68791,7 @@ paths: site_admin: false headers: Link: *61 - '301': *339 + '301': *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68516,8 +68819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -68546,20 +68849,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *478 - required: *479 + properties: *479 + required: *480 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &480 + properties: &481 url: type: string format: uri html_url: type: string format: uri - required: &481 + required: &482 - url - html_url nullable: true @@ -68573,26 +68876,26 @@ paths: contributing: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true readme: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true issue_template: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true pull_request_template: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true required: - code_of_conduct @@ -68719,8 +69022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *335 - *336 + - *337 - *19 - *17 - name: basehead @@ -68763,8 +69066,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *469 - merge_base_commit: *469 + base_commit: *470 + merge_base_commit: *470 status: type: string enum: @@ -68784,10 +69087,10 @@ paths: example: 6 commits: type: array - items: *469 + items: *470 files: type: array - items: *482 + items: *483 required: - url - html_url @@ -69073,8 +69376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *335 - *336 + - *337 - name: path description: path parameter in: path @@ -69234,7 +69537,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &483 + response-if-content-is-a-file-github-object: &484 summary: Response if content is a file value: type: file @@ -69366,7 +69669,7 @@ paths: - size - type - url - - &594 + - &595 title: Content File description: Content File type: object @@ -69567,7 +69870,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *483 + response-if-content-is-a-file: *484 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69636,7 +69939,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *484 + '302': *485 '304': *37 x-github: githubCloudOnly: false @@ -69659,8 +69962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *335 - *336 + - *337 - name: path description: path parameter in: path @@ -69753,7 +70056,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: File Commit description: File Commit type: object @@ -69905,7 +70208,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: example-for-creating-a-file: value: @@ -69959,7 +70262,7 @@ paths: schema: oneOf: - *3 - - &516 + - &517 description: Repository rule violation was detected type: object properties: @@ -69980,7 +70283,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &647 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70012,8 +70315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *335 - *336 + - *337 - name: path description: path parameter in: path @@ -70074,7 +70377,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70129,8 +70432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *335 - *336 + - *337 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70253,23 +70556,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *335 - *336 - - *194 + - *337 - *195 - *196 - *197 + - *198 - 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 - - *198 - - *486 - *199 + - *487 - *200 - *201 + - *202 - *55 - *47 - *48 @@ -70281,7 +70584,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 type: object description: A Dependabot alert. properties: @@ -70327,7 +70630,7 @@ paths: - unknown - direct - transitive - security_advisory: *487 + security_advisory: *488 security_vulnerability: *59 url: *177 html_url: *178 @@ -70358,8 +70661,8 @@ paths: nullable: true maxLength: 280 fixed_at: *179 - auto_dismissed_at: *488 - dismissal_request: *489 + auto_dismissed_at: *489 + dismissal_request: *490 assignees: type: array description: The users assigned to this alert. @@ -70614,9 +70917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *335 - *336 - - &491 + - *337 + - &492 name: alert_number in: path description: |- @@ -70631,7 +70934,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -70763,9 +71066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *335 - *336 - - *491 + - *337 + - *492 requestBody: required: true content: @@ -70821,7 +71124,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -70951,8 +71254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -70970,7 +71273,7 @@ paths: type: integer secrets: type: array - items: &494 + items: &495 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71023,16 +71326,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71052,15 +71355,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: default: value: @@ -71086,8 +71389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 requestBody: required: true @@ -71140,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '204': @@ -71164,8 +71467,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: - - *335 - *336 + - *337 - 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 @@ -71325,8 +71628,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: - - *335 - *336 + - *337 responses: '200': description: Response @@ -71565,8 +71868,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -71641,7 +71944,7 @@ paths: - version - url additionalProperties: false - metadata: &495 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71674,7 +71977,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *495 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -71687,7 +71990,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *495 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -71816,8 +72119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *335 - *336 + - *337 - name: sha description: The SHA recorded at creation time. in: query @@ -71857,9 +72160,9 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 + default: *498 headers: Link: *61 x-github: @@ -71925,8 +72228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -72007,7 +72310,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: simple-example: summary: Simple example @@ -72080,9 +72383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *335 - *336 - - &498 + - *337 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -72094,7 +72397,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -72159,9 +72462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *335 - *336 - - *498 + - *337 + - *499 responses: '204': description: Response @@ -72183,9 +72486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *335 - *336 - - *498 + - *337 + - *499 - *17 - *19 responses: @@ -72195,7 +72498,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -72356,9 +72659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *335 - *336 - - *498 + - *337 + - *499 requestBody: required: true content: @@ -72433,9 +72736,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &500 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72491,9 +72794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *335 - *336 - - *498 + - *337 + - *499 - name: status_id in: path required: true @@ -72504,9 +72807,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -72531,8 +72834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -72589,8 +72892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -72607,7 +72910,7 @@ paths: type: integer environments: type: array - items: &502 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -72659,7 +72962,7 @@ paths: type: type: string example: wait_timer - wait_timer: &504 + wait_timer: &505 type: integer example: 30 description: The amount of time to delay a job after @@ -72696,7 +72999,7 @@ paths: items: type: object properties: - type: *501 + type: *502 reviewer: anyOf: - *4 @@ -72720,7 +73023,7 @@ paths: - id - node_id - type - deployment_branch_policy: &505 + deployment_branch_policy: &506 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -72836,9 +73139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *335 - *336 - - &503 + - *337 + - &504 name: environment_name in: path required: true @@ -72851,9 +73154,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &506 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72937,9 +73240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *335 - *336 - - *503 + - *337 + - *504 requestBody: required: false content: @@ -72948,7 +73251,7 @@ paths: type: object nullable: true properties: - wait_timer: *504 + wait_timer: *505 prevent_self_review: type: boolean example: false @@ -72965,13 +73268,13 @@ paths: items: type: object properties: - type: *501 + type: *502 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *505 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -72991,9 +73294,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *506 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73017,9 +73320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *335 - *336 - - *503 + - *337 + - *504 responses: '204': description: Default response @@ -73044,9 +73347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *17 - *19 responses: @@ -73064,7 +73367,7 @@ paths: example: 2 branch_policies: type: array - items: &507 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73121,9 +73424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 + - *337 + - *504 requestBody: required: true content: @@ -73169,9 +73472,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - example-wildcard: &508 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73213,10 +73516,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 - - &509 + - *337 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -73228,9 +73531,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73249,10 +73552,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 - - *509 + - *337 + - *504 + - *510 requestBody: required: true content: @@ -73280,9 +73583,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73301,10 +73604,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 - - *509 + - *337 + - *504 + - *510 responses: '204': description: Response @@ -73329,9 +73632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *503 + - *504 + - *337 - *336 - - *335 responses: '200': description: List of deployment protection rules @@ -73347,7 +73650,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &510 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -73366,7 +73669,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &511 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73465,9 +73768,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: - - *503 + - *504 + - *337 - *336 - - *335 requestBody: content: application/json: @@ -73488,9 +73791,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *510 + schema: *511 examples: - default: &512 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73525,9 +73828,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: - - *503 + - *504 + - *337 - *336 - - *335 - *19 - *17 responses: @@ -73546,7 +73849,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *511 + items: *512 examples: default: value: @@ -73581,10 +73884,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *335 - *336 - - *503 - - &513 + - *337 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73596,9 +73899,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *512 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73619,10 +73922,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *503 + - *504 + - *337 - *336 - - *335 - - *513 + - *514 responses: '204': description: Response @@ -73648,9 +73951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *17 - *19 responses: @@ -73668,9 +73971,9 @@ paths: type: integer secrets: type: array - items: *380 + items: *381 examples: - default: *381 + default: *382 headers: Link: *61 x-github: @@ -73695,17 +73998,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *335 - *336 - - *503 + - *337 + - *504 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73727,18 +74030,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73760,9 +74063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *164 requestBody: required: true @@ -73820,9 +74123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *164 responses: '204': @@ -73848,10 +74151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *335 - *336 - - *503 - - *351 + - *337 + - *504 + - *352 - *19 responses: '200': @@ -73868,9 +74171,9 @@ paths: type: integer variables: type: array - items: *384 + items: *385 examples: - default: *385 + default: *386 headers: Link: *61 x-github: @@ -73893,9 +74196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *335 - *336 - - *503 + - *337 + - *504 requestBody: required: true content: @@ -73947,18 +74250,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *167 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73979,10 +74282,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *335 - *336 + - *337 - *167 - - *503 + - *504 requestBody: required: true content: @@ -74024,10 +74327,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *335 - *336 + - *337 - *167 - - *503 + - *504 responses: '204': description: Response @@ -74049,8 +74352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -74118,8 +74421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *335 - *336 + - *337 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74278,8 +74581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -74311,9 +74614,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 '400': *14 '422': *15 '403': *29 @@ -74334,8 +74637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -74395,7 +74698,7 @@ paths: schema: oneOf: - *124 - - *516 + - *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74420,8 +74723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *335 - *336 + - *337 - name: file_sha in: path required: true @@ -74520,8 +74823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -74630,7 +74933,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &518 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74844,15 +75147,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *335 - *336 - - *470 + - *337 + - *471 responses: '200': description: Response content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -74908,9 +75211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *335 - *336 - - &518 + - *337 + - &519 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. @@ -74927,7 +75230,7 @@ paths: application/json: schema: type: array - items: &519 + items: &520 title: Git Reference description: Git references within a repository type: object @@ -75002,17 +75305,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *335 - *336 - - *518 + - *337 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: &520 + default: &521 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75041,8 +75344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -75071,9 +75374,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75099,9 +75402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *335 - *336 - - *518 + - *337 + - *519 requestBody: required: true content: @@ -75130,9 +75433,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '422': *15 '409': *54 x-github: @@ -75150,9 +75453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *335 - *336 - - *518 + - *337 + - *519 responses: '204': description: Response @@ -75207,8 +75510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -75275,7 +75578,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &523 title: Git Tag description: Metadata for a Git tag type: object @@ -75326,7 +75629,7 @@ paths: - sha - type - url - verification: *521 + verification: *522 required: - sha - url @@ -75336,7 +75639,7 @@ paths: - tag - message examples: - default: &523 + default: &524 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75409,8 +75712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *335 - *336 + - *337 - name: tag_sha in: path required: true @@ -75421,9 +75724,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 '404': *6 '409': *54 x-github: @@ -75447,8 +75750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -75521,7 +75824,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &525 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75617,8 +75920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *335 - *336 + - *337 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75641,7 +75944,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: default-response: summary: Default response @@ -75700,8 +76003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -75711,7 +76014,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Webhook description: Webhooks for repositories. type: object @@ -75839,8 +76142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -75892,9 +76195,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: type: Repository id: 12345678 @@ -75942,17 +76245,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -75972,9 +76275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 requestBody: required: true content: @@ -76019,9 +76322,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '422': *15 '404': *6 x-github: @@ -76042,9 +76345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '204': description: Response @@ -76068,9 +76371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '200': description: Response @@ -76097,9 +76400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *335 - *336 - - *209 + - *337 + - *210 requestBody: required: false content: @@ -76143,11 +76446,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *335 - *336 - - *209 - - *17 + - *337 - *210 + - *17 + - *211 responses: '200': description: Response @@ -76155,9 +76458,9 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 + default: *213 '400': *14 '422': *15 x-github: @@ -76176,18 +76479,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 - *16 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '400': *14 '422': *15 x-github: @@ -76206,9 +76509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 - *16 responses: '202': *39 @@ -76231,9 +76534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '204': description: Response @@ -76258,9 +76561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '204': description: Response @@ -76283,8 +76586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response if immutable releases are enabled @@ -76330,8 +76633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *335 - *336 + - *337 responses: '204': *187 '409': *54 @@ -76351,8 +76654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *335 - *336 + - *337 responses: '204': *187 '409': *54 @@ -76409,14 +76712,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &527 + schema: &528 title: Import description: A repository import from an external source. type: object @@ -76515,7 +76818,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &531 value: vcs: subversion use_lfs: true @@ -76531,7 +76834,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': &528 + '503': &529 description: Unavailable due to service under maintenance. content: application/json: @@ -76560,8 +76863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -76609,7 +76912,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -76634,7 +76937,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76662,8 +76965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -76712,7 +77015,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: example-1: summary: Example 1 @@ -76760,7 +77063,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': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76783,12 +77086,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *335 - *336 + - *337 responses: '204': description: Response - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76814,8 +77117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *335 - *336 + - *337 - &698 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -76830,7 +77133,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Porter Author description: Porter Author type: object @@ -76884,7 +77187,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': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76909,8 +77212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *335 - *336 + - *337 - name: author_id in: path required: true @@ -76940,7 +77243,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: default: value: @@ -76953,7 +77256,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76977,8 +77280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -77019,7 +77322,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77047,8 +77350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -77075,11 +77378,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *530 + default: *531 '422': *15 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77102,8 +77405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -77111,8 +77414,8 @@ paths: application/json: schema: *22 examples: - default: *531 - '301': *339 + default: *532 + '301': *340 '404': *6 x-github: githubCloudOnly: false @@ -77132,8 +77435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -77141,12 +77444,12 @@ paths: application/json: schema: anyOf: - - *227 + - *228 - type: object properties: {} additionalProperties: false examples: - default: &533 + default: &534 value: limit: collaborators_only origin: repository @@ -77171,13 +77474,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *532 + schema: *533 examples: default: summary: Example request body @@ -77189,9 +77492,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *533 + default: *534 '409': description: Response x-github: @@ -77213,8 +77516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -77237,8 +77540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -77248,7 +77551,7 @@ paths: application/json: schema: type: array - items: *534 + items: *535 examples: default: &691 value: @@ -77381,9 +77684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *335 - *336 - - *231 + - *337 + - *232 requestBody: required: false content: @@ -77412,7 +77715,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -77543,9 +77846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *335 - *336 - - *231 + - *337 + - *232 responses: '204': description: Response @@ -77576,8 +77879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *335 - *336 + - *337 - 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 @@ -77625,7 +77928,7 @@ paths: required: false schema: type: string - - *238 + - *239 - name: sort description: What to sort results by. in: query @@ -77650,7 +77953,7 @@ paths: type: array items: *79 examples: - default: &546 + default: &547 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77799,7 +78102,7 @@ paths: state_reason: completed headers: Link: *61 - '301': *339 + '301': *340 '422': *15 '404': *6 x-github: @@ -77828,8 +78131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -77913,7 +78216,7 @@ paths: application/json: schema: *79 examples: - default: &543 + default: &544 value: id: 1 node_id: MDU6SXNzdWUx @@ -78070,7 +78373,7 @@ paths: '422': *15 '503': *116 '404': *6 - '410': *535 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -78098,8 +78401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *335 - *336 + - *337 - *103 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78120,9 +78423,9 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: &545 + default: &546 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78180,17 +78483,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: &537 + default: &538 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78245,8 +78548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -78269,9 +78572,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *537 + default: *538 '422': *15 x-github: githubCloudOnly: false @@ -78289,8 +78592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -78319,15 +78622,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -78383,7 +78686,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *535 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -78400,8 +78703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -78409,7 +78712,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *535 + '410': *536 '503': *116 x-github: githubCloudOnly: false @@ -78427,8 +78730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78455,9 +78758,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 @@ -78478,8 +78781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -78512,16 +78815,16 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -78543,10 +78846,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *335 - *336 + - *337 - *95 - - *539 + - *540 responses: '204': description: Response @@ -78566,8 +78869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -78577,7 +78880,7 @@ paths: application/json: schema: type: array - items: &542 + items: &543 title: Issue Event description: Issue Event type: object @@ -78620,8 +78923,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *540 - required: *541 + properties: *541 + required: *542 nullable: true label: title: Issue Event Label @@ -78929,8 +79232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *335 - *336 + - *337 - name: event_id in: path required: true @@ -78941,7 +79244,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -79134,7 +79437,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *535 + '410': *536 '403': *29 x-github: githubCloudOnly: false @@ -79168,9 +79471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *335 - *336 - - &544 + - *337 + - &545 name: issue_number description: The number that identifies the issue. in: path @@ -79186,7 +79489,7 @@ paths: examples: default: summary: Issue - value: *543 + value: *544 pinned_comment: summary: Issue with pinned comment value: @@ -79385,9 +79688,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 '304': *37 x-github: githubCloudOnly: false @@ -79412,9 +79715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -79540,13 +79843,13 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 '422': *15 '503': *116 '403': *29 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79564,9 +79867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -79594,7 +79897,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79610,9 +79913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: content: application/json: @@ -79639,7 +79942,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79661,9 +79964,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: - - *335 - *336 - - *544 + - *337 + - *545 - name: assignee in: path required: true @@ -79703,9 +80006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *86 - *17 - *19 @@ -79716,13 +80019,13 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: *545 + default: *546 headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79751,9 +80054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -79775,16 +80078,16 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *537 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *535 + '410': *536 '422': *15 '404': *6 x-github: @@ -79812,9 +80115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -79826,12 +80129,12 @@ paths: type: array items: *79 examples: - default: *546 + default: *547 headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79859,9 +80162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -79885,15 +80188,15 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *340 '403': *29 - '410': *535 + '410': *536 '422': *15 '404': *6 x-github: @@ -79924,9 +80227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *335 - *336 - - *544 + - *337 + - *545 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79940,13 +80243,13 @@ paths: application/json: schema: *79 examples: - default: *543 - '301': *339 + default: *544 + '301': *340 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *535 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -79972,9 +80275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -79986,12 +80289,12 @@ paths: type: array items: *79 examples: - default: *546 + default: *547 headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80008,9 +80311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -80024,7 +80327,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &549 + - &550 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80078,7 +80381,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &551 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80214,7 +80517,7 @@ paths: - performed_via_github_app - assignee - assigner - - &551 + - &552 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80265,7 +80568,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &553 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80316,7 +80619,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &554 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80370,7 +80673,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &555 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80417,7 +80720,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &556 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80464,7 +80767,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &557 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80524,7 +80827,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &558 title: Locked Issue Event description: Locked Issue Event type: object @@ -80572,7 +80875,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &559 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80638,7 +80941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &560 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80704,7 +81007,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &561 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80770,7 +81073,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &562 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80861,7 +81164,7 @@ paths: color: red headers: Link: *61 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80878,9 +81181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -80890,9 +81193,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: &660 + default: &661 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -80916,9 +81219,9 @@ paths: value: '2025-12-25' headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80935,9 +81238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -80949,7 +81252,7 @@ paths: type: array items: *78 examples: - default: &548 + default: &549 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80967,9 +81270,9 @@ paths: default: false headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80985,9 +81288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -81032,10 +81335,10 @@ paths: type: array items: *78 examples: - default: *548 - '301': *339 + default: *549 + '301': *340 '404': *6 - '410': *535 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -81052,9 +81355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -81116,10 +81419,10 @@ paths: type: array items: *78 examples: - default: *548 - '301': *339 + default: *549 + '301': *340 '404': *6 - '410': *535 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -81136,15 +81439,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 responses: '204': description: Response - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81163,9 +81466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - name: name in: path required: true @@ -81189,9 +81492,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81211,9 +81514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -81241,7 +81544,7 @@ paths: '204': description: Response '403': *29 - '410': *535 + '410': *536 '404': *6 '422': *15 x-github: @@ -81259,9 +81562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 responses: '204': description: Response @@ -81291,9 +81594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 responses: '200': description: Response @@ -81301,10 +81604,10 @@ paths: application/json: schema: *79 examples: - default: *543 - '301': *339 + default: *544 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81321,9 +81624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - 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. @@ -81349,13 +81652,13 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81373,9 +81676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81407,16 +81710,16 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -81438,10 +81741,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *335 - *336 - - *544 - - *539 + - *337 + - *545 + - *540 responses: '204': description: Response @@ -81470,9 +81773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81496,7 +81799,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81529,9 +81832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -81543,11 +81846,11 @@ paths: type: array items: *79 examples: - default: *546 + default: *547 headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81575,9 +81878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81606,14 +81909,14 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *535 + '410': *536 '422': *15 '404': *6 x-github: @@ -81633,9 +81936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81668,7 +81971,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 '403': *29 '404': *6 '422': *7 @@ -81690,9 +81993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -81707,7 +82010,6 @@ paths: description: Timeline Event type: object anyOf: - - *549 - *550 - *551 - *552 @@ -81720,6 +82022,7 @@ paths: - *559 - *560 - *561 + - *562 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81780,8 +82083,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true required: - event @@ -82036,7 +82339,7 @@ paths: type: string comments: type: array - items: &583 + items: &584 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82251,7 +82554,7 @@ paths: type: string comments: type: array - items: *466 + items: *467 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82540,7 +82843,7 @@ paths: headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82557,8 +82860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -82568,7 +82871,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82634,8 +82937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -82671,9 +82974,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: id: 1 key: ssh-rsa AAA... @@ -82707,9 +83010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *335 - *336 - - &566 + - *337 + - &567 name: key_id description: The unique identifier of the key. in: path @@ -82721,9 +83024,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -82741,9 +83044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *335 - *336 - - *566 + - *337 + - *567 responses: '204': description: Response @@ -82763,8 +83066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -82776,7 +83079,7 @@ paths: type: array items: *78 examples: - default: *548 + default: *549 headers: Link: *61 '404': *6 @@ -82797,8 +83100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -82836,7 +83139,7 @@ paths: application/json: schema: *78 examples: - default: &567 + default: &568 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82868,8 +83171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *335 - *336 + - *337 - name: name in: path required: true @@ -82882,7 +83185,7 @@ paths: application/json: schema: *78 examples: - default: *567 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -82899,8 +83202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *335 - *336 + - *337 - name: name in: path required: true @@ -82965,8 +83268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *335 - *336 + - *337 - name: name in: path required: true @@ -82992,8 +83295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -83032,9 +83335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *335 - *336 - - *439 + - *337 + - *440 responses: '200': description: Response @@ -83179,8 +83482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83245,8 +83548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83280,9 +83583,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *469 + schema: *470 examples: - default: *568 + default: *569 '204': description: Response when already merged '404': @@ -83307,8 +83610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *335 - *336 + - *337 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83349,12 +83652,12 @@ paths: application/json: schema: type: array - items: &569 + items: &570 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 examples: default: value: @@ -83410,8 +83713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83451,9 +83754,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83512,9 +83815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *335 - *336 - - &571 + - *337 + - &572 name: milestone_number description: The number that identifies the milestone. in: path @@ -83526,9 +83829,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 '404': *6 x-github: githubCloudOnly: false @@ -83545,9 +83848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *335 - *336 - - *571 + - *337 + - *572 requestBody: required: false content: @@ -83585,9 +83888,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83603,9 +83906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *335 - *336 - - *571 + - *337 + - *572 responses: '204': description: Response @@ -83626,9 +83929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *335 - *336 - - *571 + - *337 + - *572 - *17 - *19 responses: @@ -83640,7 +83943,7 @@ paths: type: array items: *78 examples: - default: *548 + default: *549 headers: Link: *61 x-github: @@ -83659,12 +83962,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *335 - *336 - - *572 + - *337 - *573 - - *86 - *574 + - *86 + - *575 - *17 - *19 responses: @@ -83676,7 +83979,7 @@ paths: type: array items: *106 examples: - default: *575 + default: *576 headers: Link: *61 x-github: @@ -83700,8 +84003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -83759,14 +84062,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &576 + schema: &577 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83891,7 +84194,7 @@ paths: - custom_404 - public examples: - default: &577 + default: &578 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83932,8 +84235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83987,9 +84290,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '422': *15 '409': *54 x-github: @@ -84012,8 +84315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -84112,8 +84415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -84139,8 +84442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -84150,7 +84453,7 @@ paths: application/json: schema: type: array - items: &578 + items: &579 title: Page Build description: Page Build type: object @@ -84244,8 +84547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *335 - *336 + - *337 responses: '201': description: Response @@ -84290,16 +84593,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *578 + schema: *579 examples: - default: &579 + default: &580 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84347,8 +84650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *335 - *336 + - *337 - name: build_id in: path required: true @@ -84359,9 +84662,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *579 examples: - default: *579 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84381,8 +84684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -84487,9 +84790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *335 - *336 - - &580 + - *337 + - &581 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84547,9 +84850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *335 - *336 - - *580 + - *337 + - *581 responses: '204': *187 '404': *6 @@ -84576,8 +84879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -84835,8 +85138,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: - - *335 - *336 + - *337 responses: '200': description: Private vulnerability reporting status @@ -84873,8 +85176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': *187 '422': *14 @@ -84895,8 +85198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': *187 '422': *14 @@ -84918,8 +85221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -84927,7 +85230,7 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: default: value: @@ -84958,8 +85261,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -84971,7 +85274,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *287 + items: *288 required: - properties examples: @@ -85021,8 +85324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *335 - *336 + - *337 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85082,9 +85385,9 @@ paths: application/json: schema: type: array - items: *473 + items: *474 examples: - default: *581 + default: *582 headers: Link: *61 '304': *37 @@ -85116,8 +85419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -85182,7 +85485,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &586 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85293,8 +85596,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true active_lock_reason: type: string @@ -85337,7 +85640,7 @@ paths: items: *4 requested_teams: type: array - items: *324 + items: *325 head: type: object properties: @@ -85375,14 +85678,14 @@ paths: _links: type: object properties: - comments: *274 - commits: *274 - statuses: *274 - html: *274 - issue: *274 - review_comments: *274 - review_comment: *274 - self: *274 + comments: *275 + commits: *275 + statuses: *275 + html: *275 + issue: *275 + review_comments: *275 + review_comment: *275 + self: *275 required: - comments - commits @@ -85393,7 +85696,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *582 + auto_merge: *583 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85485,7 +85788,7 @@ paths: - merged_by - review_comments examples: - default: &586 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86012,8 +86315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *335 - *336 + - *337 - name: sort in: query required: false @@ -86042,9 +86345,9 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: - default: &588 + default: &589 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86121,17 +86424,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &584 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86206,8 +86509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -86230,9 +86533,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *584 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86248,8 +86551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -86271,8 +86574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *335 - *336 + - *337 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86299,9 +86602,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 @@ -86322,8 +86625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -86356,16 +86659,16 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -86387,10 +86690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *335 - *336 + - *337 - *95 - - *539 + - *540 responses: '204': description: Response @@ -86433,9 +86736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *335 - *336 - - &587 + - *337 + - &588 name: pull_number description: The number that identifies the pull request. in: path @@ -86448,9 +86751,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 '304': *37 '404': *6 '406': @@ -86485,9 +86788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -86529,9 +86832,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 '422': *15 '403': *29 x-github: @@ -86553,9 +86856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: true content: @@ -86615,17 +86918,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '401': *25 '403': *29 '404': *6 @@ -86655,9 +86958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *103 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86678,9 +86981,9 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: - default: *588 + default: *589 headers: Link: *61 x-github: @@ -86713,9 +87016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: true content: @@ -86820,7 +87123,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: example-for-a-multi-line-comment: value: @@ -86908,9 +87211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *95 requestBody: required: true @@ -86933,7 +87236,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: default: value: @@ -87019,9 +87322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *17 - *19 responses: @@ -87031,9 +87334,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *589 + default: *590 headers: Link: *61 x-github: @@ -87063,9 +87366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *17 - *19 responses: @@ -87075,7 +87378,7 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: default: value: @@ -87113,9 +87416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *335 - *336 - - *587 + - *337 + - *588 responses: '204': description: Response if pull request has been merged @@ -87138,9 +87441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -87251,9 +87554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 responses: '200': description: Response @@ -87328,9 +87631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -87367,7 +87670,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -87903,9 +88206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: true content: @@ -87939,7 +88242,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -88444,9 +88747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *17 - *19 responses: @@ -88456,7 +88759,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88607,9 +88910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -88695,9 +88998,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: &592 + default: &593 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88760,10 +89063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - &591 + - *337 + - *588 + - &592 name: review_id description: The unique identifier of the review. in: path @@ -88775,9 +89078,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: &593 + default: &594 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88836,10 +89139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 requestBody: required: true content: @@ -88862,7 +89165,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -88924,18 +89227,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 responses: '200': description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: *592 + default: *593 '422': *7 '404': *6 x-github: @@ -88962,10 +89265,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 - *17 - *19 responses: @@ -89048,9 +89351,9 @@ paths: _links: type: object properties: - self: *274 - html: *274 - pull_request: *274 + self: *275 + html: *275 + pull_request: *275 required: - self - html @@ -89200,10 +89503,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 requestBody: required: true content: @@ -89231,7 +89534,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -89294,10 +89597,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 requestBody: required: true content: @@ -89332,9 +89635,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: *593 + default: *594 '404': *6 '422': *7 '403': *29 @@ -89356,9 +89659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -89421,8 +89724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *335 - *336 + - *337 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89435,9 +89738,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: &595 + default: &596 value: type: file encoding: base64 @@ -89479,8 +89782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *335 - *336 + - *337 - name: dir description: The alternate path to look for a README file in: path @@ -89500,9 +89803,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 '422': *15 x-github: @@ -89524,8 +89827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -89535,7 +89838,7 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: default: value: @@ -89629,8 +89932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -89706,9 +90009,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: &600 + default: &601 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89813,9 +90116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *335 - *336 - - &598 + - *337 + - &599 name: asset_id description: The unique identifier of the asset. in: path @@ -89827,9 +90130,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: &599 + default: &600 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 @@ -89864,7 +90167,7 @@ paths: type: User site_admin: false '404': *6 - '302': *484 + '302': *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89880,9 +90183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *335 - *336 - - *598 + - *337 + - *599 requestBody: required: false content: @@ -89910,9 +90213,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89928,9 +90231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *335 - *336 - - *598 + - *337 + - *599 responses: '204': description: Response @@ -89954,8 +90257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -90040,16 +90343,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *600 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90066,8 +90369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *335 - *336 + - *337 - name: tag description: tag parameter in: path @@ -90080,9 +90383,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *600 + default: *601 '404': *6 x-github: githubCloudOnly: false @@ -90104,9 +90407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *335 - *336 - - &601 + - *337 + - &602 name: release_id description: The unique identifier of the release. in: path @@ -90120,9 +90423,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: *596 + schema: *597 examples: - default: *600 + default: *601 '401': description: Unauthorized x-github: @@ -90140,9 +90443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 requestBody: required: false content: @@ -90206,9 +90509,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *600 + default: *601 '404': description: Not Found if the discussion category name is invalid content: @@ -90229,9 +90532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 responses: '204': description: Response @@ -90251,9 +90554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *335 - *336 - - *601 + - *337 + - *602 - *17 - *19 responses: @@ -90263,7 +90566,7 @@ paths: application/json: schema: type: array - items: *597 + items: *598 examples: default: value: @@ -90344,9 +90647,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: - - *335 - *336 - - *601 + - *337 + - *602 - name: name in: query required: true @@ -90372,7 +90675,7 @@ paths: description: Response for successful upload content: application/json: - schema: *597 + schema: *598 examples: response-for-successful-upload: value: @@ -90427,9 +90730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 - 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. @@ -90453,9 +90756,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 @@ -90476,9 +90779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 requestBody: required: true content: @@ -90508,16 +90811,16 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -90539,10 +90842,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *335 - *336 - - *601 - - *539 + - *337 + - *602 + - *540 responses: '204': description: Response @@ -90566,9 +90869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 - *17 - *19 responses: @@ -90584,8 +90887,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *296 - - &602 + - *297 + - &603 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90604,69 +90907,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *297 - - *602 - allOf: - *298 - - *602 + - *603 - allOf: - *299 - - *602 - - allOf: - *603 - - *602 - allOf: - *300 - - *602 + - *603 + - allOf: + - *604 + - *603 - allOf: - *301 - - *602 + - *603 - allOf: - *302 - - *602 + - *603 - allOf: - *303 - - *602 + - *603 - allOf: - *304 - - *602 + - *603 - allOf: - *305 - - *602 + - *603 - allOf: - *306 - - *602 + - *603 - allOf: - *307 - - *602 + - *603 - allOf: - *308 - - *602 + - *603 - allOf: - *309 - - *602 + - *603 - allOf: - *310 - - *602 + - *603 - allOf: - *311 - - *602 + - *603 - allOf: - *312 - - *602 + - *603 - allOf: - *313 - - *602 + - *603 - allOf: - *314 - - *602 + - *603 - allOf: - *315 - - *602 + - *603 - allOf: - *316 - - *602 + - *603 + - allOf: + - *317 + - *603 examples: default: value: @@ -90705,8 +91008,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - *17 - *19 - name: includes_parents @@ -90717,7 +91020,7 @@ paths: schema: type: boolean default: true - - *604 + - *605 responses: '200': description: Response @@ -90725,7 +91028,7 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: default: value: @@ -90772,8 +91075,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 requestBody: description: Request body required: true @@ -90793,16 +91096,16 @@ paths: - tag - push default: branch - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *291 + items: *295 + conditions: *292 rules: type: array description: An array of rules within the ruleset. - items: *605 + items: *606 required: - name - enforcement @@ -90833,9 +91136,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: &615 + default: &616 value: id: 42 name: super cool ruleset @@ -90883,12 +91186,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *335 - *336 - - *606 + - *337 - *607 - *608 - *609 + - *610 - *17 - *19 responses: @@ -90896,9 +91199,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '404': *6 '500': *115 x-github: @@ -90919,17 +91222,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *335 - *336 - - *612 + - *337 + - *613 responses: '200': description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '500': *115 x-github: @@ -90957,8 +91260,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90978,9 +91281,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *615 + default: *616 '404': *6 '500': *115 put: @@ -90998,8 +91301,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91024,16 +91327,16 @@ paths: - branch - tag - push - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *291 + items: *295 + conditions: *292 rules: description: An array of rules within the ruleset. type: array - items: *605 + items: *606 examples: default: value: @@ -91061,9 +91364,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *615 + default: *616 '404': *6 '422': *15 '500': *115 @@ -91082,8 +91385,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91106,8 +91409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *335 - *336 + - *337 - *17 - *19 - name: ruleset_id @@ -91123,9 +91426,9 @@ paths: application/json: schema: type: array - items: *320 + items: *321 examples: - default: *616 + default: *617 '404': *6 '500': *115 x-github: @@ -91144,8 +91447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91163,7 +91466,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -91218,22 +91521,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *335 - *336 - - *618 + - *337 - *619 - *620 - *621 - *622 + - *623 - *55 - *19 - *17 - - *623 - *624 - *625 - *626 - *627 - *628 + - *629 responses: '200': description: Response @@ -91241,7 +91544,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 type: object properties: number: *174 @@ -91260,8 +91563,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *629 - resolution: *630 + state: *630 + resolution: *631 resolved_at: type: string format: date-time @@ -91357,7 +91660,7 @@ paths: pull request. ' - oneOf: *631 + oneOf: *632 nullable: true has_more_locations: type: boolean @@ -91506,16 +91809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *335 - *336 - - *433 - - *628 + - *337 + - *434 + - *629 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -91569,9 +91872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 requestBody: required: true content: @@ -91579,8 +91882,8 @@ paths: schema: type: object properties: - state: *629 - resolution: *630 + state: *630 + resolution: *631 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91614,7 +91917,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -91709,9 +92012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 - *19 - *17 responses: @@ -91748,7 +92051,6 @@ paths: example: commit details: oneOf: - - *633 - *634 - *635 - *636 @@ -91761,6 +92063,7 @@ paths: - *643 - *644 - *645 + - *646 examples: default: value: @@ -91846,8 +92149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -91855,14 +92158,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &648 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *647 required: - reason - placeholder_id @@ -91879,7 +92182,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *648 expire_at: type: string format: date-time @@ -91925,8 +92228,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: - - *335 - *336 + - *337 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91941,7 +92244,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &649 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91967,15 +92270,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *648 + items: *649 backfill_scans: type: array - items: *648 + items: *649 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *649 - type: object properties: pattern_name: @@ -92045,8 +92348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *335 - *336 + - *337 - *55 - name: sort description: The property to sort the results by. @@ -92090,9 +92393,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 '400': *14 '404': *6 x-github: @@ -92115,8 +92418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -92189,7 +92492,7 @@ paths: login: type: string description: The username of the user credited. - type: *323 + type: *324 required: - login - type @@ -92276,9 +92579,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: &652 + default: &653 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92511,8 +92814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -92616,7 +92919,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: default: value: @@ -92763,17 +93066,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *335 - *336 - - *651 + - *337 + - *652 responses: '200': description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: *652 + default: *653 '403': *29 '404': *6 x-github: @@ -92797,9 +93100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *335 - *336 - - *651 + - *337 + - *652 requestBody: required: true content: @@ -92872,7 +93175,7 @@ paths: login: type: string description: The username of the user credited. - type: *323 + type: *324 required: - login - type @@ -92958,10 +93261,10 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: *652 - add_credit: *652 + default: *653 + add_credit: *653 '403': *29 '404': *6 '422': @@ -92999,9 +93302,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: - - *335 - *336 - - *651 + - *337 + - *652 responses: '202': *39 '400': *14 @@ -93028,17 +93331,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *335 - *336 - - *651 + - *337 + - *652 responses: '202': description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 '400': *14 '422': *15 '403': *29 @@ -93064,8 +93367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -93164,8 +93467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *335 - *336 + - *337 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93174,7 +93477,7 @@ paths: application/json: schema: type: array - items: &653 + items: &654 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93207,8 +93510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -93284,8 +93587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -93381,8 +93684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *335 - *336 + - *337 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93536,8 +93839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *335 - *336 + - *337 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93547,7 +93850,7 @@ paths: application/json: schema: type: array - items: *653 + items: *654 examples: default: value: @@ -93580,8 +93883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *335 - *336 + - *337 - name: sha in: path required: true @@ -93635,7 +93938,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: default: value: @@ -93689,8 +93992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -93722,14 +94025,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *335 - *336 + - *337 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &656 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93797,8 +94100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -93824,7 +94127,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: default: value: @@ -93851,8 +94154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -93872,8 +94175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -93952,8 +94255,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *335 - *336 + - *337 - name: ref in: path required: true @@ -93989,8 +94292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -94002,7 +94305,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 headers: Link: *61 '404': *6 @@ -94022,8 +94325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *335 - *336 + - *337 - *19 - *17 responses: @@ -94031,7 +94334,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &657 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94043,7 +94346,7 @@ paths: required: - names examples: - default: &657 + default: &658 value: names: - octocat @@ -94066,8 +94369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -94098,9 +94401,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 '422': *7 x-github: @@ -94121,9 +94424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *335 - *336 - - &658 + - *337 + - &659 name: per description: The time frame to display results for. in: query @@ -94152,7 +94455,7 @@ paths: example: 128 clones: type: array - items: &659 + items: &660 title: Traffic type: object properties: @@ -94239,8 +94542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -94330,8 +94633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -94391,9 +94694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *335 - *336 - - *658 + - *337 + - *659 responses: '200': description: Response @@ -94412,7 +94715,7 @@ paths: example: 3782 views: type: array - items: *659 + items: *660 required: - uniques - count @@ -94489,8 +94792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -94764,8 +95067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94788,8 +95091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -94811,8 +95114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -94838,8 +95141,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *335 - *336 + - *337 - name: ref in: path required: true @@ -94931,9 +95234,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95081,7 +95384,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *145 - - *544 + - *545 requestBody: required: true content: @@ -95145,9 +95448,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *547 + items: *548 examples: - default: *660 + default: *661 '400': *14 '403': *29 '404': *6 @@ -95184,7 +95487,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *145 - - *544 + - *545 requestBody: required: true content: @@ -95249,9 +95552,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *547 + items: *548 examples: - default: *660 + default: *661 '400': *14 '403': *29 '404': *6 @@ -95283,8 +95586,8 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *145 - - *544 - - *234 + - *545 + - *235 responses: '204': description: Issue field value deleted successfully @@ -95423,7 +95726,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &661 + text_matches: &662 title: Search Result Text Matches type: array items: @@ -95585,7 +95888,7 @@ paths: enum: - author-date - committer-date - - &662 + - &663 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 @@ -95656,7 +95959,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *400 + properties: *401 nullable: true comment_count: type: integer @@ -95676,7 +95979,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *522 required: - author - committer @@ -95695,7 +95998,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *400 + properties: *401 nullable: true parents: type: array @@ -95713,7 +96016,7 @@ paths: type: number node_id: type: string - text_matches: *661 + text_matches: *662 required: - sha - node_id @@ -95905,7 +96208,7 @@ paths: - interactions - created - updated - - *662 + - *663 - *17 - *19 - name: advanced_search @@ -96002,11 +96305,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: type: string state_reason: @@ -96023,8 +96326,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true comments: type: integer @@ -96038,7 +96341,7 @@ paths: type: string format: date-time nullable: true - text_matches: *661 + text_matches: *662 pull_request: type: object properties: @@ -96082,7 +96385,7 @@ paths: timeline_url: type: string format: uri - type: *235 + type: *236 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -96271,7 +96574,7 @@ paths: enum: - created - updated - - *662 + - *663 - *17 - *19 responses: @@ -96315,7 +96618,7 @@ paths: nullable: true score: type: number - text_matches: *661 + text_matches: *662 required: - id - node_id @@ -96400,7 +96703,7 @@ paths: - forks - help-wanted-issues - updated - - *662 + - *663 - *17 - *19 responses: @@ -96650,7 +96953,7 @@ paths: - admin - pull - push - text_matches: *661 + text_matches: *662 temp_clone_token: type: string allow_merge_commit: @@ -96950,7 +97253,7 @@ paths: type: string format: uri nullable: true - text_matches: *661 + text_matches: *662 related: type: array nullable: true @@ -97141,7 +97444,7 @@ paths: - followers - repositories - joined - - *662 + - *663 - *17 - *19 responses: @@ -97245,7 +97548,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *661 + text_matches: *662 blog: type: string nullable: true @@ -97324,7 +97627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &665 + - &666 name: team_id description: The unique identifier of the team. in: path @@ -97336,9 +97639,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 x-github: githubCloudOnly: false @@ -97365,7 +97668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *665 + - *666 requestBody: required: true content: @@ -97428,16 +97731,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '201': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 '422': *15 '403': *29 @@ -97465,7 +97768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *665 + - *666 responses: '204': description: Response @@ -97494,7 +97797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *665 + - *666 - *17 - *19 responses: @@ -97504,9 +97807,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *230 + default: *231 headers: Link: *61 x-github: @@ -97532,7 +97835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *665 + - *666 - name: role description: Filters members returned by their role in the team. in: query @@ -97583,7 +97886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97620,7 +97923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97660,7 +97963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97697,16 +98000,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *665 + - *666 - *65 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: - response-if-user-is-a-team-maintainer: *666 + response-if-user-is-a-team-maintainer: *667 '404': *6 x-github: githubCloudOnly: false @@ -97739,7 +98042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *665 + - *666 - *65 requestBody: required: false @@ -97765,9 +98068,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - response-if-users-membership-with-team-is-now-pending: *667 + response-if-users-membership-with-team-is-now-pending: *668 '403': description: Forbidden if team synchronization is set up '422': @@ -97801,7 +98104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97829,7 +98132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *665 + - *666 - *17 - *19 responses: @@ -97841,7 +98144,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 '404': *6 @@ -97871,15 +98174,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *665 - - *335 + - *666 - *336 + - *337 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *668 + schema: *669 examples: alternative-response-with-extra-repository-information: value: @@ -98030,9 +98333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *665 - - *335 + - *666 - *336 + - *337 requestBody: required: false content: @@ -98082,9 +98385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *665 - - *335 + - *666 - *336 + - *337 responses: '204': description: Response @@ -98109,7 +98412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *665 + - *666 - *17 - *19 responses: @@ -98121,7 +98424,7 @@ paths: type: array items: *193 examples: - response-if-child-teams-exist: *669 + response-if-child-teams-exist: *670 headers: Link: *61 '404': *6 @@ -98154,7 +98457,7 @@ paths: application/json: schema: oneOf: - - &671 + - &672 title: Private User description: Private User type: object @@ -98357,7 +98660,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *670 + - *671 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -98510,7 +98813,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: default: value: @@ -98713,9 +99016,9 @@ paths: type: integer codespaces: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '304': *37 '500': *115 '401': *25 @@ -98854,17 +99157,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '401': *25 '403': *29 '404': *6 @@ -98908,7 +99211,7 @@ paths: type: integer secrets: type: array - items: &672 + items: &673 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98948,7 +99251,7 @@ paths: - visibility - selected_repositories_url examples: - default: *459 + default: *460 headers: Link: *61 x-github: @@ -99024,7 +99327,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: default: value: @@ -99170,7 +99473,7 @@ paths: type: array items: *156 examples: - default: *673 + default: *194 '401': *25 '403': *29 '404': *6 @@ -99314,15 +99617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '304': *37 '500': *115 '401': *25 @@ -99348,7 +99651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 requestBody: required: false content: @@ -99378,9 +99681,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '401': *25 '403': *29 '404': *6 @@ -99402,7 +99705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '202': *39 '304': *37 @@ -99431,7 +99734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '202': description: Response @@ -99510,7 +99813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *242 + - *243 - name: export_id in: path required: true @@ -99546,7 +99849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *242 + - *243 responses: '200': description: Response @@ -99593,7 +99896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *242 + - *243 requestBody: required: true content: @@ -99643,13 +99946,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *339 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *457 - required: *458 + properties: *458 + required: *459 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -100423,15 +100726,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '304': *37 '500': *115 '400': *14 @@ -100463,15 +100766,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '500': *115 '401': *25 '403': *29 @@ -100501,7 +100804,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: &688 value: @@ -101592,12 +101895,12 @@ paths: application/json: schema: anyOf: - - *227 + - *228 - type: object properties: {} additionalProperties: false examples: - default: *228 + default: *229 '204': description: Response when there are no restrictions x-github: @@ -101621,7 +101924,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *533 examples: default: value: @@ -101632,7 +101935,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -101713,7 +102016,7 @@ paths: - closed - all default: open - - *238 + - *239 - name: sort description: What to sort results by. in: query @@ -101738,7 +102041,7 @@ paths: type: array items: *79 examples: - default: *239 + default: *240 headers: Link: *61 '404': *6 @@ -101907,7 +102210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *566 + - *567 responses: '200': description: Response @@ -101938,7 +102241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *566 + - *567 responses: '204': description: Response @@ -102143,7 +102446,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -102257,7 +102560,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -102344,7 +102647,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -102416,7 +102719,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -102669,7 +102972,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -102849,7 +103152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *247 + - *248 - name: exclude in: query required: false @@ -102862,7 +103165,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -103056,7 +103359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *247 + - *248 responses: '302': description: Response @@ -103082,7 +103385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *247 + - *248 responses: '204': description: Response @@ -103111,7 +103414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *247 + - *248 - *686 responses: '204': @@ -103136,7 +103439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *247 + - *248 - *17 - *19 responses: @@ -103148,7 +103451,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 '404': *6 @@ -103237,7 +103540,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: *688 '400': *689 @@ -103260,14 +103563,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *255 - *256 + - *257 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: default: &707 value: @@ -103382,8 +103685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *255 - *256 + - *257 responses: '204': description: Response @@ -103413,8 +103716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *255 - *256 + - *257 - name: token description: package token schema: @@ -103446,8 +103749,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: - - *255 - *256 + - *257 - *19 - *17 - name: state @@ -103467,7 +103770,7 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: default: value: @@ -103516,15 +103819,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -103560,9 +103863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 responses: '204': description: Response @@ -103592,9 +103895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 responses: '204': description: Response @@ -104050,9 +104353,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104090,7 +104393,7 @@ paths: application/json: schema: type: array - items: *534 + items: *535 examples: default: *691 headers: @@ -104115,7 +104418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *231 + - *232 responses: '204': description: Response @@ -104138,7 +104441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *231 + - *232 responses: '204': description: Response @@ -104704,8 +105007,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: - - *335 - *336 + - *337 responses: '204': description: Response if this repository is starred by you @@ -104733,8 +105036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -104758,8 +105061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -104794,7 +105097,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 '304': *37 @@ -104831,7 +105134,7 @@ paths: application/json: schema: type: array - items: *331 + items: *332 examples: default: value: @@ -104917,8 +105220,8 @@ paths: application/json: schema: oneOf: + - *672 - *671 - - *670 examples: default-response: &701 summary: Default response @@ -105019,7 +105322,7 @@ paths: required: true schema: type: string - - *271 + - *272 requestBody: required: true description: Details of the draft item to create in the project. @@ -105053,9 +105356,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *278 examples: - draft_issue: *278 + draft_issue: *279 '304': *37 '403': *29 '401': *25 @@ -105114,7 +105417,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *699 - - *271 + - *272 requestBody: required: true content: @@ -105189,13 +105492,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *282 + value: *283 board_view: summary: Response for creating a board view with filter - value: *282 + value: *283 roadmap_view: summary: Response for creating a roadmap view - value: *282 + value: *283 '304': *37 '403': *29 '401': *25 @@ -105237,8 +105540,8 @@ paths: application/json: schema: oneOf: + - *672 - *671 - - *670 examples: default-response: *701 response-with-git-hub-plan-information: *702 @@ -105550,7 +105853,7 @@ paths: initiator: type: string examples: - default: *396 + default: *397 '201': description: Response content: @@ -105589,7 +105892,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: *688 '403': *29 @@ -106081,7 +106384,7 @@ paths: application/json: schema: *22 examples: - default: *531 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106216,7 +106519,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: *688 '403': *29 @@ -106241,15 +106544,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *255 - *256 + - *257 - *65 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: default: *707 x-github: @@ -106272,8 +106575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *255 - *256 + - *257 - *65 responses: '204': @@ -106306,8 +106609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *255 - *256 + - *257 - *65 - name: token description: package token @@ -106340,8 +106643,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: - - *255 - *256 + - *257 - *65 responses: '200': @@ -106350,7 +106653,7 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: default: value: @@ -106408,16 +106711,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 - *65 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -106452,10 +106755,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *255 - *256 + - *257 - *65 - - *258 + - *259 responses: '204': description: Response @@ -106487,10 +106790,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *255 - *256 + - *257 - *65 - - *258 + - *259 responses: '204': description: Response @@ -106531,9 +106834,9 @@ paths: application/json: schema: type: array - items: *269 + items: *270 examples: - default: *270 + default: *271 headers: Link: *61 '304': *37 @@ -106555,16 +106858,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *271 + - *272 - *65 responses: '200': description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *270 + default: *271 headers: Link: *61 '304': *37 @@ -106586,7 +106889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *271 + - *272 - *65 - *17 - *47 @@ -106598,7 +106901,7 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: default: *708 headers: @@ -106622,7 +106925,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *65 - - *271 + - *272 requestBody: required: true content: @@ -106705,7 +107008,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: text_field: *713 number_field: *714 @@ -106732,7 +107035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *271 + - *272 - *718 - *65 responses: @@ -106740,7 +107043,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: *719 headers: @@ -106765,7 +107068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *271 + - *272 - *65 - *47 - *48 @@ -106798,9 +107101,9 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -106822,7 +107125,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *65 - - *271 + - *272 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -106892,22 +107195,22 @@ paths: description: Response content: application/json: - schema: *277 + schema: *278 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *278 + value: *279 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *278 + value: *279 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *278 + value: *279 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *278 + value: *279 '304': *37 '403': *29 '401': *25 @@ -106927,9 +107230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *271 + - *272 - *65 - - *281 + - *282 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106949,9 +107252,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -106972,9 +107275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *271 + - *272 - *65 - - *281 + - *282 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107044,13 +107347,13 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - text_field: *280 - number_field: *280 - date_field: *280 - single_select_field: *280 - iteration_field: *280 + text_field: *281 + number_field: *281 + date_field: *281 + single_select_field: *281 + iteration_field: *281 '401': *25 '403': *29 '404': *6 @@ -107070,9 +107373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *271 + - *272 - *65 - - *281 + - *282 responses: '204': description: Response @@ -107094,7 +107397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *271 + - *272 - *65 - *720 - name: fields @@ -107122,9 +107425,9 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -107345,7 +107648,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 x-github: @@ -107843,7 +108146,7 @@ paths: type: array items: *156 examples: - default: *259 + default: *260 headers: Link: *61 x-github: @@ -113442,7 +113745,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113765,7 +114068,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114095,7 +114398,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114437,7 +114740,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114707,7 +115010,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114988,7 +115291,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115299,7 +115602,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115888,7 +116191,7 @@ x-webhooks: type: string enum: - created - definition: *283 + definition: *284 enterprise: *728 installation: *729 organization: *730 @@ -116055,7 +116358,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *283 + definition: *284 enterprise: *728 installation: *729 organization: *730 @@ -116135,7 +116438,7 @@ x-webhooks: type: string enum: - updated - definition: *283 + definition: *284 enterprise: *728 installation: *729 organization: *730 @@ -116223,11 +116526,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *287 + items: *288 old_property_values: type: array description: The old custom property values for the repository. - items: *287 + items: *288 required: - action - repository @@ -116394,7 +116697,7 @@ x-webhooks: type: string enum: - assignees_changed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116478,7 +116781,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116563,7 +116866,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116648,7 +116951,7 @@ x-webhooks: type: string enum: - created - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116731,7 +117034,7 @@ x-webhooks: type: string enum: - dismissed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116814,7 +117117,7 @@ x-webhooks: type: string enum: - fixed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116898,7 +117201,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116981,7 +117284,7 @@ x-webhooks: type: string enum: - reopened - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -118489,7 +118792,7 @@ x-webhooks: nullable: true pull_requests: type: array - items: *585 + items: *586 repository: *731 organization: *730 installation: *729 @@ -126570,8 +126873,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true user: title: User @@ -127446,8 +127749,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127463,7 +127766,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -128034,8 +128337,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true required: - url @@ -128836,8 +129139,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128853,7 +129156,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -130071,8 +130374,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130088,7 +130391,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -131295,8 +131598,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131312,7 +131615,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -132520,8 +132823,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132537,7 +132840,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -134111,11 +134414,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134131,7 +134434,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -135111,11 +135414,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135131,7 +135434,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -136236,11 +136539,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136256,7 +136559,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -137247,11 +137550,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137267,7 +137570,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -138377,11 +138680,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138394,7 +138697,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *235 + type: *236 title: description: Title of the issue type: string @@ -139372,11 +139675,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139389,7 +139692,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *235 + type: *236 title: description: Title of the issue type: string @@ -140391,11 +140694,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140408,7 +140711,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *235 + type: *236 title: description: Title of the issue type: string @@ -141379,11 +141682,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141399,7 +141702,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -142342,11 +142645,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142447,7 +142750,7 @@ x-webhooks: required: - login - id - type: *235 + type: *236 required: - id - number @@ -143716,11 +144019,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143736,7 +144039,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -144713,11 +145016,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144733,7 +145036,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -145727,11 +146030,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145825,7 +146128,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *235 + type: *236 organization: *730 repository: *731 sender: *4 @@ -146696,11 +146999,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146716,7 +147019,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -147386,7 +147689,7 @@ x-webhooks: enterprise: *728 installation: *729 issue: *757 - type: *235 + type: *236 organization: *730 repository: *731 sender: *4 @@ -148521,11 +148824,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148541,7 +148844,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -148786,7 +149089,7 @@ x-webhooks: enterprise: *728 installation: *729 issue: *757 - type: *235 + type: *236 organization: *730 repository: *731 sender: *4 @@ -156489,7 +156792,7 @@ x-webhooks: - closed installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156572,7 +156875,7 @@ x-webhooks: - created installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156655,7 +156958,7 @@ x-webhooks: - deleted installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156774,7 +157077,7 @@ x-webhooks: type: string installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156891,7 +157194,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *276 + content_type: *277 creator: *4 created_at: type: string @@ -157625,7 +157928,7 @@ x-webhooks: - reopened installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -165280,7 +165583,7 @@ x-webhooks: organization: *730 pull_request: &781 allOf: - - *585 + - *586 - type: object properties: allow_auto_merge: @@ -165509,7 +165812,7 @@ x-webhooks: enum: - demilestoned enterprise: *728 - milestone: *569 + milestone: *570 number: *780 organization: *730 pull_request: &782 @@ -177581,7 +177884,7 @@ x-webhooks: enum: - milestoned enterprise: *728 - milestone: *569 + milestone: *570 number: *780 organization: *730 pull_request: *782 @@ -220062,7 +220365,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_advisory: *649 + repository_advisory: *650 sender: *4 required: - action @@ -220142,7 +220445,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_advisory: *649 + repository_advisory: *650 sender: *4 required: - action @@ -221004,7 +221307,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_ruleset: *317 + repository_ruleset: *318 sender: *4 required: - action @@ -221086,7 +221389,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_ruleset: *317 + repository_ruleset: *318 sender: *4 required: - action @@ -221168,7 +221471,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_ruleset: *317 + repository_ruleset: *318 changes: type: object properties: @@ -221187,16 +221490,16 @@ x-webhooks: properties: added: type: array - items: *291 + items: *292 deleted: type: array - items: *291 + items: *292 updated: type: array items: type: object properties: - condition: *291 + condition: *292 changes: type: object properties: @@ -221229,16 +221532,16 @@ x-webhooks: properties: added: type: array - items: *605 + items: *606 deleted: type: array - items: *605 + items: *606 updated: type: array items: type: object properties: - rule: *605 + rule: *606 changes: type: object properties: @@ -223848,11 +224151,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *290 + security_and_analysis: *291 enterprise: *728 installation: *729 organization: *730 - repository: *338 + repository: *339 sender: *4 required: - changes @@ -229075,7 +229378,7 @@ x-webhooks: type: string required: - conclusion - deployment: *496 + deployment: *497 required: - action - repository @@ -229417,7 +229720,7 @@ x-webhooks: required: - status - steps - deployment: *496 + deployment: *497 required: - action - repository @@ -229634,7 +229937,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *496 + deployment: *497 required: - action - repository @@ -229852,7 +230155,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *496 + deployment: *497 required: - action - repository diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 52f06435c..0c6002bd8 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -4910,6 +4910,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.", @@ -5895,6 +5903,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.", @@ -6734,6 +6750,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.", @@ -7204,6 +7228,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.", @@ -9233,1042 +9265,1058 @@ "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", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { - "type": "boolean", - "example": true - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "account": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ], - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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", - "items": { - "type": "string" - }, - "nullable": true - }, - "token": { - "type": "string" - }, - "token_last_eight": { - "type": "string", - "nullable": true - }, - "hashed_token": { - "type": "string", - "nullable": true - }, - "app": { - "type": "object", - "properties": { - "client_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "client_id", - "name", - "url" - ] - }, - "note": { - "type": "string", - "nullable": true - }, - "note_url": { - "type": "string", - "format": "uri", - "nullable": true - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "fingerprint": { - "type": "string", - "nullable": true - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "installation": { - "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": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "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", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "account": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ], + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "items": { + "type": "string" + }, + "nullable": true + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "type": "string", + "nullable": true + }, + "hashed_token": { + "type": "string", + "nullable": true + }, + "app": { + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "client_id", + "name", + "url" + ] + }, + "note": { + "type": "string", + "nullable": true + }, + "note_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "fingerprint": { + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "installation": { + "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" ] }, - "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.", @@ -11222,6 +11270,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.", @@ -11886,6 +11942,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.", @@ -105050,26 +105114,2357 @@ } }, "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": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": [ { @@ -105080,71 +107475,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": { @@ -105169,8 +107542,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -105195,8 +107568,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -105221,8 +107594,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -105246,16 +107619,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" } } }, @@ -125529,6 +127899,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.", @@ -126529,6 +128907,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.", @@ -353887,6 +356273,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.", @@ -579637,6 +582031,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.", @@ -650193,6 +652595,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.", @@ -841118,6 +843528,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.", @@ -843718,6 +846136,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.", @@ -846225,6 +848651,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.", @@ -848732,6 +851166,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.", @@ -851371,6 +853813,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.", @@ -854017,6 +856467,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.", @@ -858294,6 +860752,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/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 93038a9de..baae32963 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -827,7 +827,7 @@ paths: - subscriptions_url - type - url - type: &323 + type: &324 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &651 + - &652 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1548,7 +1548,7 @@ paths: schema: type: integer default: 30 - - &210 + - &211 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 @@ -1564,7 +1564,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1644,7 +1644,7 @@ paths: - installation_id - repository_id examples: - default: &212 + default: &213 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1772,7 +1772,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &214 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1886,7 +1886,7 @@ paths: - request - response examples: - default: &214 + default: &215 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2412,6 +2412,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 @@ -2855,7 +2863,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &288 + properties: &289 id: description: Unique identifier of the repository example: 42 @@ -3296,7 +3304,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &289 + required: &290 - archive_url - assignees_url - blobs_url @@ -8885,7 +8893,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &194 + - &195 name: state in: query description: |- @@ -8894,7 +8902,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &196 name: severity in: query description: |- @@ -8903,7 +8911,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &197 name: ecosystem in: query description: |- @@ -8912,14 +8920,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &198 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 - - &198 + - &199 name: epss_percentage in: query description: |- @@ -8931,7 +8939,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 - - &486 + - &487 name: has in: query description: |- @@ -8945,7 +8953,7 @@ paths: type: string enum: - patch - - &199 + - &200 name: assignee in: query description: |- @@ -8954,7 +8962,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &200 + - &201 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8964,7 +8972,7 @@ paths: enum: - development - runtime - - &201 + - &202 name: sort in: query description: |- @@ -8990,7 +8998,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 type: object description: A Dependabot alert. properties: @@ -9056,7 +9064,7 @@ paths: - unknown - direct - transitive - security_advisory: &487 + security_advisory: &488 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9296,14 +9304,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &488 + auto_dismissed_at: &489 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &489 + dismissal_request: &490 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9365,7 +9373,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &204 value: - number: 2 state: dismissed @@ -11068,7 +11076,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &540 + properties: &541 id: type: integer format: int64 @@ -11174,7 +11182,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &272 + properties: &273 url: type: string format: uri @@ -11244,7 +11252,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &273 + required: &274 - closed_issues - creator - description @@ -11323,7 +11331,7 @@ paths: timeline_url: type: string format: uri - type: &235 + type: &236 title: Issue Type description: The type of issue. type: object @@ -11437,7 +11445,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &663 + sub_issues_summary: &664 title: Sub-issues Summary type: object properties: @@ -11524,7 +11532,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &562 + properties: &563 pinned_at: type: string format: date-time @@ -11536,7 +11544,7 @@ paths: properties: *20 required: *21 nullable: true - required: &563 + required: &564 - pinned_at - pinned_by nullable: true @@ -11550,7 +11558,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &664 + issue_dependencies_summary: &665 title: Issue Dependencies Summary type: object properties: @@ -11569,7 +11577,7 @@ paths: - total_blocking issue_field_values: type: array - items: &547 + items: &548 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11630,7 +11638,7 @@ paths: - node_id - data_type - value - required: &541 + required: &542 - closed_at - comments - comments_url @@ -11667,7 +11675,7 @@ paths: action: type: string issue: *79 - comment: &536 + comment: &537 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12333,7 +12341,7 @@ paths: type: string release: allOf: - - &596 + - &597 title: Release description: A release. type: object @@ -12404,7 +12412,7 @@ paths: author: *4 assets: type: array - items: &597 + items: &598 title: Release Asset description: Data related to a release. type: object @@ -14642,7 +14650,7 @@ paths: - closed - all default: open - - &238 + - &239 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14693,7 +14701,7 @@ paths: type: array items: *79 examples: - default: &239 + default: &240 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16078,14 +16086,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &335 + - &336 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &336 + - &337 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16147,7 +16155,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &340 description: Moved permanently content: application/json: @@ -16169,7 +16177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &572 + - &573 name: all description: If `true`, show notifications marked as read. in: query @@ -16177,7 +16185,7 @@ paths: schema: type: boolean default: false - - &573 + - &574 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16187,7 +16195,7 @@ paths: type: boolean default: false - *86 - - &574 + - &575 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: @@ -16223,7 +16231,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &205 + properties: &206 id: type: integer format: int64 @@ -16509,7 +16517,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &290 + security_and_analysis: &291 nullable: true type: object properties: @@ -16622,7 +16630,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &206 + required: &207 - archive_url - assignees_url - blobs_url @@ -16710,7 +16718,7 @@ paths: - url - subscription_url examples: - default: &575 + default: &576 value: - id: '1' repository: @@ -19416,7 +19424,7 @@ paths: type: integer repository_cache_usages: type: array - items: &346 + items: &347 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20722,7 +20730,7 @@ paths: - all - local_only - selected - selected_actions_url: &352 + selected_actions_url: &353 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` @@ -20805,7 +20813,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &357 type: object properties: days: @@ -20847,7 +20855,7 @@ paths: required: true content: application/json: - schema: &357 + schema: &358 type: object properties: days: @@ -20904,7 +20912,7 @@ paths: required: - approval_policy examples: - default: &358 + default: &359 value: approval_policy: first_time_contributors '404': *6 @@ -20963,7 +20971,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 type: object required: - run_workflows_from_fork_pull_requests @@ -21017,7 +21025,7 @@ paths: required: true content: application/json: - schema: &360 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -21652,7 +21660,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 type: object properties: default_workflow_permissions: &149 @@ -21703,7 +21711,7 @@ paths: required: false content: application/json: - schema: &362 + schema: &363 type: object properties: default_workflow_permissions: *149 @@ -22192,7 +22200,7 @@ paths: type: array items: *156 examples: - default: &672 + default: &194 value: total_count: 1 repositories: @@ -22834,7 +22842,7 @@ paths: application/json: schema: type: array - items: &363 + items: &364 title: Runner Application description: Runner Application type: object @@ -22859,7 +22867,7 @@ paths: - download_url - filename examples: - default: &364 + default: &365 value: - os: osx architecture: x64 @@ -22945,7 +22953,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &365 + '201': &366 description: Response content: application/json: @@ -23056,7 +23064,7 @@ paths: - token - expires_at examples: - default: &366 + default: &367 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23095,7 +23103,7 @@ paths: application/json: schema: *160 examples: - default: &367 + default: &368 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23129,7 +23137,7 @@ paths: application/json: schema: *158 examples: - default: &368 + default: &369 value: id: 23 name: MBP @@ -23355,7 +23363,7 @@ paths: - *69 - *157 responses: - '200': &369 + '200': &370 description: Response content: application/json: @@ -23412,7 +23420,7 @@ paths: parameters: - *69 - *157 - - &370 + - &371 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23542,7 +23550,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &383 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23571,7 +23579,7 @@ paths: - key_id - key examples: - default: &383 + default: &384 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23984,7 +23992,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *69 - - &351 + - &352 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -25516,7 +25524,7 @@ paths: initiator: type: string examples: - default: &396 + default: &397 value: attestations: - bundle: @@ -25867,7 +25875,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &250 + properties: &251 id: description: Unique identifier of the team type: integer @@ -25939,7 +25947,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &251 + required: &252 - id - node_id - url @@ -26445,7 +26453,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *69 - - &421 + - &422 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`, @@ -26455,7 +26463,7 @@ paths: schema: &181 type: string description: The name of the tool used to generate the code scanning analysis. - - &422 + - &423 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 @@ -26478,7 +26486,7 @@ paths: be returned. in: query required: false - schema: &424 + schema: &425 type: string description: State of a code scanning alert. enum: @@ -26501,7 +26509,7 @@ paths: be returned. in: query required: false - schema: &425 + schema: &426 type: string description: Severity of a code scanning alert. enum: @@ -26535,7 +26543,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: &426 + instances_url: &427 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26558,7 +26566,7 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: &427 + dismissed_reason: &428 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26567,13 +26575,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &428 + dismissed_comment: &429 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &429 + rule: &430 type: object properties: id: @@ -26626,7 +26634,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &430 + tool: &431 type: object properties: name: *181 @@ -26636,26 +26644,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *182 - most_recent_instance: &431 + most_recent_instance: &432 type: object properties: - ref: &423 + ref: &424 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &441 + analysis_key: &442 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: &442 + environment: &443 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: &443 + category: &444 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26669,7 +26677,7 @@ paths: properties: text: type: string - location: &444 + location: &445 type: object description: Describe a region within a file for the alert. properties: @@ -26690,7 +26698,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: &445 + items: &446 type: string description: A classification of the file. For example to identify it as generated. @@ -27981,7 +27989,7 @@ paths: type: integer codespaces: type: array - items: &240 + items: &241 type: object title: Codespace description: A codespace. @@ -28011,7 +28019,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &457 + properties: &458 name: type: string description: The name of the machine. @@ -28053,7 +28061,7 @@ paths: - ready - in_progress nullable: true - required: &458 + required: &459 - name - display_name - operating_system @@ -28258,7 +28266,7 @@ paths: - pulls_url - recent_folders examples: - default: &241 + default: &242 value: total_count: 3 codespaces: @@ -28921,7 +28929,7 @@ paths: - updated_at - visibility examples: - default: &459 + default: &460 value: total_count: 2 secrets: @@ -28959,7 +28967,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &461 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28988,7 +28996,7 @@ paths: - key_id - key examples: - default: &461 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29020,7 +29028,7 @@ paths: application/json: schema: *190 examples: - default: &463 + default: &464 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29487,7 +29495,7 @@ paths: currently being billed. seats: type: array - items: &243 + items: &244 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -29962,6 +29970,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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '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: + - *69 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *156 + required: + - total_count + - repositories + examples: + default: *194 + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + 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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + '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: + - *69 + - *145 + responses: + '204': + description: No Content + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + '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: + - *69 + - *145 + responses: + '204': + description: No Content + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + 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 @@ -30163,7 +30466,7 @@ paths: application/json: schema: type: array - items: &328 + items: &329 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30470,7 +30773,7 @@ paths: - date additionalProperties: true examples: - default: &329 + default: &330 value: - date: '2024-06-24' total_active_users: 24 @@ -30572,7 +30875,7 @@ paths: '500': *115 '403': *29 '404': *6 - '422': &330 + '422': &331 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -30600,11 +30903,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *69 - - *194 - *195 - *196 - *197 - *198 + - *199 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -30634,7 +30937,7 @@ paths: enum: - patch - deployment - - *199 + - *200 - name: runtime_risk in: query description: |- @@ -30643,8 +30946,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *200 - *201 + - *202 - *55 - *47 - *48 @@ -30656,9 +30959,9 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *203 + default: *204 '304': *37 '400': *14 '403': *29 @@ -30702,7 +31005,7 @@ paths: type: integer secrets: type: array - items: &204 + items: &205 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -30779,7 +31082,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &493 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30796,7 +31099,7 @@ paths: - key_id - key examples: - default: &493 + default: &494 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30826,7 +31129,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -31123,7 +31426,7 @@ paths: application/json: schema: type: array - items: &253 + items: &254 title: Package description: A software package type: object @@ -31173,8 +31476,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *205 - required: *206 + properties: *206 + required: *207 nullable: true created_at: type: string @@ -31193,7 +31496,7 @@ paths: - created_at - updated_at examples: - default: &254 + default: &255 value: - id: 197 name: hello_docker @@ -31363,7 +31666,7 @@ paths: application/json: schema: type: array - items: &229 + items: &230 title: Organization Invitation description: Organization Invitation type: object @@ -31410,7 +31713,7 @@ paths: - invitation_teams_url - node_id examples: - default: &230 + default: &231 value: - id: 1 login: monalisa @@ -31477,7 +31780,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Org Hook description: Org Hook type: object @@ -31648,9 +31951,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: &208 + default: &209 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -31698,7 +32001,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *69 - - &209 + - &210 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. @@ -31711,9 +32014,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *208 + default: *209 '404': *6 x-github: githubCloudOnly: false @@ -31741,7 +32044,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *69 - - *209 + - *210 requestBody: required: false content: @@ -31786,7 +32089,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *208 examples: default: value: @@ -31828,7 +32131,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *69 - - *209 + - *210 responses: '204': description: Response @@ -31856,7 +32159,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *69 - - *209 + - *210 responses: '200': description: Response @@ -31887,7 +32190,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *69 - - *209 + - *210 requestBody: required: false content: @@ -31938,9 +32241,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *69 - - *209 - - *17 - *210 + - *17 + - *211 responses: '200': description: Response @@ -31948,9 +32251,9 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 + default: *213 '400': *14 '422': *15 x-github: @@ -31976,16 +32279,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *69 - - *209 + - *210 - *16 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '400': *14 '422': *15 x-github: @@ -32011,7 +32314,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *69 - - *209 + - *210 - *16 responses: '202': *39 @@ -32041,7 +32344,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *69 - - *209 + - *210 responses: '204': description: Response @@ -32064,7 +32367,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *69 - - &219 + - &220 name: actor_type in: path description: The type of the actor @@ -32077,14 +32380,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &220 + - &221 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &215 + - &216 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`.' @@ -32092,7 +32395,7 @@ paths: required: true schema: type: string - - &216 + - &217 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) @@ -32186,12 +32489,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *69 - - *215 - *216 + - *217 - *19 - *17 - *55 - - &225 + - &226 name: sort description: The property to sort the results by. in: query @@ -32269,14 +32572,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *69 - - *215 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: &217 + schema: &218 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32292,7 +32595,7 @@ paths: type: integer format: int64 examples: - default: &218 + default: &219 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32313,23 +32616,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *69 - - &221 + - &222 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *215 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *218 + default: *219 x-github: enabledForGitHubApps: true category: orgs @@ -32348,18 +32651,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *69 - - *215 - *216 - - *219 + - *217 - *220 + - *221 responses: '200': description: Response content: application/json: - schema: *217 + schema: *218 examples: - default: *218 + default: *219 x-github: enabledForGitHubApps: true category: orgs @@ -32377,9 +32680,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *69 - - *215 - *216 - - &222 + - *217 + - &223 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -32392,7 +32695,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -32408,7 +32711,7 @@ paths: type: integer format: int64 examples: - default: &224 + default: &225 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -32445,18 +32748,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *69 - - *221 - - *215 - - *216 - *222 + - *216 + - *217 + - *223 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32474,19 +32777,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *69 - - *219 - *220 - - *215 + - *221 - *216 - - *222 + - *217 + - *223 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 x-github: enabledForGitHubApps: true category: orgs @@ -32504,13 +32807,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *69 - - *221 - - *215 + - *222 - *216 + - *217 - *19 - *17 - *55 - - *225 + - *226 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -32591,7 +32894,7 @@ paths: application/json: schema: *22 examples: - default: &531 + default: &532 value: id: 1 account: @@ -32757,12 +33060,12 @@ paths: application/json: schema: anyOf: - - &227 + - &228 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &226 + limit: &227 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32787,7 +33090,7 @@ paths: properties: {} additionalProperties: false examples: - default: &228 + default: &229 value: limit: collaborators_only origin: organization @@ -32816,13 +33119,13 @@ paths: required: true content: application/json: - schema: &532 + schema: &533 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *226 + limit: *227 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32846,9 +33149,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 '422': *15 x-github: githubCloudOnly: false @@ -32924,9 +33227,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *230 + default: *231 headers: Link: *61 '404': *6 @@ -33003,7 +33306,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *230 examples: default: value: @@ -33058,7 +33361,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *69 - - &231 + - &232 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33089,7 +33392,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *69 - - *231 + - *232 - *17 - *19 responses: @@ -33101,7 +33404,7 @@ paths: type: array items: *193 examples: - default: &252 + default: &253 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33144,7 +33447,7 @@ paths: application/json: schema: type: array - items: &232 + items: &233 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -33377,9 +33680,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: &233 + default: &234 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -33435,7 +33738,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *69 - - &234 + - &235 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -33534,9 +33837,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *233 examples: - default: *233 + default: *234 '404': *6 '422': *7 x-github: @@ -33561,7 +33864,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *69 - - *234 + - *235 responses: '204': *187 '404': *6 @@ -33591,7 +33894,7 @@ paths: application/json: schema: type: array - items: *235 + items: *236 examples: default: value: @@ -33676,9 +33979,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: &236 + default: &237 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -33711,7 +34014,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *69 - - &237 + - &238 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -33764,9 +34067,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '404': *6 '422': *7 x-github: @@ -33791,7 +34094,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *69 - - *237 + - *238 responses: '204': description: Response @@ -33854,7 +34157,7 @@ paths: - closed - all default: open - - *238 + - *239 - name: type description: Can be the name of an issue type. in: query @@ -33885,7 +34188,7 @@ paths: type: array items: *79 examples: - default: *239 + default: *240 headers: Link: *61 '404': *6 @@ -34045,9 +34348,9 @@ paths: type: integer codespaces: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '304': *37 '500': *115 '401': *25 @@ -34074,7 +34377,7 @@ paths: parameters: - *69 - *65 - - &242 + - &243 name: codespace_name in: path required: true @@ -34109,15 +34412,15 @@ paths: parameters: - *69 - *65 - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: &456 + default: &457 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34297,7 +34600,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *243 + schema: *244 examples: default: value: @@ -34373,7 +34676,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Org Membership description: Org Membership type: object @@ -34440,7 +34743,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &245 + response-if-user-has-an-active-admin-membership-with-organization: &246 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -34541,9 +34844,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - response-if-user-already-had-membership-with-organization: *245 + response-if-user-already-had-membership-with-organization: *246 '422': *15 '403': *29 '451': *15 @@ -34615,7 +34918,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Migration description: A migration. type: object @@ -34944,7 +35247,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35123,7 +35426,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *69 - - &247 + - &248 name: migration_id description: The unique identifier of the migration. in: path @@ -35150,7 +35453,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35320,7 +35623,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *69 - - *247 + - *248 responses: '302': description: Response @@ -35342,7 +35645,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *69 - - *247 + - *248 responses: '204': description: Response @@ -35366,7 +35669,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *69 - - *247 + - *248 - &685 name: repo_name description: repo_name parameter @@ -35395,7 +35698,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *69 - - *247 + - *248 - *17 - *19 responses: @@ -35449,7 +35752,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &249 + items: &250 title: Organization Role description: Organization roles type: object @@ -35624,7 +35927,7 @@ paths: parameters: - *69 - *71 - - &248 + - &249 name: role_id description: The unique identifier of the role. in: path @@ -35661,7 +35964,7 @@ paths: parameters: - *69 - *71 - - *248 + - *249 responses: '204': description: Response @@ -35714,7 +36017,7 @@ paths: parameters: - *69 - *65 - - *248 + - *249 responses: '204': description: Response @@ -35746,7 +36049,7 @@ paths: parameters: - *69 - *65 - - *248 + - *249 responses: '204': description: Response @@ -35775,13 +36078,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *69 - - *248 + - *249 responses: '200': description: Response content: application/json: - schema: *249 + schema: *250 examples: default: value: @@ -35832,7 +36135,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *69 - - *248 + - *249 - *17 - *19 responses: @@ -35910,8 +36213,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 nullable: true type: description: The ownership type of the team @@ -35943,7 +36246,7 @@ paths: - type - parent examples: - default: *252 + default: *253 headers: Link: *61 '404': @@ -35973,7 +36276,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *69 - - *248 + - *249 - *17 - *19 responses: @@ -36001,13 +36304,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &324 + items: &325 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 name: nullable: true type: string @@ -36331,9 +36634,9 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: - default: *254 + default: *255 '403': *29 '401': *25 '400': &688 @@ -36358,7 +36661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &255 + - &256 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 @@ -36376,7 +36679,7 @@ paths: - docker - nuget - container - - &256 + - &257 name: package_name description: The name of the package. in: path @@ -36389,7 +36692,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *254 examples: default: value: @@ -36441,8 +36744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *255 - *256 + - *257 - *69 responses: '204': @@ -36475,8 +36778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - name: token description: package token @@ -36509,8 +36812,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: - - *255 - *256 + - *257 - *69 - *19 - *17 @@ -36531,7 +36834,7 @@ paths: application/json: schema: type: array - items: &257 + items: &258 title: Package Version description: A version of a software package type: object @@ -36656,10 +36959,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - - &258 + - &259 name: package_version_id description: Unique identifier of the package version. in: path @@ -36671,7 +36974,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -36707,10 +37010,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - - *258 + - *259 responses: '204': description: Response @@ -36742,10 +37045,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *255 - *256 + - *257 - *69 - - *258 + - *259 responses: '204': description: Response @@ -36775,7 +37078,7 @@ paths: - *69 - *17 - *19 - - &259 + - &260 name: sort description: The property by which to sort the results. in: query @@ -36786,7 +37089,7 @@ paths: - created_at default: created_at - *55 - - &260 + - &261 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -36797,7 +37100,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &261 + - &262 name: repository description: The name of the repository to use to filter the results. in: query @@ -36805,7 +37108,7 @@ paths: schema: type: string example: Hello-World - - &262 + - &263 name: permission description: The permission to use to filter the results. in: query @@ -36813,7 +37116,7 @@ paths: schema: type: string example: issues_read - - &263 + - &264 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) @@ -36823,7 +37126,7 @@ paths: schema: type: string format: date-time - - &264 + - &265 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) @@ -36833,7 +37136,7 @@ paths: schema: type: string format: date-time - - &265 + - &266 name: token_id description: The ID of the token in: query @@ -37146,7 +37449,7 @@ paths: type: array items: *156 examples: - default: &266 + default: &267 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37283,14 +37586,14 @@ paths: - *69 - *17 - *19 - - *259 - - *55 - *260 + - *55 - *261 - *262 - *263 - *264 - *265 + - *266 responses: '500': *115 '422': *15 @@ -37572,7 +37875,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 x-github: @@ -37614,7 +37917,7 @@ paths: type: integer configurations: type: array - items: &267 + items: &268 title: Organization private registry description: Private registry configuration for an organization type: object @@ -37904,7 +38207,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &268 + org-private-registry-with-selected-visibility: &269 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38000,9 +38303,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *267 + schema: *268 examples: - default: *268 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -38169,7 +38472,7 @@ paths: application/json: schema: type: array - items: &269 + items: &270 title: Projects v2 Project description: A projects v2 project type: object @@ -38312,7 +38615,7 @@ paths: - deleted_at - deleted_by examples: - default: &270 + default: &271 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38415,7 +38718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &271 + - &272 name: project_number description: The project's number. in: path @@ -38428,9 +38731,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *270 + default: *271 headers: Link: *61 '304': *37 @@ -38453,7 +38756,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *69 - - *271 + - *272 requestBody: required: true description: Details of the draft item to create in the project. @@ -38487,7 +38790,7 @@ paths: description: Response content: application/json: - schema: &277 + schema: &278 title: Projects v2 Item description: An item belonging to a project type: object @@ -38501,7 +38804,7 @@ paths: content: oneOf: - *79 - - &473 + - &474 title: Pull Request Simple description: Pull Request Simple type: object @@ -38607,8 +38910,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true active_lock_reason: type: string @@ -38690,7 +38993,7 @@ paths: _links: type: object properties: - comments: &274 + comments: &275 title: Link description: Hypermedia Link type: object @@ -38699,13 +39002,13 @@ paths: type: string required: - href - commits: *274 - statuses: *274 - html: *274 - issue: *274 - review_comments: *274 - review_comment: *274 - self: *274 + commits: *275 + statuses: *275 + html: *275 + issue: *275 + review_comments: *275 + review_comment: *275 + self: *275 required: - comments - commits @@ -38716,7 +39019,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &582 + auto_merge: &583 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38816,7 +39119,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &276 + content_type: &277 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -38856,7 +39159,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &278 + draft_issue: &279 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38930,7 +39233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *271 + - *272 - *69 - *17 - *47 @@ -38942,7 +39245,7 @@ paths: application/json: schema: type: array - items: &275 + items: &276 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -39222,7 +39525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *271 + - *272 - *69 requestBody: required: true @@ -39407,7 +39710,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *275 + schema: *276 examples: text_field: &713 value: @@ -39515,7 +39818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *271 + - *272 - &718 name: field_id description: The unique identifier of the field. @@ -39529,7 +39832,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: &719 value: @@ -39587,7 +39890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *271 + - *272 - *69 - 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) @@ -39620,7 +39923,7 @@ paths: application/json: schema: type: array - items: &279 + items: &280 title: Projects v2 Item description: An item belonging to a project type: object @@ -39636,7 +39939,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *276 + content_type: *277 content: type: object additionalProperties: true @@ -39679,7 +39982,7 @@ paths: - updated_at - archived_at examples: - default: &280 + default: &281 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40377,7 +40680,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *69 - - *271 + - *272 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -40447,22 +40750,22 @@ paths: description: Response content: application/json: - schema: *277 + schema: *278 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *278 + value: *279 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *278 + value: *279 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *278 + value: *279 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *278 + value: *279 '304': *37 '403': *29 '401': *25 @@ -40482,9 +40785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *271 + - *272 - *69 - - &281 + - &282 name: item_id description: The unique identifier of the project item. in: path @@ -40510,9 +40813,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -40533,9 +40836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *271 + - *272 - *69 - - *281 + - *282 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -40605,13 +40908,13 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - text_field: *280 - number_field: *280 - date_field: *280 - single_select_field: *280 - iteration_field: *280 + text_field: *281 + number_field: *281 + date_field: *281 + single_select_field: *281 + iteration_field: *281 '401': *25 '403': *29 '404': *6 @@ -40631,9 +40934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *271 + - *272 - *69 - - *281 + - *282 responses: '204': description: Response @@ -40657,7 +40960,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *69 - - *271 + - *272 requestBody: required: true content: @@ -40826,7 +41129,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &282 + value: &283 value: id: 1 number: 1 @@ -40872,10 +41175,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *282 + value: *283 roadmap_view: summary: Response for creating a roadmap view - value: *282 + value: *283 '304': *37 '403': *29 '401': *25 @@ -40903,7 +41206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *271 + - *272 - *69 - &720 name: view_number @@ -40937,9 +41240,9 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -40972,7 +41275,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41040,7 +41343,7 @@ paths: - property_name - value_type examples: - default: &284 + default: &285 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41100,7 +41403,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *283 + items: *284 minItems: 1 maxItems: 100 required: @@ -41130,9 +41433,9 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *284 + default: *285 '403': *29 '404': *6 x-github: @@ -41154,7 +41457,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *69 - - &285 + - &286 name: custom_property_name description: The custom property name in: path @@ -41166,9 +41469,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: &286 + default: &287 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41203,7 +41506,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *69 - - *285 + - *286 requestBody: required: true content: @@ -41274,9 +41577,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *286 + default: *287 '403': *29 '404': *6 x-github: @@ -41300,7 +41603,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *69 - - *285 + - *286 responses: '204': *187 '403': *29 @@ -41361,7 +41664,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &287 + items: &288 title: Custom Property Value description: Custom property name and associated value type: object @@ -41448,7 +41751,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *287 + items: *288 required: - repository_names - properties @@ -41640,7 +41943,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 x-github: @@ -41842,7 +42145,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &339 title: Full Repository description: Full Repository type: object @@ -42130,8 +42433,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *288 - required: *289 + properties: *289 + required: *290 nullable: true temp_clone_token: type: string @@ -42243,7 +42546,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &478 + properties: &479 url: type: string format: uri @@ -42259,12 +42562,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &479 + required: &480 - url - key - name - html_url - security_and_analysis: *290 + security_and_analysis: *291 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42348,7 +42651,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &341 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42870,7 +43173,7 @@ paths: - *69 - *17 - *19 - - &604 + - &605 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42888,7 +43191,7 @@ paths: application/json: schema: type: array - items: &317 + items: &318 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -42923,7 +43226,7 @@ paths: source: type: string description: The name of the source - enforcement: &293 + enforcement: &294 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -42936,7 +43239,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &294 + items: &295 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43006,7 +43309,7 @@ paths: conditions: nullable: true anyOf: - - &291 + - &292 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43030,7 +43333,7 @@ paths: match. items: type: string - - &295 + - &296 title: Organization ruleset conditions type: object description: |- @@ -43044,7 +43347,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *291 + - *292 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43078,7 +43381,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *291 + - *292 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43100,7 +43403,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *291 + - *292 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43113,7 +43416,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &292 + items: &293 title: Repository ruleset property targeting definition type: object @@ -43146,17 +43449,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *292 + items: *293 required: - repository_property rules: type: array - items: &605 + items: &606 title: Repository Rule type: object description: A repository rule. oneOf: - - &296 + - &297 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43168,7 +43471,7 @@ paths: type: string enum: - creation - - &297 + - &298 title: update description: Only allow users with bypass permission to update matching refs. @@ -43189,7 +43492,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &298 + - &299 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43201,7 +43504,7 @@ paths: type: string enum: - deletion - - &299 + - &300 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43213,7 +43516,7 @@ paths: type: string enum: - required_linear_history - - &603 + - &604 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43291,7 +43594,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &300 + - &301 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43315,7 +43618,7 @@ paths: type: string required: - required_deployment_environments - - &301 + - &302 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43327,7 +43630,7 @@ paths: type: string enum: - required_signatures - - &302 + - &303 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -43433,7 +43736,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &303 + - &304 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -43481,7 +43784,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &304 + - &305 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -43493,7 +43796,7 @@ paths: type: string enum: - non_fast_forward - - &305 + - &306 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -43530,7 +43833,7 @@ paths: required: - operator - pattern - - &306 + - &307 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -43567,7 +43870,7 @@ paths: required: - operator - pattern - - &307 + - &308 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43604,7 +43907,7 @@ paths: required: - operator - pattern - - &308 + - &309 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43641,7 +43944,7 @@ paths: required: - operator - pattern - - &309 + - &310 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43678,7 +43981,7 @@ paths: required: - operator - pattern - - &310 + - &311 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43703,7 +44006,7 @@ paths: type: string required: - restricted_file_paths - - &311 + - &312 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -43727,7 +44030,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &312 + - &313 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -43750,7 +44053,7 @@ paths: type: string required: - restricted_file_extensions - - &313 + - &314 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -43775,7 +44078,7 @@ paths: maximum: 100 required: - max_file_size - - &314 + - &315 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -43825,7 +44128,7 @@ paths: - repository_id required: - workflows - - &315 + - &316 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -43886,7 +44189,7 @@ paths: - tool required: - code_scanning_tools - - &316 + - &317 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -43985,21 +44288,20 @@ paths: - push - repository default: branch - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *295 + items: *295 + conditions: *296 rules: type: array description: An array of rules within the ruleset. - items: &319 + items: &320 title: Repository Rule type: object description: A repository rule. oneOf: - - *296 - *297 - *298 - *299 @@ -44020,6 +44322,7 @@ paths: - *314 - *315 - *316 + - *317 required: - name - enforcement @@ -44057,9 +44360,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: &318 + default: &319 value: id: 21 name: super cool ruleset @@ -44115,7 +44418,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *69 - - &606 + - &607 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 @@ -44130,7 +44433,7 @@ paths: in: query schema: type: string - - &607 + - &608 name: time_period description: |- The time period to filter by. @@ -44146,14 +44449,14 @@ paths: - week - month default: day - - &608 + - &609 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 - - &609 + - &610 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44173,7 +44476,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &611 title: Rule Suites description: Response type: array @@ -44228,7 +44531,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &611 + default: &612 value: - id: 21 actor_id: 12 @@ -44272,7 +44575,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *69 - - &612 + - &613 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44288,7 +44591,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Rule Suite description: Response type: object @@ -44387,7 +44690,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &614 + default: &615 value: id: 21 actor_id: 12 @@ -44460,9 +44763,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '404': *6 '500': *115 put: @@ -44506,16 +44809,16 @@ paths: - tag - push - repository - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *295 + items: *295 + conditions: *296 rules: description: An array of rules within the ruleset. type: array - items: *319 + items: *320 examples: default: value: @@ -44550,9 +44853,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '404': *6 '422': *15 '500': *115 @@ -44610,7 +44913,7 @@ paths: application/json: schema: type: array - items: &320 + items: &321 title: Ruleset version type: object description: The historical version of a ruleset @@ -44634,7 +44937,7 @@ paths: type: string format: date-time examples: - default: &616 + default: &617 value: - version_id: 3 actor: @@ -44687,9 +44990,9 @@ paths: description: Response content: application/json: - schema: &617 + schema: &618 allOf: - - *320 + - *321 - type: object required: - state @@ -44759,7 +45062,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *69 - - &618 + - &619 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -44770,7 +45073,7 @@ paths: enum: - open - resolved - - &619 + - &620 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -44780,7 +45083,7 @@ paths: required: false schema: type: string - - &620 + - &621 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -44789,7 +45092,7 @@ paths: required: false schema: type: string - - &621 + - &622 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -44808,7 +45111,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &622 + - &623 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. @@ -44823,7 +45126,7 @@ paths: - *55 - *19 - *17 - - &623 + - &624 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 @@ -44833,7 +45136,7 @@ paths: required: false schema: type: string - - &624 + - &625 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 @@ -44843,7 +45146,7 @@ paths: required: false schema: type: string - - &625 + - &626 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -44852,7 +45155,7 @@ paths: required: false schema: type: string - - &626 + - &627 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -44861,7 +45164,7 @@ paths: schema: type: boolean default: false - - &627 + - &628 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -44870,7 +45173,7 @@ paths: schema: type: boolean default: false - - &628 + - &629 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -44905,14 +45208,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &629 + state: &630 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: &630 + resolution: &631 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -45019,8 +45322,8 @@ paths: pull request. ' - oneOf: &631 - - &633 + oneOf: &632 + - &634 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45072,7 +45375,7 @@ paths: - blob_url - commit_sha - commit_url - - &634 + - &635 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. @@ -45127,7 +45430,7 @@ paths: - page_url - commit_sha - commit_url - - &635 + - &636 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45141,7 +45444,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &636 + - &637 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45155,7 +45458,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &637 + - &638 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45169,7 +45472,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &638 + - &639 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45183,7 +45486,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &639 + - &640 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45197,7 +45500,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &640 + - &641 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45211,7 +45514,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &641 + - &642 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. @@ -45225,7 +45528,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &642 + - &643 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. @@ -45239,7 +45542,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &643 + - &644 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. @@ -45253,7 +45556,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &644 + - &645 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. @@ -45267,7 +45570,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &645 + - &646 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -45509,7 +45812,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &322 + pattern_config_version: &323 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -45518,7 +45821,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &321 + items: &322 type: object properties: token_type: @@ -45584,7 +45887,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *321 + items: *322 examples: default: value: @@ -45641,7 +45944,7 @@ paths: schema: type: object properties: - pattern_config_version: *322 + pattern_config_version: *323 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45667,7 +45970,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *322 + custom_pattern_version: *323 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -45765,7 +46068,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 description: A repository security advisory. type: object properties: @@ -45967,7 +46270,7 @@ paths: login: type: string description: The username of the user credited. - type: *323 + type: *324 credits_detailed: type: array nullable: true @@ -45977,7 +46280,7 @@ paths: type: object properties: user: *4 - type: *323 + type: *324 state: type: string description: The state of the user's acceptance of the @@ -46037,7 +46340,7 @@ paths: - private_fork additionalProperties: false examples: - default: &650 + default: &651 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46424,7 +46727,7 @@ paths: application/json: schema: type: array - items: *324 + items: *325 examples: default: value: @@ -46777,7 +47080,7 @@ paths: type: integer network_configurations: type: array - items: &325 + items: &326 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -46910,9 +47213,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: &326 + default: &327 value: id: 123456789ABCDEF name: My network configuration @@ -46941,7 +47244,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *69 - - &327 + - &328 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -46953,9 +47256,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 headers: Link: *61 x-github: @@ -46977,7 +47280,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *69 - - *327 + - *328 requestBody: required: true content: @@ -47017,9 +47320,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47039,7 +47342,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *69 - - *327 + - *328 responses: '204': description: Response @@ -47179,13 +47482,13 @@ paths: application/json: schema: type: array - items: *328 + items: *329 examples: - default: *329 + default: *330 '500': *115 '403': *29 '404': *6 - '422': *330 + '422': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47227,7 +47530,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 headers: Link: *61 '403': *29 @@ -47313,7 +47616,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47376,8 +47679,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *250 - required: *251 + properties: *251 + required: *252 nullable: true members_count: type: integer @@ -47640,7 +47943,7 @@ paths: - repos_count - organization examples: - default: &332 + default: &333 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47717,9 +48020,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 x-github: githubCloudOnly: false @@ -47803,16 +48106,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '201': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 '422': *15 '403': *29 @@ -47842,7 +48145,7 @@ paths: responses: '204': description: Response - '422': &333 + '422': &334 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -47876,12 +48179,12 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *230 + default: *231 headers: Link: *61 - '422': *333 + '422': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47963,7 +48266,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 title: Team Membership description: Team Membership type: object @@ -47990,7 +48293,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &666 + response-if-user-is-a-team-maintainer: &667 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48053,9 +48356,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - response-if-users-membership-with-team-is-now-pending: &667 + response-if-users-membership-with-team-is-now-pending: &668 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48131,7 +48434,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 x-github: @@ -48162,14 +48465,14 @@ paths: parameters: - *69 - *71 - - *335 - *336 + - *337 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &668 + schema: &669 title: Team Repository description: A team's access to a repository. type: object @@ -48734,8 +49037,8 @@ paths: parameters: - *69 - *71 - - *335 - *336 + - *337 requestBody: required: false content: @@ -48782,8 +49085,8 @@ paths: parameters: - *69 - *71 - - *335 - *336 + - *337 responses: '204': description: Response @@ -48820,7 +49123,7 @@ paths: type: array items: *193 examples: - response-if-child-teams-exist: &669 + response-if-child-teams-exist: &670 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48974,7 +49277,7 @@ paths: resources: type: object properties: - core: &337 + core: &338 title: Rate Limit type: object properties: @@ -48991,17 +49294,17 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *338 + search: *338 + code_search: *338 + source_import: *338 + integration_manifest: *338 + code_scanning_upload: *338 + actions_runner_registration: *338 + scim: *338 + dependency_snapshots: *338 + dependency_sbom: *338 + code_scanning_autofix: *338 required: - core - search @@ -49108,14 +49411,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: default-response: summary: Default response @@ -49620,7 +49923,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49638,8 +49941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -49930,10 +50233,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 - '307': &341 + default: *341 + '307': &342 description: Temporary Redirect content: application/json: @@ -49962,8 +50265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -49985,7 +50288,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *342 '404': *6 '409': *54 x-github: @@ -50009,11 +50312,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 - - &374 + - &375 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50036,7 +50339,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &343 title: Artifact description: An artifact type: object @@ -50114,7 +50417,7 @@ paths: - expires_at - updated_at examples: - default: &375 + default: &376 value: total_count: 2 artifacts: @@ -50175,9 +50478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *335 - *336 - - &343 + - *337 + - &344 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50189,7 +50492,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: default: value: @@ -50227,9 +50530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *335 - *336 - - *343 + - *337 + - *344 responses: '204': description: Response @@ -50253,9 +50556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *335 - *336 - - *343 + - *337 + - *344 - name: archive_format in: path required: true @@ -50269,7 +50572,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': &535 + '410': &536 description: Gone content: application/json: @@ -50294,14 +50597,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &344 + schema: &345 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -50334,13 +50637,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *344 + schema: *345 examples: selected_actions: *42 responses: @@ -50369,14 +50672,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &345 + schema: &346 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -50409,13 +50712,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *345 + schema: *346 examples: selected_actions: *44 responses: @@ -50446,14 +50749,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -50479,11 +50782,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 - - &347 + - &348 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50517,7 +50820,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 title: Repository actions caches description: Repository actions caches type: object @@ -50559,7 +50862,7 @@ paths: - total_count - actions_caches examples: - default: &349 + default: &350 value: total_count: 1 actions_caches: @@ -50591,23 +50894,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: - - *335 - *336 + - *337 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50627,8 +50930,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: - - *335 - *336 + - *337 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50659,9 +50962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *335 - *336 - - &350 + - *337 + - &351 name: job_id description: The unique identifier of the job. in: path @@ -50673,7 +50976,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &379 title: Job description: Information of a job execution in a workflow run type: object @@ -50980,9 +51283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *335 - *336 - - *350 + - *337 + - *351 responses: '302': description: Response @@ -51010,9 +51313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *335 - *336 - - *350 + - *337 + - *351 requestBody: required: false content: @@ -51057,8 +51360,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: - - *335 - *336 + - *337 responses: '200': description: Status response @@ -51108,8 +51411,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -51172,8 +51475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -51191,7 +51494,7 @@ paths: type: integer secrets: type: array - items: &380 + items: &381 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51211,7 +51514,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &382 value: total_count: 2 secrets: @@ -51244,9 +51547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *335 - *336 - - *351 + - *337 + - *352 - *19 responses: '200': @@ -51263,7 +51566,7 @@ paths: type: integer variables: type: array - items: &384 + items: &385 title: Actions Variable type: object properties: @@ -51293,7 +51596,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &386 value: total_count: 2 variables: @@ -51326,8 +51629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -51336,11 +51639,11 @@ paths: schema: type: object properties: - enabled: &353 + enabled: &354 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *141 - selected_actions_url: *352 + selected_actions_url: *353 sha_pinning_required: *142 required: - enabled @@ -51369,8 +51672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -51381,7 +51684,7 @@ paths: schema: type: object properties: - enabled: *353 + enabled: *354 allowed_actions: *141 sha_pinning_required: *142 required: @@ -51413,14 +51716,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: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &354 + schema: &355 type: object properties: access_level: @@ -51437,7 +51740,7 @@ paths: required: - access_level examples: - default: &355 + default: &356 value: access_level: organization x-github: @@ -51461,15 +51764,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: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *354 + schema: *355 examples: - default: *355 + default: *356 responses: '204': description: Response @@ -51493,14 +51796,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *356 + schema: *357 examples: default: value: @@ -51524,8 +51827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Empty response for successful settings update @@ -51535,7 +51838,7 @@ paths: required: true content: application/json: - schema: *357 + schema: *358 examples: default: summary: Set retention days @@ -51559,8 +51862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -51568,7 +51871,7 @@ paths: application/json: schema: *143 examples: - default: *358 + default: *359 '404': *6 x-github: enabledForGitHubApps: true @@ -51587,8 +51890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -51622,14 +51925,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: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default: *144 '403': *29 @@ -51651,13 +51954,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: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *360 + schema: *361 examples: default: *144 responses: @@ -51683,8 +51986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -51711,8 +52014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -51744,14 +52047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: default: *151 x-github: @@ -51774,8 +52077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Success response @@ -51786,7 +52089,7 @@ paths: required: true content: application/json: - schema: *362 + schema: *363 examples: default: *151 x-github: @@ -51815,8 +52118,8 @@ paths: in: query schema: type: string - - *335 - *336 + - *337 - *17 - *19 responses: @@ -51860,8 +52163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -51869,9 +52172,9 @@ paths: application/json: schema: type: array - items: *363 + items: *364 examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51893,8 +52196,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -51937,7 +52240,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *365 + '201': *366 '404': *6 '422': *7 '409': *54 @@ -51968,8 +52271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *335 - *336 + - *337 responses: '201': description: Response @@ -51977,7 +52280,7 @@ paths: application/json: schema: *160 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52005,8 +52308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *335 - *336 + - *337 responses: '201': description: Response @@ -52014,7 +52317,7 @@ paths: application/json: schema: *160 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52036,8 +52339,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: - - *335 - *336 + - *337 - *157 responses: '200': @@ -52046,7 +52349,7 @@ paths: application/json: schema: *158 examples: - default: *368 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52067,8 +52370,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: - - *335 - *336 + - *337 - *157 responses: '204': @@ -52095,8 +52398,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: - - *335 - *336 + - *337 - *157 responses: '200': *162 @@ -52121,8 +52424,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: - - *335 - *336 + - *337 - *157 requestBody: required: true @@ -52171,8 +52474,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: - - *335 - *336 + - *337 - *157 requestBody: required: true @@ -52222,11 +52525,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: - - *335 - *336 + - *337 - *157 responses: - '200': *369 + '200': *370 '404': *6 x-github: githubCloudOnly: false @@ -52253,10 +52556,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: - - *335 - *336 + - *337 - *157 - - *370 + - *371 responses: '200': *162 '404': *6 @@ -52284,9 +52587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *335 - *336 - - &388 + - *337 + - &389 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. @@ -52294,7 +52597,7 @@ paths: required: false schema: type: string - - &389 + - &390 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52302,7 +52605,7 @@ paths: required: false schema: type: string - - &390 + - &391 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52311,7 +52614,7 @@ paths: required: false schema: type: string - - &391 + - &392 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 @@ -52338,7 +52641,7 @@ paths: - pending - *17 - *19 - - &392 + - &393 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)." @@ -52347,7 +52650,7 @@ paths: schema: type: string format: date-time - - &371 + - &372 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52356,13 +52659,13 @@ paths: schema: type: boolean default: false - - &393 + - &394 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &394 + - &395 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52385,7 +52688,7 @@ paths: type: integer workflow_runs: type: array - items: &372 + items: &373 title: Workflow Run description: An invocation of a workflow type: object @@ -52533,7 +52836,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &416 + properties: &417 id: type: string description: SHA for the commit @@ -52584,7 +52887,7 @@ paths: - name - email nullable: true - required: &417 + required: &418 - id - tree_id - message @@ -52631,7 +52934,7 @@ paths: - workflow_url - pull_requests examples: - default: &395 + default: &396 value: total_count: 1 workflow_runs: @@ -52867,24 +53170,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *335 - *336 - - &373 + - *337 + - &374 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &376 + default: &377 value: id: 30433642 name: Build @@ -53125,9 +53428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '204': description: Response @@ -53150,9 +53453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '200': description: Response @@ -53271,9 +53574,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: - - *335 - *336 - - *373 + - *337 + - *374 responses: '201': description: Response @@ -53306,12 +53609,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *335 - *336 - - *373 + - *337 + - *374 - *17 - *19 - - *374 + - *375 - *55 responses: '200': @@ -53328,9 +53631,9 @@ paths: type: integer artifacts: type: array - items: *342 + items: *343 examples: - default: *375 + default: *376 headers: Link: *61 x-github: @@ -53354,25 +53657,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *335 - *336 - - *373 - - &377 + - *337 + - *374 + - &378 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *371 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *376 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53395,10 +53698,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *335 - *336 - - *373 - - *377 + - *337 + - *374 + - *378 - *17 - *19 responses: @@ -53416,9 +53719,9 @@ paths: type: integer jobs: type: array - items: *378 + items: *379 examples: - default: &379 + default: &380 value: total_count: 1 jobs: @@ -53531,10 +53834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *335 - *336 - - *373 - - *377 + - *337 + - *374 + - *378 responses: '302': description: Response @@ -53562,9 +53865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '202': description: Response @@ -53597,9 +53900,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: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: true content: @@ -53666,9 +53969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '202': description: Response @@ -53701,9 +54004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 - 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 @@ -53733,9 +54036,9 @@ paths: type: integer jobs: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *61 x-github: @@ -53760,9 +54063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '302': description: Response @@ -53789,9 +54092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '204': description: Response @@ -53818,9 +54121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '200': description: Response @@ -53880,7 +54183,7 @@ paths: items: type: object properties: - type: &501 + type: &502 type: string description: The type of reviewer. enum: @@ -53965,9 +54268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: true content: @@ -54014,7 +54317,7 @@ paths: application/json: schema: type: array - items: &496 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54120,7 +54423,7 @@ paths: - created_at - updated_at examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54176,9 +54479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: false content: @@ -54222,9 +54525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *335 - *336 - - *373 + - *337 + - *374 requestBody: required: false content: @@ -54277,9 +54580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *335 - *336 - - *373 + - *337 + - *374 responses: '200': description: Response @@ -54416,8 +54719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -54435,9 +54738,9 @@ paths: type: integer secrets: type: array - items: *380 + items: *381 examples: - default: *381 + default: *382 headers: Link: *61 x-github: @@ -54462,16 +54765,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54493,17 +54796,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: &514 + default: &515 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54529,8 +54832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 requestBody: required: true @@ -54588,8 +54891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '204': @@ -54615,9 +54918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *335 - *336 - - *351 + - *337 + - *352 - *19 responses: '200': @@ -54634,9 +54937,9 @@ paths: type: integer variables: type: array - items: *384 + items: *385 examples: - default: *385 + default: *386 headers: Link: *61 x-github: @@ -54659,8 +54962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -54712,17 +55015,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *335 - *336 + - *337 - *167 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &515 + default: &516 value: name: USERNAME value: octocat @@ -54748,8 +55051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *335 - *336 + - *337 - *167 requestBody: required: true @@ -54792,8 +55095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *335 - *336 + - *337 - *167 responses: '204': @@ -54819,8 +55122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -54838,7 +55141,7 @@ paths: type: integer workflows: type: array - items: &386 + items: &387 title: Workflow description: A GitHub Actions workflow type: object @@ -54945,9 +55248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *335 - *336 - - &387 + - *337 + - &388 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54962,7 +55265,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: default: value: @@ -54995,9 +55298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '204': description: Response @@ -55022,9 +55325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -55105,9 +55408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '204': description: Response @@ -55134,19 +55437,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *335 - *336 - - *387 + - *337 - *388 - *389 - *390 - *391 + - *392 - *17 - *19 - - *392 - - *371 - *393 + - *372 - *394 + - *395 responses: '200': description: Response @@ -55162,9 +55465,9 @@ paths: type: integer workflow_runs: type: array - items: *372 + items: *373 examples: - default: *395 + default: *396 headers: Link: *61 x-github: @@ -55196,9 +55499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *335 - *336 - - *387 + - *337 + - *388 responses: '200': description: Response @@ -55259,8 +55562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *335 - *336 + - *337 - *55 - *17 - *47 @@ -55424,8 +55727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -55462,8 +55765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *335 - *336 + - *337 - name: assignee in: path required: true @@ -55499,8 +55802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -55612,8 +55915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *335 - *336 + - *337 - *17 - *47 - *48 @@ -55654,7 +55957,7 @@ paths: initiator: type: string examples: - default: *396 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55674,8 +55977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -55683,7 +55986,7 @@ paths: application/json: schema: type: array - items: &397 + items: &398 title: Autolink reference description: An autolink reference. type: object @@ -55737,8 +56040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -55777,9 +56080,9 @@ paths: description: response content: application/json: - schema: *397 + schema: *398 examples: - default: &398 + default: &399 value: id: 1 key_prefix: TICKET- @@ -55810,9 +56113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *335 - *336 - - &399 + - *337 + - &400 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55824,9 +56127,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '404': *6 x-github: githubCloudOnly: false @@ -55846,9 +56149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *335 - *336 - - *399 + - *337 + - *400 responses: '204': description: Response @@ -55872,8 +56175,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: - - *335 - *336 + - *337 responses: '200': description: Response if Dependabot is enabled @@ -55921,8 +56224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -55943,8 +56246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -55964,8 +56267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *335 - *336 + - *337 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56003,7 +56306,7 @@ paths: - url protected: type: boolean - protection: &401 + protection: &402 title: Branch Protection description: Branch Protection type: object @@ -56045,7 +56348,7 @@ paths: required: - contexts - checks - enforce_admins: &404 + enforce_admins: &405 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56060,7 +56363,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &406 + required_pull_request_reviews: &407 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56136,7 +56439,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &403 + restrictions: &404 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56413,9 +56716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *335 - *336 - - &402 + - *337 + - &403 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). @@ -56429,14 +56732,14 @@ paths: description: Response content: application/json: - schema: &412 + schema: &413 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &469 + commit: &470 title: Commit description: Commit type: object @@ -56470,7 +56773,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &400 + properties: &401 name: type: string example: '"Chris Wanstrath"' @@ -56486,7 +56789,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *400 + properties: *401 nullable: true message: type: string @@ -56507,7 +56810,7 @@ paths: required: - sha - url - verification: &521 + verification: &522 title: Verification type: object properties: @@ -56577,7 +56880,7 @@ paths: type: integer files: type: array - items: &482 + items: &483 title: Diff Entry description: Diff Entry type: object @@ -56661,7 +56964,7 @@ paths: - self protected: type: boolean - protection: *401 + protection: *402 protection_url: type: string format: uri @@ -56768,7 +57071,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *340 '404': *6 x-github: githubCloudOnly: false @@ -56790,15 +57093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -56992,9 +57295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -57249,7 +57552,7 @@ paths: url: type: string format: uri - required_status_checks: &409 + required_status_checks: &410 title: Status Check Policy description: Status Check Policy type: object @@ -57401,7 +57704,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *403 + restrictions: *404 required_conversation_resolution: type: object properties: @@ -57513,9 +57816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -57540,17 +57843,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &405 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57572,17 +57875,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57601,9 +57904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -57628,17 +57931,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: &407 + default: &408 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57734,9 +58037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -57834,9 +58137,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: *407 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -57857,9 +58160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -57886,17 +58189,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: &408 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57919,17 +58222,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *408 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -57949,9 +58252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -57976,17 +58279,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: &410 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58012,9 +58315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58066,9 +58369,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '404': *6 '422': *15 x-github: @@ -58090,9 +58393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58116,9 +58419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -58152,9 +58455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58221,9 +58524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58287,9 +58590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: content: application/json: @@ -58355,15 +58658,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -58454,9 +58757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '204': description: Response @@ -58479,9 +58782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -58491,7 +58794,7 @@ paths: type: array items: *5 examples: - default: &411 + default: &412 value: - id: 1 slug: octoapp @@ -58548,9 +58851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -58584,7 +58887,7 @@ paths: type: array items: *5 examples: - default: *411 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -58605,9 +58908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -58641,7 +58944,7 @@ paths: type: array items: *5 examples: - default: *411 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -58662,9 +58965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -58698,7 +59001,7 @@ paths: type: array items: *5 examples: - default: *411 + default: *412 '422': *15 x-github: githubCloudOnly: false @@ -58720,9 +59023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -58732,7 +59035,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '404': *6 x-github: githubCloudOnly: false @@ -58752,9 +59055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58792,7 +59095,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '422': *15 x-github: githubCloudOnly: false @@ -58813,9 +59116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: false content: @@ -58853,7 +59156,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '422': *15 x-github: githubCloudOnly: false @@ -58874,9 +59177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: content: application/json: @@ -58913,7 +59216,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 '422': *15 x-github: githubCloudOnly: false @@ -58935,9 +59238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 responses: '200': description: Response @@ -58971,9 +59274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59031,9 +59334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59091,9 +59394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59153,9 +59456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 requestBody: required: true content: @@ -59177,7 +59480,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: default: value: @@ -59293,8 +59596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -59573,7 +59876,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &414 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59973,9 +60276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *335 - *336 - - &414 + - *337 + - &415 name: check_run_id description: The unique identifier of the check run. in: path @@ -59987,9 +60290,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: &415 + default: &416 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60089,9 +60392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *335 - *336 - - *414 + - *337 + - *415 requestBody: required: true content: @@ -60331,9 +60634,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: *415 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60353,9 +60656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *335 - *336 - - *414 + - *337 + - *415 - *17 - *19 responses: @@ -60450,9 +60753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *335 - *336 - - *414 + - *337 + - *415 responses: '201': description: Response @@ -60496,8 +60799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -60519,7 +60822,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &418 + schema: &419 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60609,8 +60912,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *416 - required: *417 + properties: *417 + required: *418 latest_check_runs_count: type: integer check_runs_url: @@ -60638,7 +60941,7 @@ paths: - check_runs_url - pull_requests examples: - default: &419 + default: &420 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60929,9 +61232,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60950,8 +61253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -61260,9 +61563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *335 - *336 - - &420 + - *337 + - &421 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61274,9 +61577,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61299,17 +61602,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *335 - *336 - - *420 - - &475 + - *337 + - *421 + - &476 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &476 + - &477 name: status description: Returns check runs with the specified `status`. in: query @@ -61348,9 +61651,9 @@ paths: type: integer check_runs: type: array - items: *413 + items: *414 examples: - default: &477 + default: &478 value: total_count: 1 check_runs: @@ -61452,9 +61755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *335 - *336 - - *420 + - *337 + - *421 responses: '201': description: Response @@ -61487,21 +61790,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *335 - *336 - - *421 + - *337 - *422 + - *423 - *19 - *17 - - &439 + - &440 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: *423 - - &440 + schema: *424 + - &441 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61526,13 +61829,13 @@ paths: be returned. in: query required: false - schema: *424 + schema: *425 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *425 + schema: *426 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -61556,7 +61859,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: *426 + instances_url: *427 state: *183 fixed_at: *179 dismissed_by: @@ -61567,11 +61870,11 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: *427 - dismissed_comment: *428 - rule: *429 - tool: *430 - most_recent_instance: *431 + dismissed_reason: *428 + dismissed_comment: *429 + rule: *430 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61697,7 +62000,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &432 + '403': &433 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61724,9 +62027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *335 - *336 - - &433 + - *337 + - &434 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61740,7 +62043,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 type: object properties: number: *174 @@ -61748,7 +62051,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: *426 + instances_url: *427 state: *183 fixed_at: *179 dismissed_by: @@ -61759,8 +62062,8 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *428 + dismissed_comment: *429 rule: type: object properties: @@ -61814,8 +62117,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *430 - most_recent_instance: *431 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61914,7 +62217,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -61934,9 +62237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 requestBody: required: true content: @@ -61951,8 +62254,8 @@ paths: enum: - open - dismissed - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *428 + dismissed_comment: *429 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61980,7 +62283,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: default: value: @@ -62056,7 +62359,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &438 + '403': &439 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62083,15 +62386,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: - - *335 - *336 - - *433 + - *337 + - *434 responses: '200': description: Response content: application/json: - schema: &435 + schema: &436 type: object properties: status: @@ -62117,13 +62420,13 @@ paths: - description - started_at examples: - default: &436 + default: &437 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &437 + '400': &438 description: Bad Request content: application/json: @@ -62134,7 +62437,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': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62159,29 +62462,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: - - *335 - *336 - - *433 + - *337 + - *434 responses: '200': description: OK content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 '202': description: Accepted content: application/json: - schema: *435 + schema: *436 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *437 + '400': *438 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62213,9 +62516,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: - - *335 - *336 - - *433 + - *337 + - *434 requestBody: required: false content: @@ -62260,8 +62563,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *437 - '403': *438 + '400': *438 + '403': *439 '404': *6 '422': description: Unprocessable Entity @@ -62285,13 +62588,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 - *19 - *17 - - *439 - *440 + - *441 responses: '200': description: Response @@ -62302,10 +62605,10 @@ paths: items: type: object properties: - ref: *423 - analysis_key: *441 - environment: *442 - category: *443 + ref: *424 + analysis_key: *442 + environment: *443 + category: *444 state: type: string description: State of a code scanning alert instance. @@ -62320,7 +62623,7 @@ paths: properties: text: type: string - location: *444 + location: *445 html_url: type: string classifications: @@ -62328,7 +62631,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: *445 + items: *446 examples: default: value: @@ -62365,7 +62668,7 @@ paths: end_column: 50 classifications: - source - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62399,25 +62702,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *335 - *336 - - *421 + - *337 - *422 + - *423 - *19 - *17 - - *440 + - *441 - 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: *423 + schema: *424 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &446 + schema: &447 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -62438,23 +62741,23 @@ paths: application/json: schema: type: array - items: &447 + items: &448 type: object properties: - ref: *423 - commit_sha: &455 + ref: *424 + commit_sha: &456 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: *441 + analysis_key: *442 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *443 + category: *444 error: type: string example: error reading field xyz @@ -62478,8 +62781,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *446 - tool: *430 + sarif_id: *447 + tool: *431 deletable: type: boolean warning: @@ -62540,7 +62843,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62576,8 +62879,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: - - *335 - *336 + - *337 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62590,7 +62893,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: response: summary: application/json response @@ -62644,7 +62947,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *432 + '403': *433 '404': *6 '422': description: Response if analysis could not be processed @@ -62731,8 +63034,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: - - *335 - *336 + - *337 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62785,7 +63088,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': *438 + '403': *439 '404': *6 '503': *116 x-github: @@ -62807,8 +63110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -62816,7 +63119,7 @@ paths: application/json: schema: type: array - items: &448 + items: &449 title: CodeQL Database description: A CodeQL database. type: object @@ -62927,7 +63230,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': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -62956,8 +63259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *335 - *336 + - *337 - name: language in: path description: The language of the CodeQL database. @@ -62969,7 +63272,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: default: value: @@ -63001,9 +63304,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': &484 + '302': &485 description: Found - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -63025,8 +63328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *335 - *336 + - *337 - name: language in: path description: The language of the CodeQL database. @@ -63036,7 +63339,7 @@ paths: responses: '204': description: Response - '403': *438 + '403': *439 '404': *6 '503': *116 x-github: @@ -63064,8 +63367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -63074,7 +63377,7 @@ paths: type: object additionalProperties: false properties: - language: &449 + language: &450 type: string description: The language targeted by the CodeQL query enum: @@ -63154,7 +63457,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &453 + schema: &454 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63164,7 +63467,7 @@ paths: description: The ID of the variant analysis. controller_repo: *60 actor: *4 - query_language: *449 + query_language: *450 query_pack_url: type: string description: The download url for the query pack. @@ -63211,7 +63514,7 @@ paths: items: type: object properties: - repository: &450 + repository: &451 title: Repository Identifier description: Repository Identifier type: object @@ -63247,7 +63550,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &454 + analysis_status: &455 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63279,7 +63582,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &451 + access_mismatch_repos: &452 type: object properties: repository_count: @@ -63293,7 +63596,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: *450 + items: *451 required: - repository_count - repositories @@ -63315,8 +63618,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *451 - over_limit_repos: *451 + no_codeql_db_repos: *452 + over_limit_repos: *452 required: - access_mismatch_repos - not_found_repos @@ -63332,7 +63635,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &452 + value: &453 summary: Default response value: id: 1 @@ -63478,10 +63781,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *452 + value: *453 repository_lists: summary: Response for a successful variant analysis submission - value: *452 + value: *453 '404': *6 '422': description: Unable to process variant analysis submission @@ -63509,8 +63812,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: - - *335 - *336 + - *337 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63522,9 +63825,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *452 + default: *453 '404': *6 '503': *116 x-github: @@ -63547,7 +63850,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: - - *335 + - *336 - name: repo in: path description: The name of the controller repository. @@ -63582,7 +63885,7 @@ paths: type: object properties: repository: *60 - analysis_status: *454 + analysis_status: *455 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63707,8 +64010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -63791,7 +64094,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *432 + '403': *433 '404': *6 '503': *116 x-github: @@ -63812,8 +64115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -63905,7 +64208,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *438 + '403': *439 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63976,8 +64279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -63985,7 +64288,7 @@ paths: schema: type: object properties: - commit_sha: *455 + commit_sha: *456 ref: type: string description: |- @@ -64043,7 +64346,7 @@ paths: schema: type: object properties: - id: *446 + id: *447 url: type: string description: The REST API URL for checking the status of the upload. @@ -64057,7 +64360,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': *438 + '403': *439 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64080,8 +64383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *335 - *336 + - *337 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64127,7 +64430,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': *432 + '403': *433 '404': description: Not Found if the sarif id does not match any upload '503': *116 @@ -64152,8 +64455,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: - - *335 - *336 + - *337 responses: '200': description: Response @@ -64234,8 +64537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *335 - *336 + - *337 - 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 @@ -64355,8 +64658,8 @@ paths: parameters: - *17 - *19 - - *335 - *336 + - *337 responses: '200': description: Response @@ -64372,7 +64675,7 @@ paths: type: integer codespaces: type: array - items: *240 + items: *241 examples: default: value: @@ -64670,8 +64973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -64734,17 +65037,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '400': *14 '401': *25 '403': *29 @@ -64773,8 +65076,8 @@ paths: parameters: - *17 - *19 - - *335 - *336 + - *337 responses: '200': description: Response @@ -64838,8 +65141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *335 - *336 + - *337 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64878,8 +65181,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *457 - required: *458 + properties: *458 + required: *459 examples: default: &676 value: @@ -64921,8 +65224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *335 - *336 + - *337 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65006,8 +65309,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: - - *335 - *336 + - *337 - 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 @@ -65073,8 +65376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -65092,7 +65395,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &463 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65112,7 +65415,7 @@ paths: - created_at - updated_at examples: - default: *459 + default: *460 headers: Link: *61 x-github: @@ -65135,16 +65438,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65164,17 +65467,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '200': description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65194,8 +65497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 requestBody: required: true @@ -65248,8 +65551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '204': @@ -65278,8 +65581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *335 - *336 + - *337 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65321,7 +65624,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &464 + properties: &465 login: type: string example: octocat @@ -65414,7 +65717,7 @@ paths: user_view_type: type: string example: public - required: &465 + required: &466 - avatar_url - events_url - followers_url @@ -65488,8 +65791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *335 - *336 + - *337 - *65 responses: '204': @@ -65536,8 +65839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *335 - *336 + - *337 - *65 requestBody: required: false @@ -65564,7 +65867,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &534 + schema: &535 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65793,8 +66096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *335 - *336 + - *337 - *65 responses: '204': @@ -65826,8 +66129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *335 - *336 + - *337 - *65 responses: '200': @@ -65848,8 +66151,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *464 - required: *465 + properties: *465 + required: *466 nullable: true required: - permission @@ -65904,8 +66207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -65915,7 +66218,7 @@ paths: application/json: schema: type: array - items: &466 + items: &467 title: Commit Comment description: Commit Comment type: object @@ -65973,7 +66276,7 @@ paths: - created_at - updated_at examples: - default: &471 + default: &472 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66032,17 +66335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: &472 + default: &473 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66099,8 +66402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -66123,7 +66426,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: default: value: @@ -66174,8 +66477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -66197,8 +66500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66225,7 +66528,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -66268,7 +66571,7 @@ paths: - content - created_at examples: - default: &538 + default: &539 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66313,8 +66616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -66347,9 +66650,9 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: &468 + default: &469 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66378,9 +66681,9 @@ paths: description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -66402,10 +66705,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *335 - *336 + - *337 - *95 - - &539 + - &540 name: reaction_id description: The unique identifier of the reaction. in: path @@ -66460,8 +66763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *335 - *336 + - *337 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66517,9 +66820,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: &589 + default: &590 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66613,9 +66916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *335 - *336 - - &470 + - *337 + - &471 name: commit_sha description: The SHA of the commit. in: path @@ -66687,9 +66990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *335 - *336 - - *470 + - *337 + - *471 - *17 - *19 responses: @@ -66699,9 +67002,9 @@ paths: application/json: schema: type: array - items: *466 + items: *467 examples: - default: *471 + default: *472 headers: Link: *61 x-github: @@ -66729,9 +67032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *335 - *336 - - *470 + - *337 + - *471 requestBody: required: true content: @@ -66766,9 +67069,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: - default: *472 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66796,9 +67099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *335 - *336 - - *470 + - *337 + - *471 - *17 - *19 responses: @@ -66808,9 +67111,9 @@ paths: application/json: schema: type: array - items: *473 + items: *474 examples: - default: &581 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67347,11 +67650,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *335 - *336 + - *337 - *19 - *17 - - &474 + - &475 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)" @@ -67366,9 +67669,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: &568 + default: &569 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67481,11 +67784,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *335 - *336 - - *474 + - *337 - *475 - *476 + - *477 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67519,9 +67822,9 @@ paths: type: integer check_runs: type: array - items: *413 + items: *414 examples: - default: *477 + default: *478 headers: Link: *61 x-github: @@ -67546,9 +67849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *335 - *336 - - *474 + - *337 + - *475 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67556,7 +67859,7 @@ paths: schema: type: integer example: 1 - - *475 + - *476 - *17 - *19 responses: @@ -67574,7 +67877,7 @@ paths: type: integer check_suites: type: array - items: *418 + items: *419 examples: default: value: @@ -67774,9 +68077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *335 - *336 - - *474 + - *337 + - *475 - *17 - *19 responses: @@ -67974,9 +68277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *335 - *336 - - *474 + - *337 + - *475 - *17 - *19 responses: @@ -67986,7 +68289,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Status description: The status of a commit. type: object @@ -68067,7 +68370,7 @@ paths: site_admin: false headers: Link: *61 - '301': *339 + '301': *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68095,8 +68398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -68125,20 +68428,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *478 - required: *479 + properties: *479 + required: *480 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &480 + properties: &481 url: type: string format: uri html_url: type: string format: uri - required: &481 + required: &482 - url - html_url nullable: true @@ -68152,26 +68455,26 @@ paths: contributing: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true readme: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true issue_template: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true pull_request_template: title: Community Health File type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true required: - code_of_conduct @@ -68298,8 +68601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *335 - *336 + - *337 - *19 - *17 - name: basehead @@ -68342,8 +68645,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *469 - merge_base_commit: *469 + base_commit: *470 + merge_base_commit: *470 status: type: string enum: @@ -68363,10 +68666,10 @@ paths: example: 6 commits: type: array - items: *469 + items: *470 files: type: array - items: *482 + items: *483 required: - url - html_url @@ -68652,8 +68955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *335 - *336 + - *337 - name: path description: path parameter in: path @@ -68813,7 +69116,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &483 + response-if-content-is-a-file-github-object: &484 summary: Response if content is a file value: type: file @@ -68945,7 +69248,7 @@ paths: - size - type - url - - &594 + - &595 title: Content File description: Content File type: object @@ -69146,7 +69449,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *483 + response-if-content-is-a-file: *484 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69215,7 +69518,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *484 + '302': *485 '304': *37 x-github: githubCloudOnly: false @@ -69238,8 +69541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *335 - *336 + - *337 - name: path description: path parameter in: path @@ -69332,7 +69635,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: File Commit description: File Commit type: object @@ -69484,7 +69787,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: example-for-creating-a-file: value: @@ -69538,7 +69841,7 @@ paths: schema: oneOf: - *3 - - &516 + - &517 description: Repository rule violation was detected type: object properties: @@ -69559,7 +69862,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &647 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69591,8 +69894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *335 - *336 + - *337 - name: path description: path parameter in: path @@ -69653,7 +69956,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -69708,8 +70011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *335 - *336 + - *337 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69832,23 +70135,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *335 - *336 - - *194 + - *337 - *195 - *196 - *197 + - *198 - 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 - - *198 - - *486 - *199 + - *487 - *200 - *201 + - *202 - *55 - *47 - *48 @@ -69860,7 +70163,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 type: object description: A Dependabot alert. properties: @@ -69906,7 +70209,7 @@ paths: - unknown - direct - transitive - security_advisory: *487 + security_advisory: *488 security_vulnerability: *59 url: *177 html_url: *178 @@ -69937,8 +70240,8 @@ paths: nullable: true maxLength: 280 fixed_at: *179 - auto_dismissed_at: *488 - dismissal_request: *489 + auto_dismissed_at: *489 + dismissal_request: *490 assignees: type: array description: The users assigned to this alert. @@ -70193,9 +70496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *335 - *336 - - &491 + - *337 + - &492 name: alert_number in: path description: |- @@ -70210,7 +70513,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -70342,9 +70645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *335 - *336 - - *491 + - *337 + - *492 requestBody: required: true content: @@ -70400,7 +70703,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -70530,8 +70833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -70549,7 +70852,7 @@ paths: type: integer secrets: type: array - items: &494 + items: &495 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70602,16 +70905,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70631,15 +70934,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: default: value: @@ -70665,8 +70968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 requestBody: required: true @@ -70719,8 +71022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *335 - *336 + - *337 - *164 responses: '204': @@ -70743,8 +71046,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: - - *335 - *336 + - *337 - 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 @@ -70904,8 +71207,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: - - *335 - *336 + - *337 responses: '200': description: Response @@ -71144,8 +71447,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -71220,7 +71523,7 @@ paths: - version - url additionalProperties: false - metadata: &495 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71253,7 +71556,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *495 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -71266,7 +71569,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *495 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -71395,8 +71698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *335 - *336 + - *337 - name: sha description: The SHA recorded at creation time. in: query @@ -71436,9 +71739,9 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 + default: *498 headers: Link: *61 x-github: @@ -71504,8 +71807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -71586,7 +71889,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: simple-example: summary: Simple example @@ -71659,9 +71962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *335 - *336 - - &498 + - *337 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -71673,7 +71976,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -71738,9 +72041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *335 - *336 - - *498 + - *337 + - *499 responses: '204': description: Response @@ -71762,9 +72065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *335 - *336 - - *498 + - *337 + - *499 - *17 - *19 responses: @@ -71774,7 +72077,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -71935,9 +72238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *335 - *336 - - *498 + - *337 + - *499 requestBody: required: true content: @@ -72012,9 +72315,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &500 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72070,9 +72373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *335 - *336 - - *498 + - *337 + - *499 - name: status_id in: path required: true @@ -72083,9 +72386,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *500 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -72110,8 +72413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -72168,8 +72471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -72186,7 +72489,7 @@ paths: type: integer environments: type: array - items: &502 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -72238,7 +72541,7 @@ paths: type: type: string example: wait_timer - wait_timer: &504 + wait_timer: &505 type: integer example: 30 description: The amount of time to delay a job after @@ -72275,7 +72578,7 @@ paths: items: type: object properties: - type: *501 + type: *502 reviewer: anyOf: - *4 @@ -72299,7 +72602,7 @@ paths: - id - node_id - type - deployment_branch_policy: &505 + deployment_branch_policy: &506 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -72415,9 +72718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *335 - *336 - - &503 + - *337 + - &504 name: environment_name in: path required: true @@ -72430,9 +72733,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &506 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72516,9 +72819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *335 - *336 - - *503 + - *337 + - *504 requestBody: required: false content: @@ -72527,7 +72830,7 @@ paths: type: object nullable: true properties: - wait_timer: *504 + wait_timer: *505 prevent_self_review: type: boolean example: false @@ -72544,13 +72847,13 @@ paths: items: type: object properties: - type: *501 + type: *502 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *505 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -72570,9 +72873,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *506 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72596,9 +72899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *335 - *336 - - *503 + - *337 + - *504 responses: '204': description: Default response @@ -72623,9 +72926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *17 - *19 responses: @@ -72643,7 +72946,7 @@ paths: example: 2 branch_policies: type: array - items: &507 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72700,9 +73003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 + - *337 + - *504 requestBody: required: true content: @@ -72748,9 +73051,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - example-wildcard: &508 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72792,10 +73095,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 - - &509 + - *337 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -72807,9 +73110,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72828,10 +73131,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 - - *509 + - *337 + - *504 + - *510 requestBody: required: true content: @@ -72859,9 +73162,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72880,10 +73183,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *335 - *336 - - *503 - - *509 + - *337 + - *504 + - *510 responses: '204': description: Response @@ -72908,9 +73211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *503 + - *504 + - *337 - *336 - - *335 responses: '200': description: List of deployment protection rules @@ -72926,7 +73229,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &510 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -72945,7 +73248,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &511 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73044,9 +73347,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: - - *503 + - *504 + - *337 - *336 - - *335 requestBody: content: application/json: @@ -73067,9 +73370,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *510 + schema: *511 examples: - default: &512 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73104,9 +73407,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: - - *503 + - *504 + - *337 - *336 - - *335 - *19 - *17 responses: @@ -73125,7 +73428,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *511 + items: *512 examples: default: value: @@ -73160,10 +73463,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *335 - *336 - - *503 - - &513 + - *337 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73175,9 +73478,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *512 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73198,10 +73501,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *503 + - *504 + - *337 - *336 - - *335 - - *513 + - *514 responses: '204': description: Response @@ -73227,9 +73530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *17 - *19 responses: @@ -73247,9 +73550,9 @@ paths: type: integer secrets: type: array - items: *380 + items: *381 examples: - default: *381 + default: *382 headers: Link: *61 x-github: @@ -73274,17 +73577,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *335 - *336 - - *503 + - *337 + - *504 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73306,18 +73609,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73339,9 +73642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *164 requestBody: required: true @@ -73399,9 +73702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *164 responses: '204': @@ -73427,10 +73730,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *335 - *336 - - *503 - - *351 + - *337 + - *504 + - *352 - *19 responses: '200': @@ -73447,9 +73750,9 @@ paths: type: integer variables: type: array - items: *384 + items: *385 examples: - default: *385 + default: *386 headers: Link: *61 x-github: @@ -73472,9 +73775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *335 - *336 - - *503 + - *337 + - *504 requestBody: required: true content: @@ -73526,18 +73829,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *335 - *336 - - *503 + - *337 + - *504 - *167 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73558,10 +73861,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *335 - *336 + - *337 - *167 - - *503 + - *504 requestBody: required: true content: @@ -73603,10 +73906,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *335 - *336 + - *337 - *167 - - *503 + - *504 responses: '204': description: Response @@ -73628,8 +73931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -73697,8 +74000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *335 - *336 + - *337 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73857,8 +74160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -73890,9 +74193,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 '400': *14 '422': *15 '403': *29 @@ -73913,8 +74216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -73974,7 +74277,7 @@ paths: schema: oneOf: - *124 - - *516 + - *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73999,8 +74302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *335 - *336 + - *337 - name: file_sha in: path required: true @@ -74099,8 +74402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -74209,7 +74512,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &518 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74423,15 +74726,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *335 - *336 - - *470 + - *337 + - *471 responses: '200': description: Response content: application/json: - schema: *517 + schema: *518 examples: default: value: @@ -74487,9 +74790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *335 - *336 - - &518 + - *337 + - &519 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. @@ -74506,7 +74809,7 @@ paths: application/json: schema: type: array - items: &519 + items: &520 title: Git Reference description: Git references within a repository type: object @@ -74581,17 +74884,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *335 - *336 - - *518 + - *337 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: &520 + default: &521 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74620,8 +74923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -74650,9 +74953,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74678,9 +74981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *335 - *336 - - *518 + - *337 + - *519 requestBody: required: true content: @@ -74709,9 +75012,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '422': *15 '409': *54 x-github: @@ -74729,9 +75032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *335 - *336 - - *518 + - *337 + - *519 responses: '204': description: Response @@ -74786,8 +75089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -74854,7 +75157,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &523 title: Git Tag description: Metadata for a Git tag type: object @@ -74905,7 +75208,7 @@ paths: - sha - type - url - verification: *521 + verification: *522 required: - sha - url @@ -74915,7 +75218,7 @@ paths: - tag - message examples: - default: &523 + default: &524 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74988,8 +75291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *335 - *336 + - *337 - name: tag_sha in: path required: true @@ -75000,9 +75303,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 '404': *6 '409': *54 x-github: @@ -75026,8 +75329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -75100,7 +75403,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &525 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75196,8 +75499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *335 - *336 + - *337 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75220,7 +75523,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: default-response: summary: Default response @@ -75279,8 +75582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -75290,7 +75593,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Webhook description: Webhooks for repositories. type: object @@ -75418,8 +75721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -75471,9 +75774,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: type: Repository id: 12345678 @@ -75521,17 +75824,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -75551,9 +75854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 requestBody: required: true content: @@ -75598,9 +75901,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '422': *15 '404': *6 x-github: @@ -75621,9 +75924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '204': description: Response @@ -75647,9 +75950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '200': description: Response @@ -75676,9 +75979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *335 - *336 - - *209 + - *337 + - *210 requestBody: required: false content: @@ -75722,11 +76025,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *335 - *336 - - *209 - - *17 + - *337 - *210 + - *17 + - *211 responses: '200': description: Response @@ -75734,9 +76037,9 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 + default: *213 '400': *14 '422': *15 x-github: @@ -75755,18 +76058,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 - *16 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '400': *14 '422': *15 x-github: @@ -75785,9 +76088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 - *16 responses: '202': *39 @@ -75810,9 +76113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '204': description: Response @@ -75837,9 +76140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *335 - *336 - - *209 + - *337 + - *210 responses: '204': description: Response @@ -75862,8 +76165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response if immutable releases are enabled @@ -75909,8 +76212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *335 - *336 + - *337 responses: '204': *187 '409': *54 @@ -75930,8 +76233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *335 - *336 + - *337 responses: '204': *187 '409': *54 @@ -75988,14 +76291,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &527 + schema: &528 title: Import description: A repository import from an external source. type: object @@ -76094,7 +76397,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &531 value: vcs: subversion use_lfs: true @@ -76110,7 +76413,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': &528 + '503': &529 description: Unavailable due to service under maintenance. content: application/json: @@ -76139,8 +76442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -76188,7 +76491,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -76213,7 +76516,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76241,8 +76544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -76291,7 +76594,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: example-1: summary: Example 1 @@ -76339,7 +76642,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': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76362,12 +76665,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *335 - *336 + - *337 responses: '204': description: Response - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76393,8 +76696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *335 - *336 + - *337 - &698 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -76409,7 +76712,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Porter Author description: Porter Author type: object @@ -76463,7 +76766,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': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76488,8 +76791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *335 - *336 + - *337 - name: author_id in: path required: true @@ -76519,7 +76822,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: default: value: @@ -76532,7 +76835,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76556,8 +76859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -76598,7 +76901,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76626,8 +76929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -76654,11 +76957,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *530 + default: *531 '422': *15 - '503': *528 + '503': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76681,8 +76984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -76690,8 +76993,8 @@ paths: application/json: schema: *22 examples: - default: *531 - '301': *339 + default: *532 + '301': *340 '404': *6 x-github: githubCloudOnly: false @@ -76711,8 +77014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -76720,12 +77023,12 @@ paths: application/json: schema: anyOf: - - *227 + - *228 - type: object properties: {} additionalProperties: false examples: - default: &533 + default: &534 value: limit: collaborators_only origin: repository @@ -76750,13 +77053,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: application/json: - schema: *532 + schema: *533 examples: default: summary: Example request body @@ -76768,9 +77071,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *533 + default: *534 '409': description: Response x-github: @@ -76792,8 +77095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -76816,8 +77119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -76827,7 +77130,7 @@ paths: application/json: schema: type: array - items: *534 + items: *535 examples: default: &690 value: @@ -76960,9 +77263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *335 - *336 - - *231 + - *337 + - *232 requestBody: required: false content: @@ -76991,7 +77294,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -77122,9 +77425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *335 - *336 - - *231 + - *337 + - *232 responses: '204': description: Response @@ -77155,8 +77458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *335 - *336 + - *337 - 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 @@ -77204,7 +77507,7 @@ paths: required: false schema: type: string - - *238 + - *239 - name: sort description: What to sort results by. in: query @@ -77229,7 +77532,7 @@ paths: type: array items: *79 examples: - default: &546 + default: &547 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77378,7 +77681,7 @@ paths: state_reason: completed headers: Link: *61 - '301': *339 + '301': *340 '422': *15 '404': *6 x-github: @@ -77407,8 +77710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -77485,7 +77788,7 @@ paths: application/json: schema: *79 examples: - default: &543 + default: &544 value: id: 1 node_id: MDU6SXNzdWUx @@ -77642,7 +77945,7 @@ paths: '422': *15 '503': *116 '404': *6 - '410': *535 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -77670,8 +77973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *335 - *336 + - *337 - *103 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77692,9 +77995,9 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: &545 + default: &546 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77752,17 +78055,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: &537 + default: &538 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77817,8 +78120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -77841,9 +78144,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *537 + default: *538 '422': *15 x-github: githubCloudOnly: false @@ -77861,8 +78164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -77891,15 +78194,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -77955,7 +78258,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *535 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -77972,8 +78275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -77981,7 +78284,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *535 + '410': *536 '503': *116 x-github: githubCloudOnly: false @@ -77999,8 +78302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78027,9 +78330,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 @@ -78050,8 +78353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -78084,16 +78387,16 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -78115,10 +78418,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *335 - *336 + - *337 - *95 - - *539 + - *540 responses: '204': description: Response @@ -78138,8 +78441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -78149,7 +78452,7 @@ paths: application/json: schema: type: array - items: &542 + items: &543 title: Issue Event description: Issue Event type: object @@ -78192,8 +78495,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *540 - required: *541 + properties: *541 + required: *542 nullable: true label: title: Issue Event Label @@ -78501,8 +78804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *335 - *336 + - *337 - name: event_id in: path required: true @@ -78513,7 +78816,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -78706,7 +79009,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *535 + '410': *536 '403': *29 x-github: githubCloudOnly: false @@ -78740,9 +79043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *335 - *336 - - &544 + - *337 + - &545 name: issue_number description: The number that identifies the issue. in: path @@ -78758,7 +79061,7 @@ paths: examples: default: summary: Issue - value: *543 + value: *544 pinned_comment: summary: Issue with pinned comment value: @@ -78957,9 +79260,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 '304': *37 x-github: githubCloudOnly: false @@ -78984,9 +79287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -79107,13 +79410,13 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 '422': *15 '503': *116 '403': *29 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79131,9 +79434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -79161,7 +79464,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,9 +79480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: content: application/json: @@ -79206,7 +79509,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79228,9 +79531,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: - - *335 - *336 - - *544 + - *337 + - *545 - name: assignee in: path required: true @@ -79270,9 +79573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *86 - *17 - *19 @@ -79283,13 +79586,13 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: *545 + default: *546 headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79318,9 +79621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -79342,16 +79645,16 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *537 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *535 + '410': *536 '422': *15 '404': *6 x-github: @@ -79379,9 +79682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -79393,12 +79696,12 @@ paths: type: array items: *79 examples: - default: *546 + default: *547 headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79426,9 +79729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -79452,15 +79755,15 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *340 '403': *29 - '410': *535 + '410': *536 '422': *15 '404': *6 x-github: @@ -79491,9 +79794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *335 - *336 - - *544 + - *337 + - *545 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79507,13 +79810,13 @@ paths: application/json: schema: *79 examples: - default: *543 - '301': *339 + default: *544 + '301': *340 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *535 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -79539,9 +79842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -79553,12 +79856,12 @@ paths: type: array items: *79 examples: - default: *546 + default: *547 headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79575,9 +79878,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -79591,7 +79894,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &549 + - &550 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79645,7 +79948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &551 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79781,7 +80084,7 @@ paths: - performed_via_github_app - assignee - assigner - - &551 + - &552 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79832,7 +80135,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &553 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79883,7 +80186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &554 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79937,7 +80240,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &555 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79984,7 +80287,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &556 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80031,7 +80334,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &557 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80091,7 +80394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &558 title: Locked Issue Event description: Locked Issue Event type: object @@ -80139,7 +80442,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &559 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80205,7 +80508,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &560 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80271,7 +80574,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &561 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80337,7 +80640,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &562 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80428,7 +80731,7 @@ paths: color: red headers: Link: *61 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80445,9 +80748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -80457,9 +80760,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: &660 + default: &661 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -80483,9 +80786,9 @@ paths: value: '2025-12-25' headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80502,9 +80805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -80516,7 +80819,7 @@ paths: type: array items: *78 examples: - default: &548 + default: &549 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80534,9 +80837,9 @@ paths: default: false headers: Link: *61 - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80552,9 +80855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -80599,10 +80902,10 @@ paths: type: array items: *78 examples: - default: *548 - '301': *339 + default: *549 + '301': *340 '404': *6 - '410': *535 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -80619,9 +80922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -80683,10 +80986,10 @@ paths: type: array items: *78 examples: - default: *548 - '301': *339 + default: *549 + '301': *340 '404': *6 - '410': *535 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -80703,15 +81006,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 responses: '204': description: Response - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80730,9 +81033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - name: name in: path required: true @@ -80756,9 +81059,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80778,9 +81081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: false content: @@ -80808,7 +81111,7 @@ paths: '204': description: Response '403': *29 - '410': *535 + '410': *536 '404': *6 '422': *15 x-github: @@ -80826,9 +81129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 responses: '204': description: Response @@ -80858,9 +81161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 responses: '200': description: Response @@ -80868,10 +81171,10 @@ paths: application/json: schema: *79 examples: - default: *543 - '301': *339 + default: *544 + '301': *340 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80888,9 +81191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - 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. @@ -80916,13 +81219,13 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80940,9 +81243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -80974,16 +81277,16 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -81005,10 +81308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *335 - *336 - - *544 - - *539 + - *337 + - *545 + - *540 responses: '204': description: Response @@ -81037,9 +81340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81063,7 +81366,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81096,9 +81399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -81110,11 +81413,11 @@ paths: type: array items: *79 examples: - default: *546 + default: *547 headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81142,9 +81445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81173,14 +81476,14 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *535 + '410': *536 '422': *15 '404': *6 x-github: @@ -81200,9 +81503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 requestBody: required: true content: @@ -81235,7 +81538,7 @@ paths: application/json: schema: *79 examples: - default: *543 + default: *544 '403': *29 '404': *6 '422': *7 @@ -81257,9 +81560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *335 - *336 - - *544 + - *337 + - *545 - *17 - *19 responses: @@ -81274,7 +81577,6 @@ paths: description: Timeline Event type: object anyOf: - - *549 - *550 - *551 - *552 @@ -81287,6 +81589,7 @@ paths: - *559 - *560 - *561 + - *562 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81347,8 +81650,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true required: - event @@ -81603,7 +81906,7 @@ paths: type: string comments: type: array - items: &583 + items: &584 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81818,7 +82121,7 @@ paths: type: string comments: type: array - items: *466 + items: *467 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82107,7 +82410,7 @@ paths: headers: Link: *61 '404': *6 - '410': *535 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82124,8 +82427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -82135,7 +82438,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82201,8 +82504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -82238,9 +82541,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: id: 1 key: ssh-rsa AAA... @@ -82274,9 +82577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *335 - *336 - - &566 + - *337 + - &567 name: key_id description: The unique identifier of the key. in: path @@ -82288,9 +82591,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -82308,9 +82611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *335 - *336 - - *566 + - *337 + - *567 responses: '204': description: Response @@ -82330,8 +82633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -82343,7 +82646,7 @@ paths: type: array items: *78 examples: - default: *548 + default: *549 headers: Link: *61 '404': *6 @@ -82364,8 +82667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -82403,7 +82706,7 @@ paths: application/json: schema: *78 examples: - default: &567 + default: &568 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82435,8 +82738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *335 - *336 + - *337 - name: name in: path required: true @@ -82449,7 +82752,7 @@ paths: application/json: schema: *78 examples: - default: *567 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -82466,8 +82769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *335 - *336 + - *337 - name: name in: path required: true @@ -82532,8 +82835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *335 - *336 + - *337 - name: name in: path required: true @@ -82559,8 +82862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -82599,9 +82902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *335 - *336 - - *439 + - *337 + - *440 responses: '200': description: Response @@ -82746,8 +83049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -82812,8 +83115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -82847,9 +83150,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *469 + schema: *470 examples: - default: *568 + default: *569 '204': description: Response when already merged '404': @@ -82874,8 +83177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *335 - *336 + - *337 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82916,12 +83219,12 @@ paths: application/json: schema: type: array - items: &569 + items: &570 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 examples: default: value: @@ -82977,8 +83280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83018,9 +83321,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83079,9 +83382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *335 - *336 - - &571 + - *337 + - &572 name: milestone_number description: The number that identifies the milestone. in: path @@ -83093,9 +83396,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 '404': *6 x-github: githubCloudOnly: false @@ -83112,9 +83415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *335 - *336 - - *571 + - *337 + - *572 requestBody: required: false content: @@ -83152,9 +83455,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83170,9 +83473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *335 - *336 - - *571 + - *337 + - *572 responses: '204': description: Response @@ -83193,9 +83496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *335 - *336 - - *571 + - *337 + - *572 - *17 - *19 responses: @@ -83207,7 +83510,7 @@ paths: type: array items: *78 examples: - default: *548 + default: *549 headers: Link: *61 x-github: @@ -83226,12 +83529,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *335 - *336 - - *572 + - *337 - *573 - - *86 - *574 + - *86 + - *575 - *17 - *19 responses: @@ -83243,7 +83546,7 @@ paths: type: array items: *106 examples: - default: *575 + default: *576 headers: Link: *61 x-github: @@ -83267,8 +83570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -83326,14 +83629,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: &576 + schema: &577 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83458,7 +83761,7 @@ paths: - custom_404 - public examples: - default: &577 + default: &578 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83499,8 +83802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83554,9 +83857,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '422': *15 '409': *54 x-github: @@ -83579,8 +83882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -83679,8 +83982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -83706,8 +84009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -83717,7 +84020,7 @@ paths: application/json: schema: type: array - items: &578 + items: &579 title: Page Build description: Page Build type: object @@ -83811,8 +84114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *335 - *336 + - *337 responses: '201': description: Response @@ -83857,16 +84160,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *578 + schema: *579 examples: - default: &579 + default: &580 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83914,8 +84217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *335 - *336 + - *337 - name: build_id in: path required: true @@ -83926,9 +84229,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *579 examples: - default: *579 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83948,8 +84251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -84054,9 +84357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *335 - *336 - - &580 + - *337 + - &581 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84114,9 +84417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *335 - *336 - - *580 + - *337 + - *581 responses: '204': *187 '404': *6 @@ -84143,8 +84446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -84402,8 +84705,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: - - *335 - *336 + - *337 responses: '200': description: Private vulnerability reporting status @@ -84440,8 +84743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': *187 '422': *14 @@ -84462,8 +84765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': *187 '422': *14 @@ -84485,8 +84788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -84494,7 +84797,7 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: default: value: @@ -84525,8 +84828,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: - - *335 - *336 + - *337 requestBody: required: true content: @@ -84538,7 +84841,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *287 + items: *288 required: - properties examples: @@ -84588,8 +84891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *335 - *336 + - *337 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84649,9 +84952,9 @@ paths: application/json: schema: type: array - items: *473 + items: *474 examples: - default: *581 + default: *582 headers: Link: *61 '304': *37 @@ -84683,8 +84986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -84749,7 +85052,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &586 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84860,8 +85163,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true active_lock_reason: type: string @@ -84893,7 +85196,7 @@ paths: items: *4 requested_teams: type: array - items: *324 + items: *325 head: type: object properties: @@ -84931,14 +85234,14 @@ paths: _links: type: object properties: - comments: *274 - commits: *274 - statuses: *274 - html: *274 - issue: *274 - review_comments: *274 - review_comment: *274 - self: *274 + comments: *275 + commits: *275 + statuses: *275 + html: *275 + issue: *275 + review_comments: *275 + review_comment: *275 + self: *275 required: - comments - commits @@ -84949,7 +85252,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *582 + auto_merge: *583 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85039,7 +85342,7 @@ paths: - merged_by - review_comments examples: - default: &586 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85566,8 +85869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *335 - *336 + - *337 - name: sort in: query required: false @@ -85596,9 +85899,9 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: - default: &588 + default: &589 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85675,17 +85978,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *335 - *336 + - *337 - *95 responses: '200': description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &584 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85760,8 +86063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -85784,9 +86087,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *584 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85802,8 +86105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *335 - *336 + - *337 - *95 responses: '204': @@ -85825,8 +86128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *335 - *336 + - *337 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85853,9 +86156,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 @@ -85876,8 +86179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *335 - *336 + - *337 - *95 requestBody: required: true @@ -85910,16 +86213,16 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -85941,10 +86244,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *335 - *336 + - *337 - *95 - - *539 + - *540 responses: '204': description: Response @@ -85987,9 +86290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *335 - *336 - - &587 + - *337 + - &588 name: pull_number description: The number that identifies the pull request. in: path @@ -86002,9 +86305,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 '304': *37 '404': *6 '406': @@ -86039,9 +86342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -86083,9 +86386,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 '422': *15 '403': *29 x-github: @@ -86107,9 +86410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: true content: @@ -86169,17 +86472,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '401': *25 '403': *29 '404': *6 @@ -86209,9 +86512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *103 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86232,9 +86535,9 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: - default: *588 + default: *589 headers: Link: *61 x-github: @@ -86267,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: true content: @@ -86374,7 +86677,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: example-for-a-multi-line-comment: value: @@ -86462,9 +86765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *95 requestBody: required: true @@ -86487,7 +86790,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: default: value: @@ -86573,9 +86876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *17 - *19 responses: @@ -86585,9 +86888,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *589 + default: *590 headers: Link: *61 x-github: @@ -86617,9 +86920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *17 - *19 responses: @@ -86629,7 +86932,7 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: default: value: @@ -86667,9 +86970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *335 - *336 - - *587 + - *337 + - *588 responses: '204': description: Response if pull request has been merged @@ -86692,9 +86995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -86805,9 +87108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 responses: '200': description: Response @@ -86882,9 +87185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -86921,7 +87224,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -87457,9 +87760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: true content: @@ -87493,7 +87796,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -87998,9 +88301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 - *17 - *19 responses: @@ -88010,7 +88313,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88161,9 +88464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -88249,9 +88552,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: &592 + default: &593 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88314,10 +88617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - &591 + - *337 + - *588 + - &592 name: review_id description: The unique identifier of the review. in: path @@ -88329,9 +88632,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: &593 + default: &594 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88390,10 +88693,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 requestBody: required: true content: @@ -88416,7 +88719,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -88478,18 +88781,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 responses: '200': description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: *592 + default: *593 '422': *7 '404': *6 x-github: @@ -88516,10 +88819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 - *17 - *19 responses: @@ -88602,9 +88905,9 @@ paths: _links: type: object properties: - self: *274 - html: *274 - pull_request: *274 + self: *275 + html: *275 + pull_request: *275 required: - self - html @@ -88754,10 +89057,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 requestBody: required: true content: @@ -88785,7 +89088,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -88848,10 +89151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *335 - *336 - - *587 - - *591 + - *337 + - *588 + - *592 requestBody: required: true content: @@ -88886,9 +89189,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: *593 + default: *594 '404': *6 '422': *7 '403': *29 @@ -88910,9 +89213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *335 - *336 - - *587 + - *337 + - *588 requestBody: required: false content: @@ -88975,8 +89278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *335 - *336 + - *337 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88989,9 +89292,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: &595 + default: &596 value: type: file encoding: base64 @@ -89033,8 +89336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *335 - *336 + - *337 - name: dir description: The alternate path to look for a README file in: path @@ -89054,9 +89357,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 '422': *15 x-github: @@ -89078,8 +89381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -89089,7 +89392,7 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: default: value: @@ -89183,8 +89486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -89260,9 +89563,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: &600 + default: &601 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89367,9 +89670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *335 - *336 - - &598 + - *337 + - &599 name: asset_id description: The unique identifier of the asset. in: path @@ -89381,9 +89684,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: &599 + default: &600 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 @@ -89418,7 +89721,7 @@ paths: type: User site_admin: false '404': *6 - '302': *484 + '302': *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89434,9 +89737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *335 - *336 - - *598 + - *337 + - *599 requestBody: required: false content: @@ -89464,9 +89767,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89482,9 +89785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *335 - *336 - - *598 + - *337 + - *599 responses: '204': description: Response @@ -89508,8 +89811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -89594,16 +89897,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *335 - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *600 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89620,8 +89923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *335 - *336 + - *337 - name: tag description: tag parameter in: path @@ -89634,9 +89937,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *600 + default: *601 '404': *6 x-github: githubCloudOnly: false @@ -89658,9 +89961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *335 - *336 - - &601 + - *337 + - &602 name: release_id description: The unique identifier of the release. in: path @@ -89674,9 +89977,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: *596 + schema: *597 examples: - default: *600 + default: *601 '401': description: Unauthorized x-github: @@ -89694,9 +89997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 requestBody: required: false content: @@ -89760,9 +90063,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *600 + default: *601 '404': description: Not Found if the discussion category name is invalid content: @@ -89783,9 +90086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 responses: '204': description: Response @@ -89805,9 +90108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *335 - *336 - - *601 + - *337 + - *602 - *17 - *19 responses: @@ -89817,7 +90120,7 @@ paths: application/json: schema: type: array - items: *597 + items: *598 examples: default: value: @@ -89898,9 +90201,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: - - *335 - *336 - - *601 + - *337 + - *602 - name: name in: query required: true @@ -89926,7 +90229,7 @@ paths: description: Response for successful upload content: application/json: - schema: *597 + schema: *598 examples: response-for-successful-upload: value: @@ -89981,9 +90284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 - 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. @@ -90007,9 +90310,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *538 + default: *539 headers: Link: *61 '404': *6 @@ -90030,9 +90333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *335 - *336 - - *601 + - *337 + - *602 requestBody: required: true content: @@ -90062,16 +90365,16 @@ paths: description: Reaction exists content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '201': description: Reaction created content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '422': *15 x-github: githubCloudOnly: false @@ -90093,10 +90396,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *335 - *336 - - *601 - - *539 + - *337 + - *602 + - *540 responses: '204': description: Response @@ -90120,9 +90423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *335 - *336 - - *402 + - *337 + - *403 - *17 - *19 responses: @@ -90138,8 +90441,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *296 - - &602 + - *297 + - &603 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90158,69 +90461,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *297 - - *602 - allOf: - *298 - - *602 + - *603 - allOf: - *299 - - *602 - - allOf: - *603 - - *602 - allOf: - *300 - - *602 + - *603 + - allOf: + - *604 + - *603 - allOf: - *301 - - *602 + - *603 - allOf: - *302 - - *602 + - *603 - allOf: - *303 - - *602 + - *603 - allOf: - *304 - - *602 + - *603 - allOf: - *305 - - *602 + - *603 - allOf: - *306 - - *602 + - *603 - allOf: - *307 - - *602 + - *603 - allOf: - *308 - - *602 + - *603 - allOf: - *309 - - *602 + - *603 - allOf: - *310 - - *602 + - *603 - allOf: - *311 - - *602 + - *603 - allOf: - *312 - - *602 + - *603 - allOf: - *313 - - *602 + - *603 - allOf: - *314 - - *602 + - *603 - allOf: - *315 - - *602 + - *603 - allOf: - *316 - - *602 + - *603 + - allOf: + - *317 + - *603 examples: default: value: @@ -90259,8 +90562,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - *17 - *19 - name: includes_parents @@ -90271,7 +90574,7 @@ paths: schema: type: boolean default: true - - *604 + - *605 responses: '200': description: Response @@ -90279,7 +90582,7 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: default: value: @@ -90326,8 +90629,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 requestBody: description: Request body required: true @@ -90347,16 +90650,16 @@ paths: - tag - push default: branch - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *291 + items: *295 + conditions: *292 rules: type: array description: An array of rules within the ruleset. - items: *605 + items: *606 required: - name - enforcement @@ -90387,9 +90690,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: &615 + default: &616 value: id: 42 name: super cool ruleset @@ -90437,12 +90740,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *335 - *336 - - *606 + - *337 - *607 - *608 - *609 + - *610 - *17 - *19 responses: @@ -90450,9 +90753,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '404': *6 '500': *115 x-github: @@ -90473,17 +90776,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *335 - *336 - - *612 + - *337 + - *613 responses: '200': description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '500': *115 x-github: @@ -90511,8 +90814,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90532,9 +90835,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *615 + default: *616 '404': *6 '500': *115 put: @@ -90552,8 +90855,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90578,16 +90881,16 @@ paths: - branch - tag - push - enforcement: *293 + enforcement: *294 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *294 - conditions: *291 + items: *295 + conditions: *292 rules: description: An array of rules within the ruleset. type: array - items: *605 + items: *606 examples: default: value: @@ -90615,9 +90918,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *615 + default: *616 '404': *6 '422': *15 '500': *115 @@ -90636,8 +90939,8 @@ paths: category: repos subcategory: rules parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90660,8 +90963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *335 - *336 + - *337 - *17 - *19 - name: ruleset_id @@ -90677,9 +90980,9 @@ paths: application/json: schema: type: array - items: *320 + items: *321 examples: - default: *616 + default: *617 '404': *6 '500': *115 x-github: @@ -90698,8 +91001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *335 - *336 + - *337 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90717,7 +91020,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -90772,22 +91075,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *335 - *336 - - *618 + - *337 - *619 - *620 - *621 - *622 + - *623 - *55 - *19 - *17 - - *623 - *624 - *625 - *626 - *627 - *628 + - *629 responses: '200': description: Response @@ -90795,7 +91098,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 type: object properties: number: *174 @@ -90814,8 +91117,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *629 - resolution: *630 + state: *630 + resolution: *631 resolved_at: type: string format: date-time @@ -90911,7 +91214,7 @@ paths: pull request. ' - oneOf: *631 + oneOf: *632 nullable: true has_more_locations: type: boolean @@ -91060,16 +91363,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *335 - *336 - - *433 - - *628 + - *337 + - *434 + - *629 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -91123,9 +91426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 requestBody: required: true content: @@ -91133,8 +91436,8 @@ paths: schema: type: object properties: - state: *629 - resolution: *630 + state: *630 + resolution: *631 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91168,7 +91471,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -91263,9 +91566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *335 - *336 - - *433 + - *337 + - *434 - *19 - *17 responses: @@ -91302,7 +91605,6 @@ paths: example: commit details: oneOf: - - *633 - *634 - *635 - *636 @@ -91315,6 +91617,7 @@ paths: - *643 - *644 - *645 + - *646 examples: default: value: @@ -91400,8 +91703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -91409,14 +91712,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &648 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *647 required: - reason - placeholder_id @@ -91433,7 +91736,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *648 expire_at: type: string format: date-time @@ -91479,8 +91782,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: - - *335 - *336 + - *337 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91495,7 +91798,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &649 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91521,15 +91824,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *648 + items: *649 backfill_scans: type: array - items: *648 + items: *649 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *649 - type: object properties: pattern_name: @@ -91599,8 +91902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *335 - *336 + - *337 - *55 - name: sort description: The property to sort the results by. @@ -91644,9 +91947,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 '400': *14 '404': *6 x-github: @@ -91669,8 +91972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -91743,7 +92046,7 @@ paths: login: type: string description: The username of the user credited. - type: *323 + type: *324 required: - login - type @@ -91830,9 +92133,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: &652 + default: &653 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92065,8 +92368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -92170,7 +92473,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: default: value: @@ -92317,17 +92620,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *335 - *336 - - *651 + - *337 + - *652 responses: '200': description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: *652 + default: *653 '403': *29 '404': *6 x-github: @@ -92351,9 +92654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *335 - *336 - - *651 + - *337 + - *652 requestBody: required: true content: @@ -92426,7 +92729,7 @@ paths: login: type: string description: The username of the user credited. - type: *323 + type: *324 required: - login - type @@ -92512,10 +92815,10 @@ paths: description: Response content: application/json: - schema: *649 + schema: *650 examples: - default: *652 - add_credit: *652 + default: *653 + add_credit: *653 '403': *29 '404': *6 '422': @@ -92553,9 +92856,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: - - *335 - *336 - - *651 + - *337 + - *652 responses: '202': *39 '400': *14 @@ -92582,17 +92885,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *335 - *336 - - *651 + - *337 + - *652 responses: '202': description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 '400': *14 '422': *15 '403': *29 @@ -92618,8 +92921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -92718,8 +93021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *335 - *336 + - *337 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92728,7 +93031,7 @@ paths: application/json: schema: type: array - items: &653 + items: &654 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92761,8 +93064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -92838,8 +93141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -92935,8 +93238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *335 - *336 + - *337 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93090,8 +93393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *335 - *336 + - *337 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93101,7 +93404,7 @@ paths: application/json: schema: type: array - items: *653 + items: *654 examples: default: value: @@ -93134,8 +93437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *335 - *336 + - *337 - name: sha in: path required: true @@ -93189,7 +93492,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: default: value: @@ -93243,8 +93546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -93276,14 +93579,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *335 - *336 + - *337 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &656 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93351,8 +93654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *335 - *336 + - *337 requestBody: required: false content: @@ -93378,7 +93681,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: default: value: @@ -93405,8 +93708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -93426,8 +93729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -93506,8 +93809,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *335 - *336 + - *337 - name: ref in: path required: true @@ -93543,8 +93846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *335 - *336 + - *337 - *17 - *19 responses: @@ -93556,7 +93859,7 @@ paths: type: array items: *193 examples: - default: *252 + default: *253 headers: Link: *61 '404': *6 @@ -93576,8 +93879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *335 - *336 + - *337 - *19 - *17 responses: @@ -93585,7 +93888,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &657 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93597,7 +93900,7 @@ paths: required: - names examples: - default: &657 + default: &658 value: names: - octocat @@ -93620,8 +93923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -93652,9 +93955,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 '422': *7 x-github: @@ -93675,9 +93978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *335 - *336 - - &658 + - *337 + - &659 name: per description: The time frame to display results for. in: query @@ -93706,7 +94009,7 @@ paths: example: 128 clones: type: array - items: &659 + items: &660 title: Traffic type: object properties: @@ -93793,8 +94096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -93884,8 +94187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *335 - *336 + - *337 responses: '200': description: Response @@ -93945,9 +94248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *335 - *336 - - *658 + - *337 + - *659 responses: '200': description: Response @@ -93966,7 +94269,7 @@ paths: example: 3782 views: type: array - items: *659 + items: *660 required: - uniques - count @@ -94043,8 +94346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *335 - *336 + - *337 requestBody: required: true content: @@ -94318,8 +94621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *335 - *336 + - *337 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94342,8 +94645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -94365,8 +94668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -94392,8 +94695,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *335 - *336 + - *337 - name: ref in: path required: true @@ -94485,9 +94788,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94635,7 +94938,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *145 - - *544 + - *545 requestBody: required: true content: @@ -94699,9 +95002,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *547 + items: *548 examples: - default: *660 + default: *661 '400': *14 '403': *29 '404': *6 @@ -94738,7 +95041,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *145 - - *544 + - *545 requestBody: required: true content: @@ -94803,9 +95106,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *547 + items: *548 examples: - default: *660 + default: *661 '400': *14 '403': *29 '404': *6 @@ -94837,8 +95140,8 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *145 - - *544 - - *234 + - *545 + - *235 responses: '204': description: Issue field value deleted successfully @@ -94977,7 +95280,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &661 + text_matches: &662 title: Search Result Text Matches type: array items: @@ -95139,7 +95442,7 @@ paths: enum: - author-date - committer-date - - &662 + - &663 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 @@ -95210,7 +95513,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *400 + properties: *401 nullable: true comment_count: type: integer @@ -95230,7 +95533,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *522 required: - author - committer @@ -95249,7 +95552,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *400 + properties: *401 nullable: true parents: type: array @@ -95267,7 +95570,7 @@ paths: type: number node_id: type: string - text_matches: *661 + text_matches: *662 required: - sha - node_id @@ -95459,7 +95762,7 @@ paths: - interactions - created - updated - - *662 + - *663 - *17 - *19 - name: advanced_search @@ -95556,11 +95859,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: type: string state_reason: @@ -95570,8 +95873,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *272 - required: *273 + properties: *273 + required: *274 nullable: true comments: type: integer @@ -95585,7 +95888,7 @@ paths: type: string format: date-time nullable: true - text_matches: *661 + text_matches: *662 pull_request: type: object properties: @@ -95629,7 +95932,7 @@ paths: timeline_url: type: string format: uri - type: *235 + type: *236 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -95817,7 +96120,7 @@ paths: enum: - created - updated - - *662 + - *663 - *17 - *19 responses: @@ -95861,7 +96164,7 @@ paths: nullable: true score: type: number - text_matches: *661 + text_matches: *662 required: - id - node_id @@ -95946,7 +96249,7 @@ paths: - forks - help-wanted-issues - updated - - *662 + - *663 - *17 - *19 responses: @@ -96196,7 +96499,7 @@ paths: - admin - pull - push - text_matches: *661 + text_matches: *662 temp_clone_token: type: string allow_merge_commit: @@ -96496,7 +96799,7 @@ paths: type: string format: uri nullable: true - text_matches: *661 + text_matches: *662 related: type: array nullable: true @@ -96687,7 +96990,7 @@ paths: - followers - repositories - joined - - *662 + - *663 - *17 - *19 responses: @@ -96791,7 +97094,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *661 + text_matches: *662 blog: type: string nullable: true @@ -96870,7 +97173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &665 + - &666 name: team_id description: The unique identifier of the team. in: path @@ -96882,9 +97185,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 x-github: githubCloudOnly: false @@ -96911,7 +97214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *665 + - *666 requestBody: required: true content: @@ -96974,16 +97277,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '201': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *332 + default: *333 '404': *6 '422': *15 '403': *29 @@ -97011,7 +97314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *665 + - *666 responses: '204': description: Response @@ -97040,7 +97343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *665 + - *666 - *17 - *19 responses: @@ -97050,9 +97353,9 @@ paths: application/json: schema: type: array - items: *229 + items: *230 examples: - default: *230 + default: *231 headers: Link: *61 x-github: @@ -97078,7 +97381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *665 + - *666 - name: role description: Filters members returned by their role in the team. in: query @@ -97129,7 +97432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97166,7 +97469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97206,7 +97509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97243,16 +97546,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *665 + - *666 - *65 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: - response-if-user-is-a-team-maintainer: *666 + response-if-user-is-a-team-maintainer: *667 '404': *6 x-github: githubCloudOnly: false @@ -97285,7 +97588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *665 + - *666 - *65 requestBody: required: false @@ -97311,9 +97614,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - response-if-users-membership-with-team-is-now-pending: *667 + response-if-users-membership-with-team-is-now-pending: *668 '403': description: Forbidden if team synchronization is set up '422': @@ -97347,7 +97650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *665 + - *666 - *65 responses: '204': @@ -97375,7 +97678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *665 + - *666 - *17 - *19 responses: @@ -97387,7 +97690,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 '404': *6 @@ -97417,15 +97720,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *665 - - *335 + - *666 - *336 + - *337 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *668 + schema: *669 examples: alternative-response-with-extra-repository-information: value: @@ -97576,9 +97879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *665 - - *335 + - *666 - *336 + - *337 requestBody: required: false content: @@ -97628,9 +97931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *665 - - *335 + - *666 - *336 + - *337 responses: '204': description: Response @@ -97655,7 +97958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *665 + - *666 - *17 - *19 responses: @@ -97667,7 +97970,7 @@ paths: type: array items: *193 examples: - response-if-child-teams-exist: *669 + response-if-child-teams-exist: *670 headers: Link: *61 '404': *6 @@ -97700,7 +98003,7 @@ paths: application/json: schema: oneOf: - - &670 + - &671 title: Private User description: Private User type: object @@ -98215,7 +98518,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -98418,9 +98721,9 @@ paths: type: integer codespaces: type: array - items: *240 + items: *241 examples: - default: *241 + default: *242 '304': *37 '500': *115 '401': *25 @@ -98559,17 +98862,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '401': *25 '403': *29 '404': *6 @@ -98613,7 +98916,7 @@ paths: type: integer secrets: type: array - items: &671 + items: &672 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98653,7 +98956,7 @@ paths: - visibility - selected_repositories_url examples: - default: *459 + default: *460 headers: Link: *61 x-github: @@ -98729,7 +99032,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: default: value: @@ -98875,7 +99178,7 @@ paths: type: array items: *156 examples: - default: *672 + default: *194 '401': *25 '403': *29 '404': *6 @@ -99019,15 +99322,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '304': *37 '500': *115 '401': *25 @@ -99053,7 +99356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 requestBody: required: false content: @@ -99083,9 +99386,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '401': *25 '403': *29 '404': *6 @@ -99107,7 +99410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '202': *39 '304': *37 @@ -99136,7 +99439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '202': description: Response @@ -99215,7 +99518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *242 + - *243 - name: export_id in: path required: true @@ -99251,7 +99554,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *242 + - *243 responses: '200': description: Response @@ -99298,7 +99601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *242 + - *243 requestBody: required: true content: @@ -99348,13 +99651,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *339 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *457 - required: *458 + properties: *458 + required: *459 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -100128,15 +100431,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '304': *37 '500': *115 '400': *14 @@ -100168,15 +100471,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *456 + default: *457 '500': *115 '401': *25 '403': *29 @@ -100206,7 +100509,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: &687 value: @@ -101297,12 +101600,12 @@ paths: application/json: schema: anyOf: - - *227 + - *228 - type: object properties: {} additionalProperties: false examples: - default: *228 + default: *229 '204': description: Response when there are no restrictions x-github: @@ -101326,7 +101629,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *533 examples: default: value: @@ -101337,7 +101640,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -101418,7 +101721,7 @@ paths: - closed - all default: open - - *238 + - *239 - name: sort description: What to sort results by. in: query @@ -101443,7 +101746,7 @@ paths: type: array items: *79 examples: - default: *239 + default: *240 headers: Link: *61 '404': *6 @@ -101612,7 +101915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *566 + - *567 responses: '200': description: Response @@ -101643,7 +101946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *566 + - *567 responses: '204': description: Response @@ -101848,7 +102151,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -101962,7 +102265,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -102049,7 +102352,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -102121,7 +102424,7 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: default: value: @@ -102374,7 +102677,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -102554,7 +102857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *247 + - *248 - name: exclude in: query required: false @@ -102567,7 +102870,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -102761,7 +103064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *247 + - *248 responses: '302': description: Response @@ -102787,7 +103090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *247 + - *248 responses: '204': description: Response @@ -102816,7 +103119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *247 + - *248 - *685 responses: '204': @@ -102841,7 +103144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *247 + - *248 - *17 - *19 responses: @@ -102940,7 +103243,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: *687 '400': *688 @@ -102963,14 +103266,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *255 - *256 + - *257 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: default: &707 value: @@ -103085,8 +103388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *255 - *256 + - *257 responses: '204': description: Response @@ -103116,8 +103419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *255 - *256 + - *257 - name: token description: package token schema: @@ -103149,8 +103452,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: - - *255 - *256 + - *257 - *19 - *17 - name: state @@ -103170,7 +103473,7 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: default: value: @@ -103219,15 +103522,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -103263,9 +103566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 responses: '204': description: Response @@ -103295,9 +103598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 responses: '204': description: Response @@ -103753,9 +104056,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *340 + default: *341 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103794,7 +104097,7 @@ paths: application/json: schema: type: array - items: *534 + items: *535 examples: default: *690 headers: @@ -103819,7 +104122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *231 + - *232 responses: '204': description: Response @@ -103843,7 +104146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *231 + - *232 responses: '204': description: Response @@ -104409,8 +104712,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: - - *335 - *336 + - *337 responses: '204': description: Response if this repository is starred by you @@ -104438,8 +104741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -104463,8 +104766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *335 - *336 + - *337 responses: '204': description: Response @@ -104499,7 +104802,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 '304': *37 @@ -104536,7 +104839,7 @@ paths: application/json: schema: type: array - items: *331 + items: *332 examples: default: value: @@ -104622,7 +104925,7 @@ paths: application/json: schema: oneOf: - - *670 + - *671 - *697 examples: default-response: &701 @@ -104724,7 +105027,7 @@ paths: required: true schema: type: string - - *271 + - *272 requestBody: required: true description: Details of the draft item to create in the project. @@ -104758,9 +105061,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *278 examples: - draft_issue: *278 + draft_issue: *279 '304': *37 '403': *29 '401': *25 @@ -104819,7 +105122,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *699 - - *271 + - *272 requestBody: required: true content: @@ -104894,13 +105197,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *282 + value: *283 board_view: summary: Response for creating a board view with filter - value: *282 + value: *283 roadmap_view: summary: Response for creating a roadmap view - value: *282 + value: *283 '304': *37 '403': *29 '401': *25 @@ -104942,7 +105245,7 @@ paths: application/json: schema: oneOf: - - *670 + - *671 - *697 examples: default-response: *701 @@ -105225,7 +105528,7 @@ paths: initiator: type: string examples: - default: *396 + default: *397 '201': description: Response content: @@ -105264,7 +105567,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: *687 '403': *29 @@ -105756,7 +106059,7 @@ paths: application/json: schema: *22 examples: - default: *531 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105891,7 +106194,7 @@ paths: application/json: schema: type: array - items: *253 + items: *254 examples: default: *687 '403': *29 @@ -105916,15 +106219,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *255 - *256 + - *257 - *65 responses: '200': description: Response content: application/json: - schema: *253 + schema: *254 examples: default: *707 x-github: @@ -105947,8 +106250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *255 - *256 + - *257 - *65 responses: '204': @@ -105981,8 +106284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *255 - *256 + - *257 - *65 - name: token description: package token @@ -106015,8 +106318,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: - - *255 - *256 + - *257 - *65 responses: '200': @@ -106025,7 +106328,7 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: default: value: @@ -106083,16 +106386,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *255 - *256 - - *258 + - *257 + - *259 - *65 responses: '200': description: Response content: application/json: - schema: *257 + schema: *258 examples: default: value: @@ -106127,10 +106430,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *255 - *256 + - *257 - *65 - - *258 + - *259 responses: '204': description: Response @@ -106162,10 +106465,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *255 - *256 + - *257 - *65 - - *258 + - *259 responses: '204': description: Response @@ -106206,9 +106509,9 @@ paths: application/json: schema: type: array - items: *269 + items: *270 examples: - default: *270 + default: *271 headers: Link: *61 '304': *37 @@ -106230,16 +106533,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *271 + - *272 - *65 responses: '200': description: Response content: application/json: - schema: *269 + schema: *270 examples: - default: *270 + default: *271 headers: Link: *61 '304': *37 @@ -106261,7 +106564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *271 + - *272 - *65 - *17 - *47 @@ -106273,7 +106576,7 @@ paths: application/json: schema: type: array - items: *275 + items: *276 examples: default: *708 headers: @@ -106297,7 +106600,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *65 - - *271 + - *272 requestBody: required: true content: @@ -106380,7 +106683,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: text_field: *713 number_field: *714 @@ -106407,7 +106710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *271 + - *272 - *718 - *65 responses: @@ -106415,7 +106718,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *276 examples: default: *719 headers: @@ -106440,7 +106743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *271 + - *272 - *65 - *47 - *48 @@ -106473,9 +106776,9 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -106497,7 +106800,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *65 - - *271 + - *272 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -106567,22 +106870,22 @@ paths: description: Response content: application/json: - schema: *277 + schema: *278 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *278 + value: *279 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *278 + value: *279 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *278 + value: *279 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *278 + value: *279 '304': *37 '403': *29 '401': *25 @@ -106602,9 +106905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *271 + - *272 - *65 - - *281 + - *282 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106624,9 +106927,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -106647,9 +106950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *271 + - *272 - *65 - - *281 + - *282 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -106719,13 +107022,13 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - text_field: *280 - number_field: *280 - date_field: *280 - single_select_field: *280 - iteration_field: *280 + text_field: *281 + number_field: *281 + date_field: *281 + single_select_field: *281 + iteration_field: *281 '401': *25 '403': *29 '404': *6 @@ -106745,9 +107048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *271 + - *272 - *65 - - *281 + - *282 responses: '204': description: Response @@ -106769,7 +107072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *271 + - *272 - *65 - *720 - name: fields @@ -106797,9 +107100,9 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: - default: *280 + default: *281 headers: Link: *61 '304': *37 @@ -107020,7 +107323,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 x-github: @@ -107518,7 +107821,7 @@ paths: type: array items: *156 examples: - default: *266 + default: *267 headers: Link: *61 x-github: @@ -113106,7 +113409,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113429,7 +113732,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113759,7 +114062,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114101,7 +114404,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114371,7 +114674,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114652,7 +114955,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114963,7 +115266,7 @@ x-webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115552,7 +115855,7 @@ x-webhooks: type: string enum: - created - definition: *283 + definition: *284 enterprise: *728 installation: *729 organization: *730 @@ -115719,7 +116022,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *283 + definition: *284 enterprise: *728 installation: *729 organization: *730 @@ -115799,7 +116102,7 @@ x-webhooks: type: string enum: - updated - definition: *283 + definition: *284 enterprise: *728 installation: *729 organization: *730 @@ -115887,11 +116190,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *287 + items: *288 old_property_values: type: array description: The old custom property values for the repository. - items: *287 + items: *288 required: - action - repository @@ -116058,7 +116361,7 @@ x-webhooks: type: string enum: - assignees_changed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116142,7 +116445,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116227,7 +116530,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116312,7 +116615,7 @@ x-webhooks: type: string enum: - created - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116395,7 +116698,7 @@ x-webhooks: type: string enum: - dismissed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116478,7 +116781,7 @@ x-webhooks: type: string enum: - fixed - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116562,7 +116865,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -116645,7 +116948,7 @@ x-webhooks: type: string enum: - reopened - alert: *490 + alert: *491 installation: *729 organization: *730 enterprise: *728 @@ -118153,7 +118456,7 @@ x-webhooks: nullable: true pull_requests: type: array - items: *585 + items: *586 repository: *731 organization: *730 installation: *729 @@ -126234,8 +126537,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true user: title: User @@ -127110,8 +127413,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127127,7 +127430,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -127698,8 +128001,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *562 - required: *563 + properties: *563 + required: *564 nullable: true required: - url @@ -128500,8 +128803,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128517,7 +128820,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -129735,8 +130038,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129752,7 +130055,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -130959,8 +131262,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130976,7 +131279,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -132184,8 +132487,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132201,7 +132504,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -133775,11 +134078,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133795,7 +134098,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -134775,11 +135078,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134795,7 +135098,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -135900,11 +136203,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135920,7 +136223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -136911,11 +137214,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136931,7 +137234,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -138041,11 +138344,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138058,7 +138361,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *235 + type: *236 title: description: Title of the issue type: string @@ -139036,11 +139339,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139053,7 +139356,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *235 + type: *236 title: description: Title of the issue type: string @@ -140055,11 +140358,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140072,7 +140375,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *235 + type: *236 title: description: Title of the issue type: string @@ -141043,11 +141346,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141366,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -142006,11 +142309,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142111,7 +142414,7 @@ x-webhooks: required: - login - id - type: *235 + type: *236 required: - id - number @@ -143380,11 +143683,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143400,7 +143703,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -144377,11 +144680,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144397,7 +144700,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -145391,11 +145694,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145489,7 +145792,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *235 + type: *236 organization: *730 repository: *731 sender: *4 @@ -146360,11 +146663,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146380,7 +146683,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -147050,7 +147353,7 @@ x-webhooks: enterprise: *728 installation: *729 issue: *757 - type: *235 + type: *236 organization: *730 repository: *731 sender: *4 @@ -148185,11 +148488,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *663 - issue_dependencies_summary: *664 + sub_issues_summary: *664 + issue_dependencies_summary: *665 issue_field_values: type: array - items: *547 + items: *548 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148205,7 +148508,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *235 + type: *236 updated_at: type: string format: date-time @@ -148450,7 +148753,7 @@ x-webhooks: enterprise: *728 installation: *729 issue: *757 - type: *235 + type: *236 organization: *730 repository: *731 sender: *4 @@ -156153,7 +156456,7 @@ x-webhooks: - closed installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156236,7 +156539,7 @@ x-webhooks: - created installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156319,7 +156622,7 @@ x-webhooks: - deleted installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156438,7 +156741,7 @@ x-webhooks: type: string installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -156555,7 +156858,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *276 + content_type: *277 creator: *4 created_at: type: string @@ -157289,7 +157592,7 @@ x-webhooks: - reopened installation: *729 organization: *730 - projects_v2: *269 + projects_v2: *270 sender: *4 required: - action @@ -164890,7 +165193,7 @@ x-webhooks: organization: *730 pull_request: &781 allOf: - - *585 + - *586 - type: object properties: allow_auto_merge: @@ -165119,7 +165422,7 @@ x-webhooks: enum: - demilestoned enterprise: *728 - milestone: *569 + milestone: *570 number: *780 organization: *730 pull_request: &782 @@ -177143,7 +177446,7 @@ x-webhooks: enum: - milestoned enterprise: *728 - milestone: *569 + milestone: *570 number: *780 organization: *730 pull_request: *782 @@ -219378,7 +219681,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_advisory: *649 + repository_advisory: *650 sender: *4 required: - action @@ -219458,7 +219761,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_advisory: *649 + repository_advisory: *650 sender: *4 required: - action @@ -220320,7 +220623,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_ruleset: *317 + repository_ruleset: *318 sender: *4 required: - action @@ -220402,7 +220705,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_ruleset: *317 + repository_ruleset: *318 sender: *4 required: - action @@ -220484,7 +220787,7 @@ x-webhooks: installation: *729 organization: *730 repository: *731 - repository_ruleset: *317 + repository_ruleset: *318 changes: type: object properties: @@ -220503,16 +220806,16 @@ x-webhooks: properties: added: type: array - items: *291 + items: *292 deleted: type: array - items: *291 + items: *292 updated: type: array items: type: object properties: - condition: *291 + condition: *292 changes: type: object properties: @@ -220545,16 +220848,16 @@ x-webhooks: properties: added: type: array - items: *605 + items: *606 deleted: type: array - items: *605 + items: *606 updated: type: array items: type: object properties: - rule: *605 + rule: *606 changes: type: object properties: @@ -223140,11 +223443,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *290 + security_and_analysis: *291 enterprise: *728 installation: *729 organization: *730 - repository: *338 + repository: *339 sender: *4 required: - changes @@ -228367,7 +228670,7 @@ x-webhooks: type: string required: - conclusion - deployment: *496 + deployment: *497 required: - action - repository @@ -228709,7 +229012,7 @@ x-webhooks: required: - status - steps - deployment: *496 + deployment: *497 required: - action - repository @@ -228926,7 +229229,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *496 + deployment: *497 required: - action - repository @@ -229144,7 +229447,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *496 + deployment: *497 required: - action - repository diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 6b9e9e715..89770ca96 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -5082,6 +5082,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.", @@ -6067,6 +6075,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.", @@ -6920,6 +6936,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.", @@ -7390,6 +7414,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.", @@ -9539,1042 +9571,1058 @@ "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", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { - "type": "boolean", - "example": true - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "account": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ], - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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", - "items": { - "type": "string" - }, - "nullable": true - }, - "token": { - "type": "string" - }, - "token_last_eight": { - "type": "string", - "nullable": true - }, - "hashed_token": { - "type": "string", - "nullable": true - }, - "app": { - "type": "object", - "properties": { - "client_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "client_id", - "name", - "url" - ] - }, - "note": { - "type": "string", - "nullable": true - }, - "note_url": { - "type": "string", - "format": "uri", - "nullable": true - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "fingerprint": { - "type": "string", - "nullable": true - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "installation": { - "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": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "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", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "account": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "permissions", + "repository_selection", + "single_file_name", + "repositories_url", + "account" + ], + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "items": { + "type": "string" + }, + "nullable": true + }, + "token": { + "type": "string" + }, + "token_last_eight": { + "type": "string", + "nullable": true + }, + "hashed_token": { + "type": "string", + "nullable": true + }, + "app": { + "type": "object", + "properties": { + "client_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "client_id", + "name", + "url" + ] + }, + "note": { + "type": "string", + "nullable": true + }, + "note_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "fingerprint": { + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "installation": { + "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" ] }, - "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.", @@ -11528,6 +11576,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.", @@ -12192,6 +12248,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.", @@ -110587,26 +110651,2371 @@ } }, "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": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": [ { @@ -110617,71 +113026,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": { @@ -110706,8 +113093,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -110732,8 +113119,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -110758,8 +113145,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -110783,16 +113170,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" } } }, @@ -131779,6 +134163,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.", @@ -132779,6 +135171,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.", @@ -369253,6 +371653,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.", @@ -605467,6 +607875,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.", @@ -683681,6 +686097,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.", @@ -880048,6 +882472,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.", @@ -882685,6 +885117,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.", @@ -885229,6 +887669,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.", @@ -887773,6 +890221,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.", @@ -890449,6 +892905,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.", @@ -893132,6 +895596,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.", @@ -897483,6 +899955,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index e50040a32..a336a0899 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -879,7 +879,7 @@ paths: - subscriptions_url - type - url - type: &325 + type: &326 type: string description: The type of credit the user is receiving. enum: @@ -1072,7 +1072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &654 + - &655 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1628,7 +1628,7 @@ paths: schema: type: integer default: 30 - - &211 + - &212 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 @@ -1644,7 +1644,7 @@ paths: application/json: schema: type: array - items: &212 + items: &213 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1724,7 +1724,7 @@ paths: - installation_id - repository_id examples: - default: &213 + default: &214 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1852,7 +1852,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &215 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1966,7 +1966,7 @@ paths: - request - response examples: - default: &215 + default: &216 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2492,6 +2492,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 @@ -2943,7 +2951,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &289 + properties: &290 id: description: Unique identifier of the repository example: 42 @@ -3399,7 +3407,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &290 + required: &291 - archive_url - assignees_url - blobs_url @@ -3473,7 +3481,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &291 + x-github-breaking-changes: &292 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -9078,7 +9086,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &194 + - &195 name: state in: query description: |- @@ -9087,7 +9095,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &196 name: severity in: query description: |- @@ -9096,7 +9104,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &197 name: ecosystem in: query description: |- @@ -9105,14 +9113,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &198 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 - - &198 + - &199 name: epss_percentage in: query description: |- @@ -9124,7 +9132,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 - - &488 + - &489 name: has in: query description: |- @@ -9138,7 +9146,7 @@ paths: type: string enum: - patch - - &199 + - &200 name: assignee in: query description: |- @@ -9147,7 +9155,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &200 + - &201 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9157,7 +9165,7 @@ paths: enum: - development - runtime - - &201 + - &202 name: sort in: query description: |- @@ -9183,7 +9191,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 type: object description: A Dependabot alert. properties: @@ -9249,7 +9257,7 @@ paths: - unknown - direct - transitive - security_advisory: &489 + security_advisory: &490 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9530,14 +9538,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &490 + auto_dismissed_at: &491 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &491 + dismissal_request: &492 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9599,7 +9607,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &204 value: - number: 2 state: dismissed @@ -11302,7 +11310,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &542 + properties: &543 id: type: integer format: int64 @@ -11415,7 +11423,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &273 + properties: &274 url: type: string format: uri @@ -11485,7 +11493,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &274 + required: &275 - closed_issues - creator - description @@ -11564,7 +11572,7 @@ paths: timeline_url: type: string format: uri - type: &236 + type: &237 title: Issue Type description: The type of issue. type: object @@ -11678,7 +11686,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &666 + sub_issues_summary: &667 title: Sub-issues Summary type: object properties: @@ -11765,7 +11773,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &565 + properties: &566 pinned_at: type: string format: date-time @@ -11777,7 +11785,7 @@ paths: properties: *20 required: *21 nullable: true - required: &566 + required: &567 - pinned_at - pinned_by nullable: true @@ -11791,7 +11799,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &667 + issue_dependencies_summary: &668 title: Issue Dependencies Summary type: object properties: @@ -11810,7 +11818,7 @@ paths: - total_blocking issue_field_values: type: array - items: &550 + items: &551 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11871,7 +11879,7 @@ paths: - node_id - data_type - value - required: &543 + required: &544 - assignee - closed_at - comments @@ -11892,7 +11900,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &544 + x-github-breaking-changes: &545 - changeset: deprecate_beta_media_type patch: properties: @@ -11952,7 +11960,7 @@ paths: action: type: string issue: *79 - comment: &538 + comment: &539 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12618,7 +12626,7 @@ paths: type: string release: allOf: - - &599 + - &600 title: Release description: A release. type: object @@ -12689,7 +12697,7 @@ paths: author: *4 assets: type: array - items: &600 + items: &601 title: Release Asset description: Data related to a release. type: object @@ -13309,7 +13317,7 @@ paths: url: type: string format: uri - user: &673 + user: &674 title: Public User description: Public User type: object @@ -15189,7 +15197,7 @@ paths: - closed - all default: open - - &239 + - &240 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15240,7 +15248,7 @@ paths: type: array items: *79 examples: - default: &240 + default: &241 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16625,14 +16633,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &337 + - &338 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &338 + - &339 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16694,7 +16702,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &341 + '301': &342 description: Moved permanently content: application/json: @@ -16716,7 +16724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &575 + - &576 name: all description: If `true`, show notifications marked as read. in: query @@ -16724,7 +16732,7 @@ paths: schema: type: boolean default: false - - &576 + - &577 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16734,7 +16742,7 @@ paths: type: boolean default: false - *86 - - &577 + - &578 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: @@ -16770,7 +16778,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &205 + properties: &206 id: type: integer format: int64 @@ -17058,7 +17066,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &292 + security_and_analysis: &293 nullable: true type: object properties: @@ -17171,7 +17179,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &206 + required: &207 - archive_url - assignees_url - blobs_url @@ -17218,7 +17226,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &207 + x-github-breaking-changes: &208 - changeset: remove_has_downloads patch: properties: @@ -17265,7 +17273,7 @@ paths: - url - subscription_url examples: - default: &578 + default: &579 value: - id: '1' repository: @@ -20008,7 +20016,7 @@ paths: type: integer repository_cache_usages: type: array - items: &348 + items: &349 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21314,7 +21322,7 @@ paths: - all - local_only - selected - selected_actions_url: &354 + selected_actions_url: &355 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` @@ -21397,7 +21405,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &359 type: object properties: days: @@ -21439,7 +21447,7 @@ paths: required: true content: application/json: - schema: &359 + schema: &360 type: object properties: days: @@ -21496,7 +21504,7 @@ paths: required: - approval_policy examples: - default: &360 + default: &361 value: approval_policy: first_time_contributors '404': *6 @@ -21555,7 +21563,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 type: object required: - run_workflows_from_fork_pull_requests @@ -21609,7 +21617,7 @@ paths: required: true content: application/json: - schema: &362 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -22244,7 +22252,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &364 type: object properties: default_workflow_permissions: &149 @@ -22295,7 +22303,7 @@ paths: required: false content: application/json: - schema: &364 + schema: &365 type: object properties: default_workflow_permissions: *149 @@ -22784,7 +22792,7 @@ paths: type: array items: *156 examples: - default: &676 + default: &194 value: total_count: 1 repositories: @@ -23426,7 +23434,7 @@ paths: application/json: schema: type: array - items: &365 + items: &366 title: Runner Application description: Runner Application type: object @@ -23451,7 +23459,7 @@ paths: - download_url - filename examples: - default: &366 + default: &367 value: - os: osx architecture: x64 @@ -23537,7 +23545,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &367 + '201': &368 description: Response content: application/json: @@ -23648,7 +23656,7 @@ paths: - token - expires_at examples: - default: &368 + default: &369 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23687,7 +23695,7 @@ paths: application/json: schema: *160 examples: - default: &369 + default: &370 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23721,7 +23729,7 @@ paths: application/json: schema: *158 examples: - default: &370 + default: &371 value: id: 23 name: MBP @@ -23947,7 +23955,7 @@ paths: - *69 - *157 responses: - '200': &371 + '200': &372 description: Response content: application/json: @@ -24004,7 +24012,7 @@ paths: parameters: - *69 - *157 - - &372 + - &373 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24134,7 +24142,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &385 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24163,7 +24171,7 @@ paths: - key_id - key examples: - default: &385 + default: &386 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24576,7 +24584,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *69 - - &353 + - &354 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)." @@ -26154,7 +26162,7 @@ paths: initiator: type: string examples: - default: &398 + default: &399 value: attestations: - bundle: @@ -26519,7 +26527,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &251 + properties: &252 id: description: Unique identifier of the team type: integer @@ -26591,7 +26599,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &252 + required: &253 - id - node_id - url @@ -27097,7 +27105,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *69 - - &423 + - &424 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`, @@ -27107,7 +27115,7 @@ paths: schema: &181 type: string description: The name of the tool used to generate the code scanning analysis. - - &424 + - &425 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 @@ -27130,7 +27138,7 @@ paths: be returned. in: query required: false - schema: &426 + schema: &427 type: string description: State of a code scanning alert. enum: @@ -27153,7 +27161,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &428 type: string description: Severity of a code scanning alert. enum: @@ -27187,7 +27195,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: &428 + instances_url: &429 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27210,7 +27218,7 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: &429 + dismissed_reason: &430 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -27219,13 +27227,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &430 + dismissed_comment: &431 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &431 + rule: &432 type: object properties: id: @@ -27278,7 +27286,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &432 + tool: &433 type: object properties: name: *181 @@ -27288,26 +27296,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *182 - most_recent_instance: &433 + most_recent_instance: &434 type: object properties: - ref: &425 + ref: &426 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &443 + analysis_key: &444 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: &444 + environment: &445 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: &445 + category: &446 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27321,7 +27329,7 @@ paths: properties: text: type: string - location: &446 + location: &447 type: object description: Describe a region within a file for the alert. properties: @@ -27342,7 +27350,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: &447 + items: &448 type: string description: A classification of the file. For example to identify it as generated. @@ -28633,7 +28641,7 @@ paths: type: integer codespaces: type: array - items: &241 + items: &242 type: object title: Codespace description: A codespace. @@ -28663,7 +28671,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &459 + properties: &460 name: type: string description: The name of the machine. @@ -28705,7 +28713,7 @@ paths: - ready - in_progress nullable: true - required: &460 + required: &461 - name - display_name - operating_system @@ -28910,7 +28918,7 @@ paths: - pulls_url - recent_folders examples: - default: &242 + default: &243 value: total_count: 3 codespaces: @@ -29573,7 +29581,7 @@ paths: - updated_at - visibility examples: - default: &461 + default: &462 value: total_count: 2 secrets: @@ -29611,7 +29619,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &463 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29640,7 +29648,7 @@ paths: - key_id - key examples: - default: &463 + default: &464 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29672,7 +29680,7 @@ paths: application/json: schema: *190 examples: - default: &465 + default: &466 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30139,7 +30147,7 @@ paths: currently being billed. seats: type: array - items: &244 + items: &245 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30614,6 +30622,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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '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: + - *69 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *156 + required: + - total_count + - repositories + examples: + default: *194 + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + 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: + - *69 + 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': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + '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: + - *69 + - *145 + responses: + '204': + description: No Content + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + '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: + - *69 + - *145 + responses: + '204': + description: No Content + '500': *115 + '401': *25 + '403': *29 + '404': *6 + '409': *54 + 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 @@ -30815,7 +31118,7 @@ paths: application/json: schema: type: array - items: &330 + items: &331 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31122,7 +31425,7 @@ paths: - date additionalProperties: true examples: - default: &331 + default: &332 value: - date: '2024-06-24' total_active_users: 24 @@ -31224,7 +31527,7 @@ paths: '500': *115 '403': *29 '404': *6 - '422': &332 + '422': &333 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -31252,11 +31555,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *69 - - *194 - *195 - *196 - *197 - *198 + - *199 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31286,7 +31589,7 @@ paths: enum: - patch - deployment - - *199 + - *200 - name: runtime_risk in: query description: |- @@ -31295,8 +31598,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *200 - *201 + - *202 - *55 - *47 - *48 @@ -31308,9 +31611,9 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *203 + default: *204 '304': *37 '400': *14 '403': *29 @@ -31354,7 +31657,7 @@ paths: type: integer secrets: type: array - items: &204 + items: &205 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31431,7 +31734,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &495 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31448,7 +31751,7 @@ paths: - key_id - key examples: - default: &495 + default: &496 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31478,7 +31781,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -31785,7 +32088,7 @@ paths: application/json: schema: type: array - items: &254 + items: &255 title: Package description: A software package type: object @@ -31835,9 +32138,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *205 - required: *206 - x-github-breaking-changes: *207 + properties: *206 + required: *207 + x-github-breaking-changes: *208 nullable: true created_at: type: string @@ -31856,7 +32159,7 @@ paths: - created_at - updated_at examples: - default: &255 + default: &256 value: - id: 197 name: hello_docker @@ -32026,7 +32329,7 @@ paths: application/json: schema: type: array - items: &230 + items: &231 title: Organization Invitation description: Organization Invitation type: object @@ -32073,7 +32376,7 @@ paths: - invitation_teams_url - node_id examples: - default: &231 + default: &232 value: - id: 1 login: monalisa @@ -32140,7 +32443,7 @@ paths: application/json: schema: type: array - items: &208 + items: &209 title: Org Hook description: Org Hook type: object @@ -32311,9 +32614,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *209 examples: - default: &209 + default: &210 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32361,7 +32664,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *69 - - &210 + - &211 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. @@ -32374,9 +32677,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *209 examples: - default: *209 + default: *210 '404': *6 x-github: githubCloudOnly: false @@ -32404,7 +32707,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *69 - - *210 + - *211 requestBody: required: false content: @@ -32449,7 +32752,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *209 examples: default: value: @@ -32491,7 +32794,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *69 - - *210 + - *211 responses: '204': description: Response @@ -32519,7 +32822,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *69 - - *210 + - *211 responses: '200': description: Response @@ -32550,7 +32853,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *69 - - *210 + - *211 requestBody: required: false content: @@ -32601,9 +32904,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *69 - - *210 - - *17 - *211 + - *17 + - *212 responses: '200': description: Response @@ -32611,9 +32914,9 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: - default: *213 + default: *214 '400': *14 '422': *15 x-github: @@ -32639,16 +32942,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *69 - - *210 + - *211 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *215 + default: *216 '400': *14 '422': *15 x-github: @@ -32674,7 +32977,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *69 - - *210 + - *211 - *16 responses: '202': *39 @@ -32704,7 +33007,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *69 - - *210 + - *211 responses: '204': description: Response @@ -32727,7 +33030,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *69 - - &220 + - &221 name: actor_type in: path description: The type of the actor @@ -32740,14 +33043,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &221 + - &222 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &216 + - &217 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`.' @@ -32755,7 +33058,7 @@ paths: required: true schema: type: string - - &217 + - &218 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) @@ -32849,12 +33152,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *69 - - *216 - *217 + - *218 - *19 - *17 - *55 - - &226 + - &227 name: sort description: The property to sort the results by. in: query @@ -32932,14 +33235,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *69 - - *216 - *217 + - *218 responses: '200': description: Response content: application/json: - schema: &218 + schema: &219 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32955,7 +33258,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &220 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32976,23 +33279,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *69 - - &222 + - &223 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *216 - *217 + - *218 responses: '200': description: Response content: application/json: - schema: *218 + schema: *219 examples: - default: *219 + default: *220 x-github: enabledForGitHubApps: true category: orgs @@ -33011,18 +33314,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *69 - - *216 - *217 - - *220 + - *218 - *221 + - *222 responses: '200': description: Response content: application/json: - schema: *218 + schema: *219 examples: - default: *219 + default: *220 x-github: enabledForGitHubApps: true category: orgs @@ -33040,9 +33343,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *69 - - *216 - *217 - - &223 + - *218 + - &224 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33055,7 +33358,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &225 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33071,7 +33374,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &226 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33108,18 +33411,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *69 - - *222 - - *216 - - *217 - *223 + - *217 + - *218 + - *224 responses: '200': description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *225 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -33137,19 +33440,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *69 - - *220 - *221 - - *216 + - *222 - *217 - - *223 + - *218 + - *224 responses: '200': description: Response content: application/json: - schema: *224 + schema: *225 examples: - default: *225 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -33167,13 +33470,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *69 - - *222 - - *216 + - *223 - *217 + - *218 - *19 - *17 - *55 - - *226 + - *227 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33254,7 +33557,7 @@ paths: application/json: schema: *22 examples: - default: &533 + default: &534 value: id: 1 account: @@ -33420,12 +33723,12 @@ paths: application/json: schema: anyOf: - - &228 + - &229 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &227 + limit: &228 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33450,7 +33753,7 @@ paths: properties: {} additionalProperties: false examples: - default: &229 + default: &230 value: limit: collaborators_only origin: organization @@ -33479,13 +33782,13 @@ paths: required: true content: application/json: - schema: &534 + schema: &535 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *227 + limit: *228 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33509,9 +33812,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 '422': *15 x-github: githubCloudOnly: false @@ -33587,9 +33890,9 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: *231 + default: *232 headers: Link: *61 '404': *6 @@ -33666,7 +33969,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *231 examples: default: value: @@ -33721,7 +34024,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *69 - - &232 + - &233 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33752,7 +34055,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *69 - - *232 + - *233 - *17 - *19 responses: @@ -33764,7 +34067,7 @@ paths: type: array items: *193 examples: - default: &253 + default: &254 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33807,7 +34110,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -34040,9 +34343,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &234 + default: &235 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -34098,7 +34401,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *69 - - &235 + - &236 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -34197,9 +34500,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 '404': *6 '422': *7 x-github: @@ -34224,7 +34527,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *69 - - *235 + - *236 responses: '204': *187 '404': *6 @@ -34254,7 +34557,7 @@ paths: application/json: schema: type: array - items: *236 + items: *237 examples: default: value: @@ -34339,9 +34642,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *237 examples: - default: &237 + default: &238 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34374,7 +34677,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *69 - - &238 + - &239 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34427,9 +34730,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *237 examples: - default: *237 + default: *238 '404': *6 '422': *7 x-github: @@ -34454,7 +34757,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *69 - - *238 + - *239 responses: '204': description: Response @@ -34517,7 +34820,7 @@ paths: - closed - all default: open - - *239 + - *240 - name: type description: Can be the name of an issue type. in: query @@ -34548,7 +34851,7 @@ paths: type: array items: *79 examples: - default: *240 + default: *241 headers: Link: *61 '404': *6 @@ -34713,9 +35016,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *242 examples: - default: *242 + default: *243 '304': *37 '500': *115 '401': *25 @@ -34742,7 +35045,7 @@ paths: parameters: - *69 - *65 - - &243 + - &244 name: codespace_name in: path required: true @@ -34777,15 +35080,15 @@ paths: parameters: - *69 - *65 - - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: &458 + default: &459 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34965,7 +35268,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *244 + schema: *245 examples: default: value: @@ -35041,7 +35344,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &246 title: Org Membership description: Org Membership type: object @@ -35108,7 +35411,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &247 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35209,9 +35512,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *247 '422': *15 '403': *29 x-github: @@ -35288,7 +35591,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Migration description: A migration. type: object @@ -35628,7 +35931,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -35807,7 +36110,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *69 - - &248 + - &249 name: migration_id description: The unique identifier of the migration. in: path @@ -35834,7 +36137,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -36004,7 +36307,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *69 - - *248 + - *249 responses: '302': description: Response @@ -36026,7 +36329,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *69 - - *248 + - *249 responses: '204': description: Response @@ -36050,7 +36353,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *69 - - *248 + - *249 - &689 name: repo_name description: repo_name parameter @@ -36079,7 +36382,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *69 - - *248 + - *249 - *17 - *19 responses: @@ -36091,7 +36394,7 @@ paths: type: array items: *156 examples: - default: &260 + default: &261 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36264,7 +36567,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &250 + items: &251 title: Organization Role description: Organization roles type: object @@ -36439,7 +36742,7 @@ paths: parameters: - *69 - *71 - - &249 + - &250 name: role_id description: The unique identifier of the role. in: path @@ -36476,7 +36779,7 @@ paths: parameters: - *69 - *71 - - *249 + - *250 responses: '204': description: Response @@ -36529,7 +36832,7 @@ paths: parameters: - *69 - *65 - - *249 + - *250 responses: '204': description: Response @@ -36561,7 +36864,7 @@ paths: parameters: - *69 - *65 - - *249 + - *250 responses: '204': description: Response @@ -36590,13 +36893,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *69 - - *249 + - *250 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -36647,7 +36950,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *69 - - *249 + - *250 - *17 - *19 responses: @@ -36725,8 +37028,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *252 + required: *253 nullable: true type: description: The ownership type of the team @@ -36758,7 +37061,7 @@ paths: - type - parent examples: - default: *253 + default: *254 headers: Link: *61 '404': @@ -36788,7 +37091,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *69 - - *249 + - *250 - *17 - *19 responses: @@ -36816,13 +37119,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &326 + items: &327 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *252 + required: *253 name: nullable: true type: string @@ -37146,9 +37449,9 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: - default: *255 + default: *256 '403': *29 '401': *25 '400': &692 @@ -37173,7 +37476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &256 + - &257 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 @@ -37191,7 +37494,7 @@ paths: - docker - nuget - container - - &257 + - &258 name: package_name description: The name of the package. in: path @@ -37204,7 +37507,7 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: default: value: @@ -37256,8 +37559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *256 - *257 + - *258 - *69 responses: '204': @@ -37290,8 +37593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *256 - *257 + - *258 - *69 - name: token description: package token @@ -37324,8 +37627,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: - - *256 - *257 + - *258 - *69 - *19 - *17 @@ -37346,7 +37649,7 @@ paths: application/json: schema: type: array - items: &258 + items: &259 title: Package Version description: A version of a software package type: object @@ -37471,10 +37774,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *256 - *257 + - *258 - *69 - - &259 + - &260 name: package_version_id description: Unique identifier of the package version. in: path @@ -37486,7 +37789,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -37522,10 +37825,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *256 - *257 + - *258 - *69 - - *259 + - *260 responses: '204': description: Response @@ -37557,10 +37860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *256 - *257 + - *258 - *69 - - *259 + - *260 responses: '204': description: Response @@ -37590,7 +37893,7 @@ paths: - *69 - *17 - *19 - - &261 + - &262 name: sort description: The property by which to sort the results. in: query @@ -37601,7 +37904,7 @@ paths: - created_at default: created_at - *55 - - &262 + - &263 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37612,7 +37915,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &263 + - &264 name: repository description: The name of the repository to use to filter the results. in: query @@ -37620,7 +37923,7 @@ paths: schema: type: string example: Hello-World - - &264 + - &265 name: permission description: The permission to use to filter the results. in: query @@ -37628,7 +37931,7 @@ paths: schema: type: string example: issues_read - - &265 + - &266 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) @@ -37638,7 +37941,7 @@ paths: schema: type: string format: date-time - - &266 + - &267 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) @@ -37648,7 +37951,7 @@ paths: schema: type: string format: date-time - - &267 + - &268 name: token_id description: The ID of the token in: query @@ -37961,7 +38264,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 x-github: @@ -37987,14 +38290,14 @@ paths: - *69 - *17 - *19 - - *261 - - *55 - *262 + - *55 - *263 - *264 - *265 - *266 - *267 + - *268 responses: '500': *115 '422': *15 @@ -38276,7 +38579,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 x-github: @@ -38318,7 +38621,7 @@ paths: type: integer configurations: type: array - items: &268 + items: &269 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38608,7 +38911,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &269 + org-private-registry-with-selected-visibility: &270 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38704,9 +39007,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *268 + schema: *269 examples: - default: *269 + default: *270 '404': *6 x-github: githubCloudOnly: false @@ -38873,7 +39176,7 @@ paths: application/json: schema: type: array - items: &270 + items: &271 title: Projects v2 Project description: A projects v2 project type: object @@ -39016,7 +39319,7 @@ paths: - deleted_at - deleted_by examples: - default: &271 + default: &272 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -39119,7 +39422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &272 + - &273 name: project_number description: The project's number. in: path @@ -39132,9 +39435,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: *271 + default: *272 headers: Link: *61 '304': *37 @@ -39157,7 +39460,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *69 - - *272 + - *273 requestBody: required: true description: Details of the draft item to create in the project. @@ -39191,7 +39494,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &279 title: Projects v2 Item description: An item belonging to a project type: object @@ -39205,7 +39508,7 @@ paths: content: oneOf: - *79 - - &475 + - &476 title: Pull Request Simple description: Pull Request Simple type: object @@ -39311,8 +39614,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true active_lock_reason: type: string @@ -39405,7 +39708,7 @@ paths: _links: type: object properties: - comments: &275 + comments: &276 title: Link description: Hypermedia Link type: object @@ -39414,13 +39717,13 @@ paths: type: string required: - href - commits: *275 - statuses: *275 - html: *275 - issue: *275 - review_comments: *275 - review_comment: *275 - self: *275 + commits: *276 + statuses: *276 + html: *276 + issue: *276 + review_comments: *276 + review_comment: *276 + self: *276 required: - comments - commits @@ -39431,7 +39734,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &585 + auto_merge: &586 title: Auto merge description: The status of auto merging a pull request. type: object @@ -39605,7 +39908,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &277 + content_type: &278 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39645,7 +39948,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &279 + draft_issue: &280 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39719,7 +40022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *272 + - *273 - *69 - *17 - *47 @@ -39731,7 +40034,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -40011,7 +40314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *272 + - *273 - *69 requestBody: required: true @@ -40196,7 +40499,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *276 + schema: *277 examples: text_field: &716 value: @@ -40304,7 +40607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *272 + - *273 - &721 name: field_id description: The unique identifier of the field. @@ -40318,7 +40621,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: default: &722 value: @@ -40376,7 +40679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *272 + - *273 - *69 - 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) @@ -40409,7 +40712,7 @@ paths: application/json: schema: type: array - items: &280 + items: &281 title: Projects v2 Item description: An item belonging to a project type: object @@ -40425,7 +40728,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *277 + content_type: *278 content: type: object additionalProperties: true @@ -40468,7 +40771,7 @@ paths: - updated_at - archived_at examples: - default: &281 + default: &282 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -41166,7 +41469,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *69 - - *272 + - *273 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -41236,22 +41539,22 @@ paths: description: Response content: application/json: - schema: *278 + schema: *279 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *279 + value: *280 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *279 + value: *280 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *279 + value: *280 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *279 + value: *280 '304': *37 '403': *29 '401': *25 @@ -41271,9 +41574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *272 + - *273 - *69 - - &282 + - &283 name: item_id description: The unique identifier of the project item. in: path @@ -41299,9 +41602,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *281 + default: *282 headers: Link: *61 '304': *37 @@ -41322,9 +41625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *272 + - *273 - *69 - - *282 + - *283 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41394,13 +41697,13 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - text_field: *281 - number_field: *281 - date_field: *281 - single_select_field: *281 - iteration_field: *281 + text_field: *282 + number_field: *282 + date_field: *282 + single_select_field: *282 + iteration_field: *282 '401': *25 '403': *29 '404': *6 @@ -41420,9 +41723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *272 + - *273 - *69 - - *282 + - *283 responses: '204': description: Response @@ -41446,7 +41749,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *69 - - *272 + - *273 requestBody: required: true content: @@ -41615,7 +41918,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &283 + value: &284 value: id: 1 number: 1 @@ -41661,10 +41964,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *283 + value: *284 roadmap_view: summary: Response for creating a roadmap view - value: *283 + value: *284 '304': *37 '403': *29 '401': *25 @@ -41692,7 +41995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *272 + - *273 - *69 - &723 name: view_number @@ -41726,9 +42029,9 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: - default: *281 + default: *282 headers: Link: *61 '304': *37 @@ -41761,7 +42064,7 @@ paths: application/json: schema: type: array - items: &284 + items: &285 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41829,7 +42132,7 @@ paths: - property_name - value_type examples: - default: &285 + default: &286 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41889,7 +42192,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *284 + items: *285 minItems: 1 maxItems: 100 required: @@ -41919,9 +42222,9 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: - default: *285 + default: *286 '403': *29 '404': *6 x-github: @@ -41943,7 +42246,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *69 - - &286 + - &287 name: custom_property_name description: The custom property name in: path @@ -41955,9 +42258,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: &287 + default: &288 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41992,7 +42295,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *69 - - *286 + - *287 requestBody: required: true content: @@ -42063,9 +42366,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *287 + default: *288 '403': *29 '404': *6 x-github: @@ -42089,7 +42392,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *69 - - *286 + - *287 responses: '204': *187 '403': *29 @@ -42150,7 +42453,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &288 + items: &289 title: Custom Property Value description: Custom property name and associated value type: object @@ -42237,7 +42540,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *288 + items: *289 required: - repository_names - properties @@ -42429,7 +42732,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 x-github: @@ -42631,7 +42934,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &341 title: Full Repository description: Full Repository type: object @@ -42922,9 +43225,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *289 - required: *290 - x-github-breaking-changes: *291 + properties: *290 + required: *291 + x-github-breaking-changes: *292 nullable: true temp_clone_token: type: string @@ -43039,7 +43342,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &480 + properties: &481 url: type: string format: uri @@ -43055,12 +43358,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &481 + required: &482 - url - key - name - html_url - security_and_analysis: *292 + security_and_analysis: *293 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43155,7 +43458,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &342 + default: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43682,7 +43985,7 @@ paths: - *69 - *17 - *19 - - &607 + - &608 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43700,7 +44003,7 @@ paths: application/json: schema: type: array - items: &319 + items: &320 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43735,7 +44038,7 @@ paths: source: type: string description: The name of the source - enforcement: &295 + enforcement: &296 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43748,7 +44051,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &296 + items: &297 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43818,7 +44121,7 @@ paths: conditions: nullable: true anyOf: - - &293 + - &294 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43842,7 +44145,7 @@ paths: match. items: type: string - - &297 + - &298 title: Organization ruleset conditions type: object description: |- @@ -43856,7 +44159,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *293 + - *294 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43890,7 +44193,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *293 + - *294 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43912,7 +44215,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *293 + - *294 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43925,7 +44228,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &294 + items: &295 title: Repository ruleset property targeting definition type: object @@ -43958,17 +44261,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *294 + items: *295 required: - repository_property rules: type: array - items: &608 + items: &609 title: Repository Rule type: object description: A repository rule. oneOf: - - &298 + - &299 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43980,7 +44283,7 @@ paths: type: string enum: - creation - - &299 + - &300 title: update description: Only allow users with bypass permission to update matching refs. @@ -44001,7 +44304,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &300 + - &301 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -44013,7 +44316,7 @@ paths: type: string enum: - deletion - - &301 + - &302 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -44025,7 +44328,7 @@ paths: type: string enum: - required_linear_history - - &606 + - &607 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -44103,7 +44406,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &302 + - &303 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -44127,7 +44430,7 @@ paths: type: string required: - required_deployment_environments - - &303 + - &304 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -44139,7 +44442,7 @@ paths: type: string enum: - required_signatures - - &304 + - &305 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44245,7 +44548,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &305 + - &306 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44293,7 +44596,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &306 + - &307 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44305,7 +44608,7 @@ paths: type: string enum: - non_fast_forward - - &307 + - &308 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44342,7 +44645,7 @@ paths: required: - operator - pattern - - &308 + - &309 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44379,7 +44682,7 @@ paths: required: - operator - pattern - - &309 + - &310 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44416,7 +44719,7 @@ paths: required: - operator - pattern - - &310 + - &311 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44453,7 +44756,7 @@ paths: required: - operator - pattern - - &311 + - &312 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44490,7 +44793,7 @@ paths: required: - operator - pattern - - &312 + - &313 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44515,7 +44818,7 @@ paths: type: string required: - restricted_file_paths - - &313 + - &314 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44539,7 +44842,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &314 + - &315 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44562,7 +44865,7 @@ paths: type: string required: - restricted_file_extensions - - &315 + - &316 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44587,7 +44890,7 @@ paths: maximum: 100 required: - max_file_size - - &316 + - &317 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44637,7 +44940,7 @@ paths: - repository_id required: - workflows - - &317 + - &318 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44698,7 +45001,7 @@ paths: - tool required: - code_scanning_tools - - &318 + - &319 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44797,21 +45100,20 @@ paths: - push - repository default: branch - enforcement: *295 + enforcement: *296 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *296 - conditions: *297 + items: *297 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: &321 + items: &322 title: Repository Rule type: object description: A repository rule. oneOf: - - *298 - *299 - *300 - *301 @@ -44832,6 +45134,7 @@ paths: - *316 - *317 - *318 + - *319 required: - name - enforcement @@ -44869,9 +45172,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: &320 + default: &321 value: id: 21 name: super cool ruleset @@ -44927,7 +45230,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *69 - - &609 + - &610 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 @@ -44942,7 +45245,7 @@ paths: in: query schema: type: string - - &610 + - &611 name: time_period description: |- The time period to filter by. @@ -44958,14 +45261,14 @@ paths: - week - month default: day - - &611 + - &612 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 - - &612 + - &613 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44985,7 +45288,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Rule Suites description: Response type: array @@ -45040,7 +45343,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &614 + default: &615 value: - id: 21 actor_id: 12 @@ -45084,7 +45387,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *69 - - &615 + - &616 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45100,7 +45403,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &617 title: Rule Suite description: Response type: object @@ -45199,7 +45502,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &617 + default: &618 value: id: 21 actor_id: 12 @@ -45272,9 +45575,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 '404': *6 '500': *115 put: @@ -45318,16 +45621,16 @@ paths: - tag - push - repository - enforcement: *295 + enforcement: *296 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *296 - conditions: *297 + items: *297 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *321 + items: *322 examples: default: value: @@ -45362,9 +45665,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 '404': *6 '422': *15 '500': *115 @@ -45422,7 +45725,7 @@ paths: application/json: schema: type: array - items: &322 + items: &323 title: Ruleset version type: object description: The historical version of a ruleset @@ -45446,7 +45749,7 @@ paths: type: string format: date-time examples: - default: &619 + default: &620 value: - version_id: 3 actor: @@ -45499,9 +45802,9 @@ paths: description: Response content: application/json: - schema: &620 + schema: &621 allOf: - - *322 + - *323 - type: object required: - state @@ -45571,7 +45874,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *69 - - &621 + - &622 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45582,7 +45885,7 @@ paths: enum: - open - resolved - - &622 + - &623 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45592,7 +45895,7 @@ paths: required: false schema: type: string - - &623 + - &624 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45601,7 +45904,7 @@ paths: required: false schema: type: string - - &624 + - &625 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45620,7 +45923,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &625 + - &626 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. @@ -45635,7 +45938,7 @@ paths: - *55 - *19 - *17 - - &626 + - &627 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 @@ -45645,7 +45948,7 @@ paths: required: false schema: type: string - - &627 + - &628 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 @@ -45655,7 +45958,7 @@ paths: required: false schema: type: string - - &628 + - &629 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45664,7 +45967,7 @@ paths: required: false schema: type: string - - &629 + - &630 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45673,7 +45976,7 @@ paths: schema: type: boolean default: false - - &630 + - &631 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45682,7 +45985,7 @@ paths: schema: type: boolean default: false - - &631 + - &632 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45717,14 +46020,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &632 + state: &633 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: &633 + resolution: &634 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -45831,8 +46134,8 @@ paths: pull request. ' - oneOf: &634 - - &636 + oneOf: &635 + - &637 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45884,7 +46187,7 @@ paths: - blob_url - commit_sha - commit_url - - &637 + - &638 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. @@ -45939,7 +46242,7 @@ paths: - page_url - commit_sha - commit_url - - &638 + - &639 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45953,7 +46256,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &639 + - &640 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45967,7 +46270,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &640 + - &641 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45981,7 +46284,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &641 + - &642 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45995,7 +46298,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &642 + - &643 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -46009,7 +46312,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &643 + - &644 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -46023,7 +46326,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &644 + - &645 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. @@ -46037,7 +46340,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &645 + - &646 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. @@ -46051,7 +46354,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &646 + - &647 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. @@ -46065,7 +46368,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &647 + - &648 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. @@ -46079,7 +46382,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &648 + - &649 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -46321,7 +46624,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &324 + pattern_config_version: &325 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -46330,7 +46633,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &323 + items: &324 type: object properties: token_type: @@ -46396,7 +46699,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *323 + items: *324 examples: default: value: @@ -46453,7 +46756,7 @@ paths: schema: type: object properties: - pattern_config_version: *324 + pattern_config_version: *325 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46479,7 +46782,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *324 + custom_pattern_version: *325 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46577,7 +46880,7 @@ paths: application/json: schema: type: array - items: &652 + items: &653 description: A repository security advisory. type: object properties: @@ -46797,7 +47100,7 @@ paths: login: type: string description: The username of the user credited. - type: *325 + type: *326 credits_detailed: type: array nullable: true @@ -46807,7 +47110,7 @@ paths: type: object properties: user: *4 - type: *325 + type: *326 state: type: string description: The state of the user's acceptance of the @@ -46900,7 +47203,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &653 + default: &654 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47287,7 +47590,7 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: default: value: @@ -47640,7 +47943,7 @@ paths: type: integer network_configurations: type: array - items: &327 + items: &328 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47773,9 +48076,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: &328 + default: &329 value: id: 123456789ABCDEF name: My network configuration @@ -47804,7 +48107,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *69 - - &329 + - &330 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47816,9 +48119,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 headers: Link: *61 x-github: @@ -47840,7 +48143,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *69 - - *329 + - *330 requestBody: required: true content: @@ -47880,9 +48183,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47902,7 +48205,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *69 - - *329 + - *330 responses: '204': description: Response @@ -48042,13 +48345,13 @@ paths: application/json: schema: type: array - items: *330 + items: *331 examples: - default: *331 + default: *332 '500': *115 '403': *29 '404': *6 - '422': *332 + '422': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48090,7 +48393,7 @@ paths: type: array items: *193 examples: - default: *253 + default: *254 headers: Link: *61 '403': *29 @@ -48184,7 +48487,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &334 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48247,8 +48550,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *252 + required: *253 nullable: true members_count: type: integer @@ -48511,7 +48814,7 @@ paths: - repos_count - organization examples: - default: &334 + default: &335 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48599,9 +48902,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -48685,16 +48988,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '201': description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '404': *6 '422': *15 '403': *29 @@ -48724,7 +49027,7 @@ paths: responses: '204': description: Response - '422': &335 + '422': &336 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -48758,12 +49061,12 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: *231 + default: *232 headers: Link: *61 - '422': *335 + '422': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48845,7 +49148,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &337 title: Team Membership description: Team Membership type: object @@ -48872,7 +49175,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &669 + response-if-user-is-a-team-maintainer: &670 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48935,9 +49238,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: &670 + response-if-users-membership-with-team-is-now-pending: &671 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49013,7 +49316,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 x-github: @@ -49044,14 +49347,14 @@ paths: parameters: - *69 - *71 - - *337 - *338 + - *339 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &671 + schema: &672 title: Team Repository description: A team's access to a repository. type: object @@ -49701,8 +50004,8 @@ paths: parameters: - *69 - *71 - - *337 - *338 + - *339 requestBody: required: false content: @@ -49749,8 +50052,8 @@ paths: parameters: - *69 - *71 - - *337 - *338 + - *339 responses: '204': description: Response @@ -49787,7 +50090,7 @@ paths: type: array items: *193 examples: - response-if-child-teams-exist: &672 + response-if-child-teams-exist: &673 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49941,7 +50244,7 @@ paths: resources: type: object properties: - core: &339 + core: &340 title: Rate Limit type: object properties: @@ -49958,21 +50261,21 @@ paths: - remaining - reset - used - graphql: *339 - search: *339 - code_search: *339 - source_import: *339 - integration_manifest: *339 - code_scanning_upload: *339 - actions_runner_registration: *339 - scim: *339 - dependency_snapshots: *339 - dependency_sbom: *339 - code_scanning_autofix: *339 + graphql: *340 + search: *340 + code_search: *340 + source_import: *340 + integration_manifest: *340 + code_scanning_upload: *340 + actions_runner_registration: *340 + scim: *340 + dependency_snapshots: *340 + dependency_sbom: *340 + code_scanning_autofix: *340 required: - core - search - rate: *339 + rate: *340 required: - rate - resources @@ -50085,14 +50388,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: default-response: summary: Default response @@ -50597,7 +50900,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *341 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50615,8 +50918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: false content: @@ -50907,10 +51210,10 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 - '307': &343 + default: *343 + '307': &344 description: Temporary Redirect content: application/json: @@ -50939,8 +51242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -50962,7 +51265,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *343 + '307': *344 '404': *6 '409': *54 x-github: @@ -50986,11 +51289,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *337 - *338 + - *339 - *17 - *19 - - &376 + - &377 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51013,7 +51316,7 @@ paths: type: integer artifacts: type: array - items: &344 + items: &345 title: Artifact description: An artifact type: object @@ -51091,7 +51394,7 @@ paths: - expires_at - updated_at examples: - default: &377 + default: &378 value: total_count: 2 artifacts: @@ -51152,9 +51455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *337 - *338 - - &345 + - *339 + - &346 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51166,7 +51469,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *345 examples: default: value: @@ -51204,9 +51507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *337 - *338 - - *345 + - *339 + - *346 responses: '204': description: Response @@ -51230,9 +51533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *337 - *338 - - *345 + - *339 + - *346 - name: archive_format in: path required: true @@ -51246,7 +51549,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': &537 + '410': &538 description: Gone content: application/json: @@ -51271,14 +51574,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &346 + schema: &347 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51311,13 +51614,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: application/json: - schema: *346 + schema: *347 examples: selected_actions: *42 responses: @@ -51346,14 +51649,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &347 + schema: &348 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51386,13 +51689,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: application/json: - schema: *347 + schema: *348 examples: selected_actions: *44 responses: @@ -51423,14 +51726,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: default: value: @@ -51456,11 +51759,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *337 - *338 + - *339 - *17 - *19 - - &349 + - &350 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 @@ -51494,7 +51797,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 title: Repository actions caches description: Repository actions caches type: object @@ -51536,7 +51839,7 @@ paths: - total_count - actions_caches examples: - default: &351 + default: &352 value: total_count: 1 actions_caches: @@ -51568,23 +51871,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: - - *337 - *338 + - *339 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *349 + - *350 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51604,8 +51907,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: - - *337 - *338 + - *339 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51636,9 +51939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *337 - *338 - - &352 + - *339 + - &353 name: job_id description: The unique identifier of the job. in: path @@ -51650,7 +51953,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &381 title: Job description: Information of a job execution in a workflow run type: object @@ -51957,9 +52260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *337 - *338 - - *352 + - *339 + - *353 responses: '302': description: Response @@ -51987,9 +52290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *337 - *338 - - *352 + - *339 + - *353 requestBody: required: false content: @@ -52034,8 +52337,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: - - *337 - *338 + - *339 responses: '200': description: Status response @@ -52085,8 +52388,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: - - *337 - *338 + - *339 requestBody: required: true content: @@ -52149,8 +52452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -52168,7 +52471,7 @@ paths: type: integer secrets: type: array - items: &382 + items: &383 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52188,7 +52491,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &384 value: total_count: 2 secrets: @@ -52221,9 +52524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *337 - *338 - - *353 + - *339 + - *354 - *19 responses: '200': @@ -52240,7 +52543,7 @@ paths: type: integer variables: type: array - items: &386 + items: &387 title: Actions Variable type: object properties: @@ -52270,7 +52573,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &388 value: total_count: 2 variables: @@ -52303,8 +52606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -52313,11 +52616,11 @@ paths: schema: type: object properties: - enabled: &355 + enabled: &356 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *141 - selected_actions_url: *354 + selected_actions_url: *355 sha_pinning_required: *142 required: - enabled @@ -52346,8 +52649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -52358,7 +52661,7 @@ paths: schema: type: object properties: - enabled: *355 + enabled: *356 allowed_actions: *141 sha_pinning_required: *142 required: @@ -52390,14 +52693,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: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &356 + schema: &357 type: object properties: access_level: @@ -52414,7 +52717,7 @@ paths: required: - access_level examples: - default: &357 + default: &358 value: access_level: organization x-github: @@ -52438,15 +52741,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: - - *337 - *338 + - *339 requestBody: required: true content: application/json: - schema: *356 + schema: *357 examples: - default: *357 + default: *358 responses: '204': description: Response @@ -52470,14 +52773,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *358 + schema: *359 examples: default: value: @@ -52501,8 +52804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Empty response for successful settings update @@ -52512,7 +52815,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *360 examples: default: summary: Set retention days @@ -52536,8 +52839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -52545,7 +52848,7 @@ paths: application/json: schema: *143 examples: - default: *360 + default: *361 '404': *6 x-github: enabledForGitHubApps: true @@ -52564,8 +52867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -52599,14 +52902,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: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: default: *144 '403': *29 @@ -52628,13 +52931,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: - - *337 - *338 + - *339 requestBody: required: true content: application/json: - schema: *362 + schema: *363 examples: default: *144 responses: @@ -52660,8 +52963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -52688,8 +52991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -52721,14 +53024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: default: *151 x-github: @@ -52751,8 +53054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Success response @@ -52763,7 +53066,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *365 examples: default: *151 x-github: @@ -52792,8 +53095,8 @@ paths: in: query schema: type: string - - *337 - *338 + - *339 - *17 - *19 responses: @@ -52837,8 +53140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -52846,9 +53149,9 @@ paths: application/json: schema: type: array - items: *365 + items: *366 examples: - default: *366 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52870,8 +53173,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: - - *337 - *338 + - *339 requestBody: required: true content: @@ -52914,7 +53217,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *367 + '201': *368 '404': *6 '422': *7 '409': *54 @@ -52945,8 +53248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *337 - *338 + - *339 responses: '201': description: Response @@ -52954,7 +53257,7 @@ paths: application/json: schema: *160 examples: - default: *368 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52982,8 +53285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *337 - *338 + - *339 responses: '201': description: Response @@ -52991,7 +53294,7 @@ paths: application/json: schema: *160 examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53013,8 +53316,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: - - *337 - *338 + - *339 - *157 responses: '200': @@ -53023,7 +53326,7 @@ paths: application/json: schema: *158 examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53044,8 +53347,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: - - *337 - *338 + - *339 - *157 responses: '204': @@ -53072,8 +53375,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: - - *337 - *338 + - *339 - *157 responses: '200': *162 @@ -53098,8 +53401,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: - - *337 - *338 + - *339 - *157 requestBody: required: true @@ -53148,8 +53451,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: - - *337 - *338 + - *339 - *157 requestBody: required: true @@ -53199,11 +53502,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: - - *337 - *338 + - *339 - *157 responses: - '200': *371 + '200': *372 '404': *6 x-github: githubCloudOnly: false @@ -53230,10 +53533,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: - - *337 - *338 + - *339 - *157 - - *372 + - *373 responses: '200': *162 '404': *6 @@ -53261,9 +53564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *337 - *338 - - &390 + - *339 + - &391 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. @@ -53271,7 +53574,7 @@ paths: required: false schema: type: string - - &391 + - &392 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53279,7 +53582,7 @@ paths: required: false schema: type: string - - &392 + - &393 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53288,7 +53591,7 @@ paths: required: false schema: type: string - - &393 + - &394 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 @@ -53315,7 +53618,7 @@ paths: - pending - *17 - *19 - - &394 + - &395 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)." @@ -53324,7 +53627,7 @@ paths: schema: type: string format: date-time - - &373 + - &374 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53333,13 +53636,13 @@ paths: schema: type: boolean default: false - - &395 + - &396 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &396 + - &397 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53362,7 +53665,7 @@ paths: type: integer workflow_runs: type: array - items: &374 + items: &375 title: Workflow Run description: An invocation of a workflow type: object @@ -53510,7 +53813,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &418 + properties: &419 id: type: string description: SHA for the commit @@ -53561,7 +53864,7 @@ paths: - name - email nullable: true - required: &419 + required: &420 - id - tree_id - message @@ -53608,7 +53911,7 @@ paths: - workflow_url - pull_requests examples: - default: &397 + default: &398 value: total_count: 1 workflow_runs: @@ -53844,24 +54147,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *337 - *338 - - &375 + - *339 + - &376 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &378 + default: &379 value: id: 30433642 name: Build @@ -54102,9 +54405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '204': description: Response @@ -54127,9 +54430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '200': description: Response @@ -54248,9 +54551,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: - - *337 - *338 - - *375 + - *339 + - *376 responses: '201': description: Response @@ -54283,12 +54586,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *337 - *338 - - *375 + - *339 + - *376 - *17 - *19 - - *376 + - *377 - *55 responses: '200': @@ -54305,9 +54608,9 @@ paths: type: integer artifacts: type: array - items: *344 + items: *345 examples: - default: *377 + default: *378 headers: Link: *61 x-github: @@ -54331,25 +54634,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *337 - *338 - - *375 - - &379 + - *339 + - *376 + - &380 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *373 + - *374 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54372,10 +54675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *337 - *338 - - *375 - - *379 + - *339 + - *376 + - *380 - *17 - *19 responses: @@ -54393,9 +54696,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *381 examples: - default: &381 + default: &382 value: total_count: 1 jobs: @@ -54508,10 +54811,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *337 - *338 - - *375 - - *379 + - *339 + - *376 + - *380 responses: '302': description: Response @@ -54539,9 +54842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '202': description: Response @@ -54574,9 +54877,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: - - *337 - *338 - - *375 + - *339 + - *376 requestBody: required: true content: @@ -54643,9 +54946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '202': description: Response @@ -54678,9 +54981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 - 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 @@ -54710,9 +55013,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *381 examples: - default: *381 + default: *382 headers: Link: *61 x-github: @@ -54737,9 +55040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '302': description: Response @@ -54766,9 +55069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '204': description: Response @@ -54795,9 +55098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '200': description: Response @@ -54857,7 +55160,7 @@ paths: items: type: object properties: - type: &503 + type: &504 type: string description: The type of reviewer. enum: @@ -54942,9 +55245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 requestBody: required: true content: @@ -54991,7 +55294,7 @@ paths: application/json: schema: type: array - items: &498 + items: &499 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55097,7 +55400,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &500 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55153,9 +55456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *337 - *338 - - *375 + - *339 + - *376 requestBody: required: false content: @@ -55199,9 +55502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *337 - *338 - - *375 + - *339 + - *376 requestBody: required: false content: @@ -55254,9 +55557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *337 - *338 - - *375 + - *339 + - *376 responses: '200': description: Response @@ -55393,8 +55696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -55412,9 +55715,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *383 examples: - default: *383 + default: *384 headers: Link: *61 x-github: @@ -55439,16 +55742,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55470,17 +55773,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &516 + default: &517 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55506,8 +55809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 requestBody: required: true @@ -55565,8 +55868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 responses: '204': @@ -55592,9 +55895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *337 - *338 - - *353 + - *339 + - *354 - *19 responses: '200': @@ -55611,9 +55914,9 @@ paths: type: integer variables: type: array - items: *386 + items: *387 examples: - default: *387 + default: *388 headers: Link: *61 x-github: @@ -55636,8 +55939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -55689,17 +55992,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *337 - *338 + - *339 - *167 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: &517 + default: &518 value: name: USERNAME value: octocat @@ -55725,8 +56028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *337 - *338 + - *339 - *167 requestBody: required: true @@ -55769,8 +56072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *337 - *338 + - *339 - *167 responses: '204': @@ -55796,8 +56099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -55815,7 +56118,7 @@ paths: type: integer workflows: type: array - items: &388 + items: &389 title: Workflow description: A GitHub Actions workflow type: object @@ -55922,9 +56225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *337 - *338 - - &389 + - *339 + - &390 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55939,7 +56242,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: default: value: @@ -55972,9 +56275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *337 - *338 - - *389 + - *339 + - *390 responses: '204': description: Response @@ -55999,9 +56302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *337 - *338 - - *389 + - *339 + - *390 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -56096,9 +56399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *337 - *338 - - *389 + - *339 + - *390 responses: '204': description: Response @@ -56125,19 +56428,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *337 - *338 - - *389 + - *339 - *390 - *391 - *392 - *393 + - *394 - *17 - *19 - - *394 - - *373 - *395 + - *374 - *396 + - *397 responses: '200': description: Response @@ -56153,9 +56456,9 @@ paths: type: integer workflow_runs: type: array - items: *374 + items: *375 examples: - default: *397 + default: *398 headers: Link: *61 x-github: @@ -56187,9 +56490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *337 - *338 - - *389 + - *339 + - *390 responses: '200': description: Response @@ -56250,8 +56553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *337 - *338 + - *339 - *55 - *17 - *47 @@ -56415,8 +56718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -56453,8 +56756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *337 - *338 + - *339 - name: assignee in: path required: true @@ -56490,8 +56793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -56603,8 +56906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *337 - *338 + - *339 - *17 - *47 - *48 @@ -56661,7 +56964,7 @@ paths: initiator: type: string examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56695,8 +56998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -56704,7 +57007,7 @@ paths: application/json: schema: type: array - items: &399 + items: &400 title: Autolink reference description: An autolink reference. type: object @@ -56758,8 +57061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -56798,9 +57101,9 @@ paths: description: response content: application/json: - schema: *399 + schema: *400 examples: - default: &400 + default: &401 value: id: 1 key_prefix: TICKET- @@ -56831,9 +57134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *337 - *338 - - &401 + - *339 + - &402 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56845,9 +57148,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: - default: *400 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -56867,9 +57170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *337 - *338 - - *401 + - *339 + - *402 responses: '204': description: Response @@ -56893,8 +57196,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: - - *337 - *338 + - *339 responses: '200': description: Response if Dependabot is enabled @@ -56942,8 +57245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -56964,8 +57267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -56985,8 +57288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *337 - *338 + - *339 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57024,7 +57327,7 @@ paths: - url protected: type: boolean - protection: &403 + protection: &404 title: Branch Protection description: Branch Protection type: object @@ -57066,7 +57369,7 @@ paths: required: - contexts - checks - enforce_admins: &406 + enforce_admins: &407 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57081,7 +57384,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &408 + required_pull_request_reviews: &409 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57157,7 +57460,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &405 + restrictions: &406 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57434,9 +57737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *337 - *338 - - &404 + - *339 + - &405 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). @@ -57450,14 +57753,14 @@ paths: description: Response content: application/json: - schema: &414 + schema: &415 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &472 title: Commit description: Commit type: object @@ -57491,7 +57794,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &402 + properties: &403 name: type: string example: '"Chris Wanstrath"' @@ -57507,7 +57810,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *402 + properties: *403 nullable: true message: type: string @@ -57528,7 +57831,7 @@ paths: required: - sha - url - verification: &523 + verification: &524 title: Verification type: object properties: @@ -57598,7 +57901,7 @@ paths: type: integer files: type: array - items: &484 + items: &485 title: Diff Entry description: Diff Entry type: object @@ -57682,7 +57985,7 @@ paths: - self protected: type: boolean - protection: *403 + protection: *404 protection_url: type: string format: uri @@ -57789,7 +58092,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *341 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -57811,15 +58114,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -58013,9 +58316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -58270,7 +58573,7 @@ paths: url: type: string format: uri - required_status_checks: &411 + required_status_checks: &412 title: Status Check Policy description: Status Check Policy type: object @@ -58422,7 +58725,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *405 + restrictions: *406 required_conversation_resolution: type: object properties: @@ -58534,9 +58837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '204': description: Response @@ -58561,17 +58864,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: &407 + default: &408 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58593,17 +58896,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: *407 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58622,9 +58925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '204': description: Response @@ -58649,17 +58952,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: &409 + default: &410 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58755,9 +59058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: false content: @@ -58855,9 +59158,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *409 + default: *410 '422': *15 x-github: githubCloudOnly: false @@ -58878,9 +59181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '204': description: Response @@ -58907,17 +59210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: &410 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58940,17 +59243,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: - default: *410 + default: *411 '404': *6 x-github: githubCloudOnly: false @@ -58970,9 +59273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '204': description: Response @@ -58997,17 +59300,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *411 + schema: *412 examples: - default: &412 + default: &413 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59033,9 +59336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: false content: @@ -59087,9 +59390,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - default: *412 + default: *413 '404': *6 '422': *15 x-github: @@ -59111,9 +59414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '204': description: Response @@ -59137,9 +59440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response @@ -59173,9 +59476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: false content: @@ -59242,9 +59545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: false content: @@ -59308,9 +59611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: content: application/json: @@ -59376,15 +59679,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -59475,9 +59778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '204': description: Response @@ -59500,9 +59803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response @@ -59512,7 +59815,7 @@ paths: type: array items: *5 examples: - default: &413 + default: &414 value: - id: 1 slug: octoapp @@ -59569,9 +59872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -59605,7 +59908,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -59626,9 +59929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -59662,7 +59965,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -59683,9 +59986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -59719,7 +60022,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *414 '422': *15 x-github: githubCloudOnly: false @@ -59741,9 +60044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response @@ -59753,7 +60056,7 @@ paths: type: array items: *193 examples: - default: *253 + default: *254 '404': *6 x-github: githubCloudOnly: false @@ -59773,9 +60076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: false content: @@ -59813,7 +60116,7 @@ paths: type: array items: *193 examples: - default: *253 + default: *254 '422': *15 x-github: githubCloudOnly: false @@ -59834,9 +60137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: false content: @@ -59874,7 +60177,7 @@ paths: type: array items: *193 examples: - default: *253 + default: *254 '422': *15 x-github: githubCloudOnly: false @@ -59895,9 +60198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: content: application/json: @@ -59934,7 +60237,7 @@ paths: type: array items: *193 examples: - default: *253 + default: *254 '422': *15 x-github: githubCloudOnly: false @@ -59956,9 +60259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *337 - *338 - - *404 + - *339 + - *405 responses: '200': description: Response @@ -59992,9 +60295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -60052,9 +60355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -60112,9 +60415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -60174,9 +60477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *337 - *338 - - *404 + - *339 + - *405 requestBody: required: true content: @@ -60198,7 +60501,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -60314,8 +60617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -60594,7 +60897,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &416 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60994,9 +61297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *337 - *338 - - &416 + - *339 + - &417 name: check_run_id description: The unique identifier of the check run. in: path @@ -61008,9 +61311,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &417 + default: &418 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61110,9 +61413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *337 - *338 - - *416 + - *339 + - *417 requestBody: required: true content: @@ -61352,9 +61655,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *417 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61374,9 +61677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *337 - *338 - - *416 + - *339 + - *417 - *17 - *19 responses: @@ -61471,9 +61774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *337 - *338 - - *416 + - *339 + - *417 responses: '201': description: Response @@ -61517,8 +61820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -61540,7 +61843,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &420 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61630,8 +61933,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *418 - required: *419 + properties: *419 + required: *420 latest_check_runs_count: type: integer check_runs_url: @@ -61659,7 +61962,7 @@ paths: - check_runs_url - pull_requests examples: - default: &421 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61950,9 +62253,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61971,8 +62274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -62281,9 +62584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *337 - *338 - - &422 + - *339 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62295,9 +62598,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62320,17 +62623,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *337 - *338 - - *422 - - &477 + - *339 + - *423 + - &478 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &478 + - &479 name: status description: Returns check runs with the specified `status`. in: query @@ -62369,9 +62672,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *416 examples: - default: &479 + default: &480 value: total_count: 1 check_runs: @@ -62473,9 +62776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *337 - *338 - - *422 + - *339 + - *423 responses: '201': description: Response @@ -62508,21 +62811,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *337 - *338 - - *423 + - *339 - *424 + - *425 - *19 - *17 - - &441 + - &442 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: *425 - - &442 + schema: *426 + - &443 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62547,13 +62850,13 @@ paths: be returned. in: query required: false - schema: *426 + schema: *427 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *427 + schema: *428 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62577,7 +62880,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: *428 + instances_url: *429 state: *183 fixed_at: *179 dismissed_by: @@ -62588,11 +62891,11 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: *429 - dismissed_comment: *430 - rule: *431 - tool: *432 - most_recent_instance: *433 + dismissed_reason: *430 + dismissed_comment: *431 + rule: *432 + tool: *433 + most_recent_instance: *434 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62718,7 +63021,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &434 + '403': &435 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62745,9 +63048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *337 - *338 - - &435 + - *339 + - &436 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62761,7 +63064,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &437 type: object properties: number: *174 @@ -62769,7 +63072,7 @@ paths: updated_at: *176 url: *177 html_url: *178 - instances_url: *428 + instances_url: *429 state: *183 fixed_at: *179 dismissed_by: @@ -62780,8 +63083,8 @@ paths: required: *21 nullable: true dismissed_at: *180 - dismissed_reason: *429 - dismissed_comment: *430 + dismissed_reason: *430 + dismissed_comment: *431 rule: type: object properties: @@ -62835,8 +63138,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *432 - most_recent_instance: *433 + tool: *433 + most_recent_instance: *434 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62935,7 +63238,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -62955,9 +63258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *337 - *338 - - *435 + - *339 + - *436 requestBody: required: true content: @@ -62972,8 +63275,8 @@ paths: enum: - open - dismissed - dismissed_reason: *429 - dismissed_comment: *430 + dismissed_reason: *430 + dismissed_comment: *431 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63001,7 +63304,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -63077,7 +63380,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &440 + '403': &441 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63104,15 +63407,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: - - *337 - *338 - - *435 + - *339 + - *436 responses: '200': description: Response content: application/json: - schema: &437 + schema: &438 type: object properties: status: @@ -63138,13 +63441,13 @@ paths: - description - started_at examples: - default: &438 + default: &439 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &439 + '400': &440 description: Bad Request content: application/json: @@ -63155,7 +63458,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': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -63180,29 +63483,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: - - *337 - *338 - - *435 + - *339 + - *436 responses: '200': description: OK content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '202': description: Accepted content: application/json: - schema: *437 + schema: *438 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *439 + '400': *440 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63234,9 +63537,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: - - *337 - *338 - - *435 + - *339 + - *436 requestBody: required: false content: @@ -63281,8 +63584,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *439 - '403': *440 + '400': *440 + '403': *441 '404': *6 '422': description: Unprocessable Entity @@ -63306,13 +63609,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *337 - *338 - - *435 + - *339 + - *436 - *19 - *17 - - *441 - *442 + - *443 responses: '200': description: Response @@ -63323,10 +63626,10 @@ paths: items: type: object properties: - ref: *425 - analysis_key: *443 - environment: *444 - category: *445 + ref: *426 + analysis_key: *444 + environment: *445 + category: *446 state: type: string description: State of a code scanning alert instance. @@ -63341,7 +63644,7 @@ paths: properties: text: type: string - location: *446 + location: *447 html_url: type: string classifications: @@ -63349,7 +63652,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: *447 + items: *448 examples: default: value: @@ -63386,7 +63689,7 @@ paths: end_column: 50 classifications: - source - '403': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -63420,25 +63723,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *337 - *338 - - *423 + - *339 - *424 + - *425 - *19 - *17 - - *442 + - *443 - 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: *425 + schema: *426 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &448 + schema: &449 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -63459,23 +63762,23 @@ paths: application/json: schema: type: array - items: &449 + items: &450 type: object properties: - ref: *425 - commit_sha: &457 + ref: *426 + commit_sha: &458 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: *443 + analysis_key: *444 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *445 + category: *446 error: type: string example: error reading field xyz @@ -63499,8 +63802,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *448 - tool: *432 + sarif_id: *449 + tool: *433 deletable: type: boolean warning: @@ -63561,7 +63864,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -63597,8 +63900,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: - - *337 - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63611,7 +63914,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: response: summary: application/json response @@ -63665,7 +63968,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *434 + '403': *435 '404': *6 '422': description: Response if analysis could not be processed @@ -63752,8 +64055,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: - - *337 - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63806,7 +64109,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': *440 + '403': *441 '404': *6 '503': *116 x-github: @@ -63828,8 +64131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -63837,7 +64140,7 @@ paths: application/json: schema: type: array - items: &450 + items: &451 title: CodeQL Database description: A CodeQL database. type: object @@ -63948,7 +64251,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': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -63977,8 +64280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *337 - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -63990,7 +64293,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: default: value: @@ -64022,9 +64325,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': &486 + '302': &487 description: Found - '403': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -64046,8 +64349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *337 - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -64057,7 +64360,7 @@ paths: responses: '204': description: Response - '403': *440 + '403': *441 '404': *6 '503': *116 x-github: @@ -64085,8 +64388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -64095,7 +64398,7 @@ paths: type: object additionalProperties: false properties: - language: &451 + language: &452 type: string description: The language targeted by the CodeQL query enum: @@ -64175,7 +64478,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &455 + schema: &456 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64185,7 +64488,7 @@ paths: description: The ID of the variant analysis. controller_repo: *60 actor: *4 - query_language: *451 + query_language: *452 query_pack_url: type: string description: The download url for the query pack. @@ -64232,7 +64535,7 @@ paths: items: type: object properties: - repository: &452 + repository: &453 title: Repository Identifier description: Repository Identifier type: object @@ -64268,7 +64571,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &456 + analysis_status: &457 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64300,7 +64603,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &453 + access_mismatch_repos: &454 type: object properties: repository_count: @@ -64314,7 +64617,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: *452 + items: *453 required: - repository_count - repositories @@ -64336,8 +64639,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *453 - over_limit_repos: *453 + no_codeql_db_repos: *454 + over_limit_repos: *454 required: - access_mismatch_repos - not_found_repos @@ -64353,7 +64656,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &454 + value: &455 summary: Default response value: id: 1 @@ -64499,10 +64802,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *454 + value: *455 repository_lists: summary: Response for a successful variant analysis submission - value: *454 + value: *455 '404': *6 '422': description: Unable to process variant analysis submission @@ -64530,8 +64833,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: - - *337 - *338 + - *339 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64543,9 +64846,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *454 + default: *455 '404': *6 '503': *116 x-github: @@ -64568,7 +64871,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: - - *337 + - *338 - name: repo in: path description: The name of the controller repository. @@ -64603,7 +64906,7 @@ paths: type: object properties: repository: *60 - analysis_status: *456 + analysis_status: *457 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64728,8 +65031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -64831,7 +65134,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *434 + '403': *435 '404': *6 '503': *116 x-github: @@ -64852,8 +65155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -64945,7 +65248,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *440 + '403': *441 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65016,8 +65319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -65025,7 +65328,7 @@ paths: schema: type: object properties: - commit_sha: *457 + commit_sha: *458 ref: type: string description: |- @@ -65083,7 +65386,7 @@ paths: schema: type: object properties: - id: *448 + id: *449 url: type: string description: The REST API URL for checking the status of the upload. @@ -65097,7 +65400,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': *440 + '403': *441 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65120,8 +65423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *337 - *338 + - *339 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65167,7 +65470,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': *434 + '403': *435 '404': description: Not Found if the sarif id does not match any upload '503': *116 @@ -65192,8 +65495,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: - - *337 - *338 + - *339 responses: '200': description: Response @@ -65274,8 +65577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *337 - *338 + - *339 - 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 @@ -65395,8 +65698,8 @@ paths: parameters: - *17 - *19 - - *337 - *338 + - *339 responses: '200': description: Response @@ -65412,7 +65715,7 @@ paths: type: integer codespaces: type: array - items: *241 + items: *242 examples: default: value: @@ -65710,8 +66013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -65774,17 +66077,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '400': *14 '401': *25 '403': *29 @@ -65813,8 +66116,8 @@ paths: parameters: - *17 - *19 - - *337 - *338 + - *339 responses: '200': description: Response @@ -65878,8 +66181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *337 - *338 + - *339 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65918,8 +66221,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *459 - required: *460 + properties: *460 + required: *461 examples: default: &680 value: @@ -65961,8 +66264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *337 - *338 + - *339 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66046,8 +66349,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: - - *337 - *338 + - *339 - 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 @@ -66113,8 +66416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -66132,7 +66435,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &465 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66152,7 +66455,7 @@ paths: - created_at - updated_at examples: - default: *461 + default: *462 headers: Link: *61 x-github: @@ -66175,16 +66478,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66204,17 +66507,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 responses: '200': description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66234,8 +66537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 requestBody: required: true @@ -66288,8 +66591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 responses: '204': @@ -66318,8 +66621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *337 - *338 + - *339 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66361,7 +66664,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &466 + properties: &467 login: type: string example: octocat @@ -66454,7 +66757,7 @@ paths: user_view_type: type: string example: public - required: &467 + required: &468 - avatar_url - events_url - followers_url @@ -66528,8 +66831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *337 - *338 + - *339 - *65 responses: '204': @@ -66576,8 +66879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *337 - *338 + - *339 - *65 requestBody: required: false @@ -66604,7 +66907,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &536 + schema: &537 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66833,8 +67136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *337 - *338 + - *339 - *65 responses: '204': @@ -66866,8 +67169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *337 - *338 + - *339 - *65 responses: '200': @@ -66888,8 +67191,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *466 - required: *467 + properties: *467 + required: *468 nullable: true required: - permission @@ -66944,8 +67247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -66955,7 +67258,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 title: Commit Comment description: Commit Comment type: object @@ -67013,7 +67316,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &474 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67072,17 +67375,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *337 - *338 + - *339 - *95 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &474 + default: &475 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67139,8 +67442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *337 - *338 + - *339 - *95 requestBody: required: true @@ -67163,7 +67466,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -67214,8 +67517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *337 - *338 + - *339 - *95 responses: '204': @@ -67237,8 +67540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *337 - *338 + - *339 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67265,7 +67568,7 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -67308,7 +67611,7 @@ paths: - content - created_at examples: - default: &540 + default: &541 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67353,8 +67656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *337 - *338 + - *339 - *95 requestBody: required: true @@ -67387,9 +67690,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: &470 + default: &471 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67418,9 +67721,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -67442,10 +67745,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *337 - *338 + - *339 - *95 - - &541 + - &542 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67500,8 +67803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *337 - *338 + - *339 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67557,9 +67860,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: &592 + default: &593 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67653,9 +67956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *337 - *338 - - &472 + - *339 + - &473 name: commit_sha description: The SHA of the commit. in: path @@ -67727,9 +68030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *337 - *338 - - *472 + - *339 + - *473 - *17 - *19 responses: @@ -67739,9 +68042,9 @@ paths: application/json: schema: type: array - items: *468 + items: *469 examples: - default: *473 + default: *474 headers: Link: *61 x-github: @@ -67769,9 +68072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *337 - *338 - - *472 + - *339 + - *473 requestBody: required: true content: @@ -67806,9 +68109,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *474 + default: *475 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67836,9 +68139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *337 - *338 - - *472 + - *339 + - *473 - *17 - *19 responses: @@ -67848,9 +68151,9 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: - default: &584 + default: &585 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68387,11 +68690,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *337 - *338 + - *339 - *19 - *17 - - &476 + - &477 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)" @@ -68406,9 +68709,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: &571 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68521,11 +68824,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *337 - *338 - - *476 + - *339 - *477 - *478 + - *479 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68559,9 +68862,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *416 examples: - default: *479 + default: *480 headers: Link: *61 x-github: @@ -68586,9 +68889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *337 - *338 - - *476 + - *339 + - *477 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68596,7 +68899,7 @@ paths: schema: type: integer example: 1 - - *477 + - *478 - *17 - *19 responses: @@ -68614,7 +68917,7 @@ paths: type: integer check_suites: type: array - items: *420 + items: *421 examples: default: value: @@ -68814,9 +69117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *337 - *338 - - *476 + - *339 + - *477 - *17 - *19 responses: @@ -69014,9 +69317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *337 - *338 - - *476 + - *339 + - *477 - *17 - *19 responses: @@ -69026,7 +69329,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Status description: The status of a commit. type: object @@ -69107,7 +69410,7 @@ paths: site_admin: false headers: Link: *61 - '301': *341 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69135,8 +69438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -69165,20 +69468,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *480 - required: *481 + properties: *481 + required: *482 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &482 + properties: &483 url: type: string format: uri html_url: type: string format: uri - required: &483 + required: &484 - url - html_url nullable: true @@ -69192,26 +69495,26 @@ paths: contributing: title: Community Health File type: object - properties: *482 - required: *483 + properties: *483 + required: *484 nullable: true readme: title: Community Health File type: object - properties: *482 - required: *483 + properties: *483 + required: *484 nullable: true issue_template: title: Community Health File type: object - properties: *482 - required: *483 + properties: *483 + required: *484 nullable: true pull_request_template: title: Community Health File type: object - properties: *482 - required: *483 + properties: *483 + required: *484 nullable: true required: - code_of_conduct @@ -69338,8 +69641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *337 - *338 + - *339 - *19 - *17 - name: basehead @@ -69382,8 +69685,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *472 + merge_base_commit: *472 status: type: string enum: @@ -69403,10 +69706,10 @@ paths: example: 6 commits: type: array - items: *471 + items: *472 files: type: array - items: *484 + items: *485 required: - url - html_url @@ -69692,8 +69995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *337 - *338 + - *339 - name: path description: path parameter in: path @@ -69853,7 +70156,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &485 + response-if-content-is-a-file-github-object: &486 summary: Response if content is a file value: type: file @@ -69985,7 +70288,7 @@ paths: - size - type - url - - &597 + - &598 title: Content File description: Content File type: object @@ -70186,7 +70489,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *485 + response-if-content-is-a-file: *486 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70255,7 +70558,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *486 + '302': *487 '304': *37 x-github: githubCloudOnly: false @@ -70308,8 +70611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *337 - *338 + - *339 - name: path description: path parameter in: path @@ -70402,7 +70705,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: File Commit description: File Commit type: object @@ -70554,7 +70857,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: example-for-creating-a-file: value: @@ -70608,7 +70911,7 @@ paths: schema: oneOf: - *3 - - &518 + - &519 description: Repository rule violation was detected type: object properties: @@ -70629,7 +70932,7 @@ paths: items: type: object properties: - placeholder_id: &649 + placeholder_id: &650 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70661,8 +70964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *337 - *338 + - *339 - name: path description: path parameter in: path @@ -70723,7 +71026,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -70778,8 +71081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *337 - *338 + - *339 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70902,23 +71205,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *337 - *338 - - *194 + - *339 - *195 - *196 - *197 + - *198 - 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 - - *198 - - *488 - *199 + - *489 - *200 - *201 + - *202 - *55 - *47 - *48 @@ -70930,7 +71233,7 @@ paths: application/json: schema: type: array - items: &492 + items: &493 type: object description: A Dependabot alert. properties: @@ -70976,7 +71279,7 @@ paths: - unknown - direct - transitive - security_advisory: *489 + security_advisory: *490 security_vulnerability: *59 url: *177 html_url: *178 @@ -71007,8 +71310,8 @@ paths: nullable: true maxLength: 280 fixed_at: *179 - auto_dismissed_at: *490 - dismissal_request: *491 + auto_dismissed_at: *491 + dismissal_request: *492 assignees: type: array description: The users assigned to this alert. @@ -71263,9 +71566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *337 - *338 - - &493 + - *339 + - &494 name: alert_number in: path description: |- @@ -71280,7 +71583,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -71412,9 +71715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *337 - *338 - - *493 + - *339 + - *494 requestBody: required: true content: @@ -71470,7 +71773,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -71600,8 +71903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -71619,7 +71922,7 @@ paths: type: integer secrets: type: array - items: &496 + items: &497 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71672,16 +71975,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71701,15 +72004,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -71735,8 +72038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 requestBody: required: true @@ -71789,8 +72092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *337 - *338 + - *339 - *164 responses: '204': @@ -71813,8 +72116,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: - - *337 - *338 + - *339 - 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 @@ -71974,8 +72277,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: - - *337 - *338 + - *339 responses: '200': description: Response @@ -72214,8 +72517,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: - - *337 - *338 + - *339 requestBody: required: true content: @@ -72290,7 +72593,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &498 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72323,7 +72626,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *498 resolved: type: object description: A collection of resolved package dependencies. @@ -72336,7 +72639,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *497 + metadata: *498 relationship: type: string description: A notation of whether a dependency is requested @@ -72465,8 +72768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *337 - *338 + - *339 - name: sha description: The SHA recorded at creation time. in: query @@ -72506,9 +72809,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: *499 + default: *500 headers: Link: *61 x-github: @@ -72574,8 +72877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -72656,7 +72959,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: simple-example: summary: Simple example @@ -72729,9 +73032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *337 - *338 - - &500 + - *339 + - &501 name: deployment_id description: deployment_id parameter in: path @@ -72743,7 +73046,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -72808,9 +73111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *337 - *338 - - *500 + - *339 + - *501 responses: '204': description: Response @@ -72832,9 +73135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *337 - *338 - - *500 + - *339 + - *501 - *17 - *19 responses: @@ -72844,7 +73147,7 @@ paths: application/json: schema: type: array - items: &501 + items: &502 title: Deployment Status description: The status of a deployment. type: object @@ -73005,9 +73308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *337 - *338 - - *500 + - *339 + - *501 requestBody: required: true content: @@ -73082,9 +73385,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: &502 + default: &503 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73140,9 +73443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *337 - *338 - - *500 + - *339 + - *501 - name: status_id in: path required: true @@ -73153,9 +73456,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *502 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -73180,8 +73483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -73238,8 +73541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -73256,7 +73559,7 @@ paths: type: integer environments: type: array - items: &504 + items: &505 title: Environment description: Details of a deployment environment type: object @@ -73308,7 +73611,7 @@ paths: type: type: string example: wait_timer - wait_timer: &506 + wait_timer: &507 type: integer example: 30 description: The amount of time to delay a job after @@ -73345,7 +73648,7 @@ paths: items: type: object properties: - type: *503 + type: *504 reviewer: anyOf: - *4 @@ -73369,7 +73672,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &508 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73485,9 +73788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *337 - *338 - - &505 + - *339 + - &506 name: environment_name in: path required: true @@ -73500,9 +73803,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &508 + default: &509 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73586,9 +73889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *337 - *338 - - *505 + - *339 + - *506 requestBody: required: false content: @@ -73597,7 +73900,7 @@ paths: type: object nullable: true properties: - wait_timer: *506 + wait_timer: *507 prevent_self_review: type: boolean example: false @@ -73614,13 +73917,13 @@ paths: items: type: object properties: - type: *503 + type: *504 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *508 additionalProperties: false examples: default: @@ -73640,9 +73943,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73666,9 +73969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *337 - *338 - - *505 + - *339 + - *506 responses: '204': description: Default response @@ -73693,9 +73996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *337 - *338 - - *505 + - *339 + - *506 - *17 - *19 responses: @@ -73713,7 +74016,7 @@ paths: example: 2 branch_policies: type: array - items: &509 + items: &510 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73770,9 +74073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *337 - *338 - - *505 + - *339 + - *506 requestBody: required: true content: @@ -73818,9 +74121,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - example-wildcard: &510 + example-wildcard: &511 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73862,10 +74165,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *337 - *338 - - *505 - - &511 + - *339 + - *506 + - &512 name: branch_policy_id in: path required: true @@ -73877,9 +74180,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73898,10 +74201,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *337 - *338 - - *505 - - *511 + - *339 + - *506 + - *512 requestBody: required: true content: @@ -73929,9 +74232,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73950,10 +74253,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *337 - *338 - - *505 - - *511 + - *339 + - *506 + - *512 responses: '204': description: Response @@ -73978,9 +74281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 + - *506 + - *339 - *338 - - *337 responses: '200': description: List of deployment protection rules @@ -73996,7 +74299,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &512 + items: &513 title: Deployment protection rule description: Deployment protection rule type: object @@ -74015,7 +74318,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &513 + app: &514 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74114,9 +74417,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: - - *505 + - *506 + - *339 - *338 - - *337 requestBody: content: application/json: @@ -74137,9 +74440,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *513 examples: - default: &514 + default: &515 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74174,9 +74477,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: - - *505 + - *506 + - *339 - *338 - - *337 - *19 - *17 responses: @@ -74195,7 +74498,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *514 examples: default: value: @@ -74230,10 +74533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *337 - *338 - - *505 - - &515 + - *339 + - *506 + - &516 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74245,9 +74548,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74268,10 +74571,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 + - *506 + - *339 - *338 - - *337 - - *515 + - *516 responses: '204': description: Response @@ -74297,9 +74600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *337 - *338 - - *505 + - *339 + - *506 - *17 - *19 responses: @@ -74317,9 +74620,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *383 examples: - default: *383 + default: *384 headers: Link: *61 x-github: @@ -74344,17 +74647,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *337 - *338 - - *505 + - *339 + - *506 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74376,18 +74679,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *337 - *338 - - *505 + - *339 + - *506 - *164 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *516 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74409,9 +74712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *337 - *338 - - *505 + - *339 + - *506 - *164 requestBody: required: true @@ -74469,9 +74772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *337 - *338 - - *505 + - *339 + - *506 - *164 responses: '204': @@ -74497,10 +74800,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *337 - *338 - - *505 - - *353 + - *339 + - *506 + - *354 - *19 responses: '200': @@ -74517,9 +74820,9 @@ paths: type: integer variables: type: array - items: *386 + items: *387 examples: - default: *387 + default: *388 headers: Link: *61 x-github: @@ -74542,9 +74845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *337 - *338 - - *505 + - *339 + - *506 requestBody: required: true content: @@ -74596,18 +74899,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *337 - *338 - - *505 + - *339 + - *506 - *167 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74628,10 +74931,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *337 - *338 + - *339 - *167 - - *505 + - *506 requestBody: required: true content: @@ -74673,10 +74976,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *337 - *338 + - *339 - *167 - - *505 + - *506 responses: '204': description: Response @@ -74698,8 +75001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -74767,8 +75070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *337 - *338 + - *339 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74927,8 +75230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *337 - *338 + - *339 requestBody: required: false content: @@ -74960,9 +75263,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 + default: *343 '400': *14 '422': *15 '403': *29 @@ -74983,8 +75286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -75044,7 +75347,7 @@ paths: schema: oneOf: - *124 - - *518 + - *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75069,8 +75372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *337 - *338 + - *339 - name: file_sha in: path required: true @@ -75169,8 +75472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -75279,7 +75582,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75493,15 +75796,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *337 - *338 - - *472 + - *339 + - *473 responses: '200': description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75557,9 +75860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *337 - *338 - - &520 + - *339 + - &521 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. @@ -75576,7 +75879,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Git Reference description: Git references within a repository type: object @@ -75651,17 +75954,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *337 - *338 - - *520 + - *339 + - *521 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75690,8 +75993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -75720,9 +76023,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75748,9 +76051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *337 - *338 - - *520 + - *339 + - *521 requestBody: required: true content: @@ -75779,9 +76082,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '422': *15 '409': *54 x-github: @@ -75799,9 +76102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *337 - *338 - - *520 + - *339 + - *521 responses: '204': description: Response @@ -75856,8 +76159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -75924,7 +76227,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &525 title: Git Tag description: Metadata for a Git tag type: object @@ -75975,7 +76278,7 @@ paths: - sha - type - url - verification: *523 + verification: *524 required: - sha - url @@ -75985,7 +76288,7 @@ paths: - tag - message examples: - default: &525 + default: &526 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76058,8 +76361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *337 - *338 + - *339 - name: tag_sha in: path required: true @@ -76070,9 +76373,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '404': *6 '409': *54 x-github: @@ -76096,8 +76399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -76170,7 +76473,7 @@ paths: description: Response content: application/json: - schema: &526 + schema: &527 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76266,8 +76569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *337 - *338 + - *339 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76290,7 +76593,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: default-response: summary: Default response @@ -76349,8 +76652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -76360,7 +76663,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Webhook description: Webhooks for repositories. type: object @@ -76488,8 +76791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *337 - *338 + - *339 requestBody: required: false content: @@ -76541,9 +76844,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &528 + default: &529 value: type: Repository id: 12345678 @@ -76591,17 +76894,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -76621,9 +76924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 requestBody: required: true content: @@ -76668,9 +76971,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 '422': *15 '404': *6 x-github: @@ -76691,9 +76994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 responses: '204': description: Response @@ -76717,9 +77020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *337 - *338 - - *210 + - *339 + - *211 responses: '200': description: Response @@ -76746,9 +77049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *337 - *338 - - *210 + - *339 + - *211 requestBody: required: false content: @@ -76792,11 +77095,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *337 - *338 - - *210 - - *17 + - *339 - *211 + - *17 + - *212 responses: '200': description: Response @@ -76804,9 +77107,9 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: - default: *213 + default: *214 '400': *14 '422': *15 x-github: @@ -76825,18 +77128,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *215 + default: *216 '400': *14 '422': *15 x-github: @@ -76855,9 +77158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 - *16 responses: '202': *39 @@ -76880,9 +77183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 responses: '204': description: Response @@ -76907,9 +77210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *337 - *338 - - *210 + - *339 + - *211 responses: '204': description: Response @@ -76932,8 +77235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response if immutable releases are enabled @@ -76979,8 +77282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *337 - *338 + - *339 responses: '204': *187 '409': *54 @@ -77000,8 +77303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *337 - *338 + - *339 responses: '204': *187 '409': *54 @@ -77058,14 +77361,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &529 + schema: &530 title: Import description: A repository import from an external source. type: object @@ -77164,7 +77467,7 @@ paths: - html_url - authors_url examples: - default: &532 + default: &533 value: vcs: subversion use_lfs: true @@ -77180,7 +77483,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': &530 + '503': &531 description: Unavailable due to service under maintenance. content: application/json: @@ -77209,8 +77512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -77258,7 +77561,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: default: value: @@ -77283,7 +77586,7 @@ paths: type: string '422': *15 '404': *6 - '503': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77311,8 +77614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *337 - *338 + - *339 requestBody: required: false content: @@ -77361,7 +77664,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: example-1: summary: Example 1 @@ -77409,7 +77712,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': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77432,12 +77735,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *337 - *338 + - *339 responses: '204': description: Response - '503': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77463,8 +77766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *337 - *338 + - *339 - &701 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -77479,7 +77782,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Porter Author description: Porter Author type: object @@ -77533,7 +77836,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': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77558,8 +77861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *337 - *338 + - *339 - name: author_id in: path required: true @@ -77589,7 +77892,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -77602,7 +77905,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77626,8 +77929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -77668,7 +77971,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77696,8 +77999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -77724,11 +78027,11 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *532 + default: *533 '422': *15 - '503': *530 + '503': *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77751,8 +78054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -77760,8 +78063,8 @@ paths: application/json: schema: *22 examples: - default: *533 - '301': *341 + default: *534 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -77781,8 +78084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -77790,12 +78093,12 @@ paths: application/json: schema: anyOf: - - *228 + - *229 - type: object properties: {} additionalProperties: false examples: - default: &535 + default: &536 value: limit: collaborators_only origin: repository @@ -77820,13 +78123,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: application/json: - schema: *534 + schema: *535 examples: default: summary: Example request body @@ -77838,9 +78141,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *535 + default: *536 '409': description: Response x-github: @@ -77862,8 +78165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -77886,8 +78189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -77897,7 +78200,7 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: default: &694 value: @@ -78030,9 +78333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *337 - *338 - - *232 + - *339 + - *233 requestBody: required: false content: @@ -78061,7 +78364,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -78192,9 +78495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *337 - *338 - - *232 + - *339 + - *233 responses: '204': description: Response @@ -78225,8 +78528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *337 - *338 + - *339 - 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 @@ -78274,7 +78577,7 @@ paths: required: false schema: type: string - - *239 + - *240 - name: sort description: What to sort results by. in: query @@ -78299,7 +78602,7 @@ paths: type: array items: *79 examples: - default: &549 + default: &550 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78448,7 +78751,7 @@ paths: state_reason: completed headers: Link: *61 - '301': *341 + '301': *342 '422': *15 '404': *6 x-github: @@ -78477,8 +78780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -78562,7 +78865,7 @@ paths: application/json: schema: *79 examples: - default: &546 + default: &547 value: id: 1 node_id: MDU6SXNzdWUx @@ -78719,7 +79022,7 @@ paths: '422': *15 '503': *116 '404': *6 - '410': *537 + '410': *538 x-github: triggersNotification: true githubCloudOnly: false @@ -78757,8 +79060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *337 - *338 + - *339 - *103 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78779,9 +79082,9 @@ paths: application/json: schema: type: array - items: *538 + items: *539 examples: - default: &548 + default: &549 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78839,17 +79142,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 responses: '200': description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &539 + default: &540 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78904,8 +79207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 requestBody: required: true @@ -78928,9 +79231,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '422': *15 x-github: githubCloudOnly: false @@ -78948,8 +79251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 responses: '204': @@ -78978,15 +79281,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 responses: '200': description: Response content: application/json: - schema: *538 + schema: *539 examples: default: value: @@ -79042,7 +79345,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *537 + '410': *538 '422': *15 x-github: githubCloudOnly: false @@ -79059,8 +79362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 responses: '204': @@ -79068,7 +79371,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *537 + '410': *538 '503': *116 x-github: githubCloudOnly: false @@ -79086,8 +79389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79114,9 +79417,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *540 + default: *541 headers: Link: *61 '404': *6 @@ -79137,8 +79440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *337 - *338 + - *339 - *95 requestBody: required: true @@ -79171,16 +79474,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -79202,10 +79505,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *337 - *338 + - *339 - *95 - - *541 + - *542 responses: '204': description: Response @@ -79225,8 +79528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -79236,7 +79539,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Issue Event description: Issue Event type: object @@ -79279,9 +79582,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *542 - required: *543 - x-github-breaking-changes: *544 + properties: *543 + required: *544 + x-github-breaking-changes: *545 nullable: true label: title: Issue Event Label @@ -79589,8 +79892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *337 - *338 + - *339 - name: event_id in: path required: true @@ -79601,7 +79904,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: default: value: @@ -79794,7 +80097,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *537 + '410': *538 '403': *29 x-github: githubCloudOnly: false @@ -79828,9 +80131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *337 - *338 - - &547 + - *339 + - &548 name: issue_number description: The number that identifies the issue. in: path @@ -79846,7 +80149,7 @@ paths: examples: default: summary: Issue - value: *546 + value: *547 pinned_comment: summary: Issue with pinned comment value: @@ -80045,9 +80348,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 '304': *37 x-github: githubCloudOnly: false @@ -80072,9 +80375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: false content: @@ -80200,13 +80503,13 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 '422': *15 '503': *116 '403': *29 - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80234,9 +80537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: false content: @@ -80264,7 +80567,7 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80280,9 +80583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: content: application/json: @@ -80309,7 +80612,7 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80331,9 +80634,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: - - *337 - *338 - - *547 + - *339 + - *548 - name: assignee in: path required: true @@ -80373,9 +80676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *86 - *17 - *19 @@ -80386,13 +80689,13 @@ paths: application/json: schema: type: array - items: *538 + items: *539 examples: - default: *548 + default: *549 headers: Link: *61 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80421,9 +80724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: true content: @@ -80445,16 +80748,16 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *537 + '410': *538 '422': *15 '404': *6 x-github: @@ -80482,9 +80785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -80496,12 +80799,12 @@ paths: type: array items: *79 examples: - default: *549 + default: *550 headers: Link: *61 - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80529,9 +80832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: true content: @@ -80555,15 +80858,15 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *341 + '301': *342 '403': *29 - '410': *537 + '410': *538 '422': *15 '404': *6 x-github: @@ -80594,9 +80897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *337 - *338 - - *547 + - *339 + - *548 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -80610,13 +80913,13 @@ paths: application/json: schema: *79 examples: - default: *546 - '301': *341 + default: *547 + '301': *342 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *537 + '410': *538 x-github: triggersNotification: true githubCloudOnly: false @@ -80642,9 +80945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -80656,12 +80959,12 @@ paths: type: array items: *79 examples: - default: *549 + default: *550 headers: Link: *61 - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80678,9 +80981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -80694,7 +80997,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &552 + - &553 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80748,7 +81051,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &554 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80884,7 +81187,7 @@ paths: - performed_via_github_app - assignee - assigner - - &554 + - &555 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80935,7 +81238,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &556 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80986,7 +81289,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &557 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81040,7 +81343,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &558 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81087,7 +81390,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &559 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81134,7 +81437,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &560 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81194,7 +81497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &561 title: Locked Issue Event description: Locked Issue Event type: object @@ -81242,7 +81545,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &562 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81308,7 +81611,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &563 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81374,7 +81677,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &564 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81440,7 +81743,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &565 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81531,7 +81834,7 @@ paths: color: red headers: Link: *61 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81548,9 +81851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -81560,9 +81863,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: &663 + default: &664 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -81586,9 +81889,9 @@ paths: value: '2025-12-25' headers: Link: *61 - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81605,9 +81908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -81619,7 +81922,7 @@ paths: type: array items: *78 examples: - default: &551 + default: &552 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81637,9 +81940,9 @@ paths: default: false headers: Link: *61 - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81655,9 +81958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: false content: @@ -81702,10 +82005,10 @@ paths: type: array items: *78 examples: - default: *551 - '301': *341 + default: *552 + '301': *342 '404': *6 - '410': *537 + '410': *538 '422': *15 x-github: githubCloudOnly: false @@ -81722,9 +82025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: false content: @@ -81786,10 +82089,10 @@ paths: type: array items: *78 examples: - default: *551 - '301': *341 + default: *552 + '301': *342 '404': *6 - '410': *537 + '410': *538 '422': *15 x-github: githubCloudOnly: false @@ -81806,15 +82109,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 responses: '204': description: Response - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81833,9 +82136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 - name: name in: path required: true @@ -81859,9 +82162,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *341 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81881,9 +82184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: false content: @@ -81911,7 +82214,7 @@ paths: '204': description: Response '403': *29 - '410': *537 + '410': *538 '404': *6 '422': *15 x-github: @@ -81929,9 +82232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 responses: '204': description: Response @@ -81961,9 +82264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 responses: '200': description: Response @@ -81971,10 +82274,10 @@ paths: application/json: schema: *79 examples: - default: *546 - '301': *341 + default: *547 + '301': *342 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81991,9 +82294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 - 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. @@ -82019,13 +82322,13 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *540 + default: *541 headers: Link: *61 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82043,9 +82346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: true content: @@ -82077,16 +82380,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -82108,10 +82411,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *337 - *338 - - *547 - - *541 + - *339 + - *548 + - *542 responses: '204': description: Response @@ -82140,9 +82443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: true content: @@ -82166,7 +82469,7 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82199,9 +82502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -82213,11 +82516,11 @@ paths: type: array items: *79 examples: - default: *549 + default: *550 headers: Link: *61 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82245,9 +82548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: true content: @@ -82276,14 +82579,14 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *537 + '410': *538 '422': *15 '404': *6 x-github: @@ -82303,9 +82606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 requestBody: required: true content: @@ -82338,7 +82641,7 @@ paths: application/json: schema: *79 examples: - default: *546 + default: *547 '403': *29 '404': *6 '422': *7 @@ -82360,9 +82663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *337 - *338 - - *547 + - *339 + - *548 - *17 - *19 responses: @@ -82377,7 +82680,6 @@ paths: description: Timeline Event type: object anyOf: - - *552 - *553 - *554 - *555 @@ -82390,6 +82692,7 @@ paths: - *562 - *563 - *564 + - *565 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82450,8 +82753,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *565 - required: *566 + properties: *566 + required: *567 nullable: true required: - event @@ -82706,7 +83009,7 @@ paths: type: string comments: type: array - items: &586 + items: &587 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82921,7 +83224,7 @@ paths: type: string comments: type: array - items: *468 + items: *469 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83210,7 +83513,7 @@ paths: headers: Link: *61 '404': *6 - '410': *537 + '410': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83227,8 +83530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -83238,7 +83541,7 @@ paths: application/json: schema: type: array - items: &567 + items: &568 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83304,8 +83607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -83341,9 +83644,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: &568 + default: &569 value: id: 1 key: ssh-rsa AAA... @@ -83377,9 +83680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *337 - *338 - - &569 + - *339 + - &570 name: key_id description: The unique identifier of the key. in: path @@ -83391,9 +83694,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: - default: *568 + default: *569 '404': *6 x-github: githubCloudOnly: false @@ -83411,9 +83714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *337 - *338 - - *569 + - *339 + - *570 responses: '204': description: Response @@ -83433,8 +83736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -83446,7 +83749,7 @@ paths: type: array items: *78 examples: - default: *551 + default: *552 headers: Link: *61 '404': *6 @@ -83467,8 +83770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -83506,7 +83809,7 @@ paths: application/json: schema: *78 examples: - default: &570 + default: &571 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83538,8 +83841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *337 - *338 + - *339 - name: name in: path required: true @@ -83552,7 +83855,7 @@ paths: application/json: schema: *78 examples: - default: *570 + default: *571 '404': *6 x-github: githubCloudOnly: false @@ -83569,8 +83872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *337 - *338 + - *339 - name: name in: path required: true @@ -83635,8 +83938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *337 - *338 + - *339 - name: name in: path required: true @@ -83662,8 +83965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -83702,9 +84005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *337 - *338 - - *441 + - *339 + - *442 responses: '200': description: Response @@ -83849,8 +84152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -83915,8 +84218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -83950,9 +84253,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *472 examples: - default: *571 + default: *572 '204': description: Response when already merged '404': @@ -83977,8 +84280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *337 - *338 + - *339 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84019,12 +84322,12 @@ paths: application/json: schema: type: array - items: &572 + items: &573 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 examples: default: value: @@ -84080,8 +84383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -84121,9 +84424,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: &573 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84182,9 +84485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *337 - *338 - - &574 + - *339 + - &575 name: milestone_number description: The number that identifies the milestone. in: path @@ -84196,9 +84499,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -84215,9 +84518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *337 - *338 - - *574 + - *339 + - *575 requestBody: required: false content: @@ -84255,9 +84558,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84273,9 +84576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *337 - *338 - - *574 + - *339 + - *575 responses: '204': description: Response @@ -84296,9 +84599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *337 - *338 - - *574 + - *339 + - *575 - *17 - *19 responses: @@ -84310,7 +84613,7 @@ paths: type: array items: *78 examples: - default: *551 + default: *552 headers: Link: *61 x-github: @@ -84329,12 +84632,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *337 - *338 - - *575 + - *339 - *576 - - *86 - *577 + - *86 + - *578 - *17 - *19 responses: @@ -84346,7 +84649,7 @@ paths: type: array items: *106 examples: - default: *578 + default: *579 headers: Link: *61 x-github: @@ -84370,8 +84673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *337 - *338 + - *339 requestBody: required: false content: @@ -84429,14 +84732,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &579 + schema: &580 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84561,7 +84864,7 @@ paths: - custom_404 - public examples: - default: &580 + default: &581 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84602,8 +84905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -84657,9 +84960,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *580 + default: *581 '422': *15 '409': *54 x-github: @@ -84682,8 +84985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -84782,8 +85085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -84809,8 +85112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -84820,7 +85123,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: Page Build description: Page Build type: object @@ -84914,8 +85217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *337 - *338 + - *339 responses: '201': description: Response @@ -84960,16 +85263,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: &582 + default: &583 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85017,8 +85320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *337 - *338 + - *339 - name: build_id in: path required: true @@ -85029,9 +85332,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85051,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -85157,9 +85460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *337 - *338 - - &583 + - *339 + - &584 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85217,9 +85520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *337 - *338 - - *583 + - *339 + - *584 responses: '204': *187 '404': *6 @@ -85246,8 +85549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -85505,8 +85808,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: - - *337 - *338 + - *339 responses: '200': description: Private vulnerability reporting status @@ -85543,8 +85846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': *187 '422': *14 @@ -85565,8 +85868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': *187 '422': *14 @@ -85588,8 +85891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -85597,7 +85900,7 @@ paths: application/json: schema: type: array - items: *288 + items: *289 examples: default: value: @@ -85628,8 +85931,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: - - *337 - *338 + - *339 requestBody: required: true content: @@ -85641,7 +85944,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *288 + items: *289 required: - properties examples: @@ -85691,8 +85994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *337 - *338 + - *339 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85752,9 +86055,9 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: - default: *584 + default: *585 headers: Link: *61 '304': *37 @@ -85786,8 +86089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -85852,7 +86155,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &589 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85963,8 +86266,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true active_lock_reason: type: string @@ -86007,7 +86310,7 @@ paths: items: *4 requested_teams: type: array - items: *326 + items: *327 head: type: object properties: @@ -86045,14 +86348,14 @@ paths: _links: type: object properties: - comments: *275 - commits: *275 - statuses: *275 - html: *275 - issue: *275 - review_comments: *275 - review_comment: *275 - self: *275 + comments: *276 + commits: *276 + statuses: *276 + html: *276 + issue: *276 + review_comments: *276 + review_comment: *276 + self: *276 required: - comments - commits @@ -86063,7 +86366,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *585 + auto_merge: *586 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -86249,7 +86552,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &589 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86776,8 +87079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *337 - *338 + - *339 - name: sort in: query required: false @@ -86806,9 +87109,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: &591 + default: &592 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86885,17 +87188,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *337 - *338 + - *339 - *95 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &587 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86970,8 +87273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *337 - *338 + - *339 - *95 requestBody: required: true @@ -86994,9 +87297,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87012,8 +87315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *337 - *338 + - *339 - *95 responses: '204': @@ -87035,8 +87338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *337 - *338 + - *339 - *95 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87063,9 +87366,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *540 + default: *541 headers: Link: *61 '404': *6 @@ -87086,8 +87389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *337 - *338 + - *339 - *95 requestBody: required: true @@ -87120,16 +87423,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -87151,10 +87454,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *337 - *338 + - *339 - *95 - - *541 + - *542 responses: '204': description: Response @@ -87197,9 +87500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *337 - *338 - - &590 + - *339 + - &591 name: pull_number description: The number that identifies the pull request. in: path @@ -87212,9 +87515,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '304': *37 '404': *6 '406': @@ -87249,9 +87552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: false content: @@ -87293,9 +87596,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '422': *15 '403': *29 x-github: @@ -87317,9 +87620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: true content: @@ -87379,17 +87682,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '401': *25 '403': *29 '404': *6 @@ -87419,9 +87722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 - *103 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -87442,9 +87745,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *591 + default: *592 headers: Link: *61 x-github: @@ -87477,9 +87780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: true content: @@ -87584,7 +87887,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: example-for-a-multi-line-comment: value: @@ -87672,9 +87975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *337 - *338 - - *590 + - *339 + - *591 - *95 requestBody: required: true @@ -87697,7 +88000,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: default: value: @@ -87783,9 +88086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 - *17 - *19 responses: @@ -87795,9 +88098,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: *592 + default: *593 headers: Link: *61 x-github: @@ -87827,9 +88130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *337 - *338 - - *590 + - *339 + - *591 - *17 - *19 responses: @@ -87839,7 +88142,7 @@ paths: application/json: schema: type: array - items: *484 + items: *485 examples: default: value: @@ -87877,9 +88180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *337 - *338 - - *590 + - *339 + - *591 responses: '204': description: Response if pull request has been merged @@ -87902,9 +88205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: false content: @@ -88015,9 +88318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 responses: '200': description: Response @@ -88092,9 +88395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: false content: @@ -88131,7 +88434,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -88667,9 +88970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: true content: @@ -88703,7 +89006,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -89208,9 +89511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 - *17 - *19 responses: @@ -89220,7 +89523,7 @@ paths: application/json: schema: type: array - items: &593 + items: &594 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89371,9 +89674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: false content: @@ -89459,9 +89762,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &595 + default: &596 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89524,10 +89827,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *337 - *338 - - *590 - - &594 + - *339 + - *591 + - &595 name: review_id description: The unique identifier of the review. in: path @@ -89539,9 +89842,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &596 + default: &597 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89600,10 +89903,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *337 - *338 - - *590 - - *594 + - *339 + - *591 + - *595 requestBody: required: true content: @@ -89626,7 +89929,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: default: value: @@ -89688,18 +89991,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *337 - *338 - - *590 - - *594 + - *339 + - *591 + - *595 responses: '200': description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: *595 + default: *596 '422': *7 '404': *6 x-github: @@ -89726,10 +90029,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *337 - *338 - - *590 - - *594 + - *339 + - *591 + - *595 - *17 - *19 responses: @@ -89812,9 +90115,9 @@ paths: _links: type: object properties: - self: *275 - html: *275 - pull_request: *275 + self: *276 + html: *276 + pull_request: *276 required: - self - html @@ -89964,10 +90267,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *337 - *338 - - *590 - - *594 + - *339 + - *591 + - *595 requestBody: required: true content: @@ -89995,7 +90298,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: default: value: @@ -90058,10 +90361,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *337 - *338 - - *590 - - *594 + - *339 + - *591 + - *595 requestBody: required: true content: @@ -90096,9 +90399,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: *596 + default: *597 '404': *6 '422': *7 '403': *29 @@ -90120,9 +90423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *337 - *338 - - *590 + - *339 + - *591 requestBody: required: false content: @@ -90185,8 +90488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *337 - *338 + - *339 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90199,9 +90502,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: &598 + default: &599 value: type: file encoding: base64 @@ -90243,8 +90546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *337 - *338 + - *339 - name: dir description: The alternate path to look for a README file in: path @@ -90264,9 +90567,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *598 + default: *599 '404': *6 '422': *15 x-github: @@ -90288,8 +90591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -90299,7 +90602,7 @@ paths: application/json: schema: type: array - items: *599 + items: *600 examples: default: value: @@ -90393,8 +90696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -90470,9 +90773,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: &603 + default: &604 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90577,9 +90880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *337 - *338 - - &601 + - *339 + - &602 name: asset_id description: The unique identifier of the asset. in: path @@ -90591,9 +90894,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: - default: &602 + default: &603 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 @@ -90628,7 +90931,7 @@ paths: type: User site_admin: false '404': *6 - '302': *486 + '302': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90644,9 +90947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *337 - *338 - - *601 + - *339 + - *602 requestBody: required: false content: @@ -90674,9 +90977,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: - default: *602 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90692,9 +90995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *337 - *338 - - *601 + - *339 + - *602 responses: '204': description: Response @@ -90718,8 +91021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -90804,16 +91107,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *337 - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90830,8 +91133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *337 - *338 + - *339 - name: tag description: tag parameter in: path @@ -90844,9 +91147,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *603 + default: *604 '404': *6 x-github: githubCloudOnly: false @@ -90868,9 +91171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *337 - *338 - - &604 + - *339 + - &605 name: release_id description: The unique identifier of the release. in: path @@ -90884,9 +91187,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: *599 + schema: *600 examples: - default: *603 + default: *604 '401': description: Unauthorized x-github: @@ -90904,9 +91207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *337 - *338 - - *604 + - *339 + - *605 requestBody: required: false content: @@ -90970,9 +91273,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *603 + default: *604 '404': description: Not Found if the discussion category name is invalid content: @@ -90993,9 +91296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *337 - *338 - - *604 + - *339 + - *605 responses: '204': description: Response @@ -91015,9 +91318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *337 - *338 - - *604 + - *339 + - *605 - *17 - *19 responses: @@ -91027,7 +91330,7 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: default: value: @@ -91108,9 +91411,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: - - *337 - *338 - - *604 + - *339 + - *605 - name: name in: query required: true @@ -91136,7 +91439,7 @@ paths: description: Response for successful upload content: application/json: - schema: *600 + schema: *601 examples: response-for-successful-upload: value: @@ -91191,9 +91494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *337 - *338 - - *604 + - *339 + - *605 - 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. @@ -91217,9 +91520,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *540 + default: *541 headers: Link: *61 '404': *6 @@ -91240,9 +91543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *337 - *338 - - *604 + - *339 + - *605 requestBody: required: true content: @@ -91272,16 +91575,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -91303,10 +91606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *337 - *338 - - *604 - - *541 + - *339 + - *605 + - *542 responses: '204': description: Response @@ -91330,9 +91633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *337 - *338 - - *404 + - *339 + - *405 - *17 - *19 responses: @@ -91348,8 +91651,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *298 - - &605 + - *299 + - &606 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91368,69 +91671,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *299 - - *605 - allOf: - *300 - - *605 + - *606 - allOf: - *301 - - *605 - - allOf: - *606 - - *605 - allOf: - *302 - - *605 + - *606 + - allOf: + - *607 + - *606 - allOf: - *303 - - *605 + - *606 - allOf: - *304 - - *605 + - *606 - allOf: - *305 - - *605 + - *606 - allOf: - *306 - - *605 + - *606 - allOf: - *307 - - *605 + - *606 - allOf: - *308 - - *605 + - *606 - allOf: - *309 - - *605 + - *606 - allOf: - *310 - - *605 + - *606 - allOf: - *311 - - *605 + - *606 - allOf: - *312 - - *605 + - *606 - allOf: - *313 - - *605 + - *606 - allOf: - *314 - - *605 + - *606 - allOf: - *315 - - *605 + - *606 - allOf: - *316 - - *605 + - *606 - allOf: - *317 - - *605 + - *606 - allOf: - *318 - - *605 + - *606 + - allOf: + - *319 + - *606 examples: default: value: @@ -91469,8 +91772,8 @@ paths: category: repos subcategory: rules parameters: - - *337 - *338 + - *339 - *17 - *19 - name: includes_parents @@ -91481,7 +91784,7 @@ paths: schema: type: boolean default: true - - *607 + - *608 responses: '200': description: Response @@ -91489,7 +91792,7 @@ paths: application/json: schema: type: array - items: *319 + items: *320 examples: default: value: @@ -91536,8 +91839,8 @@ paths: category: repos subcategory: rules parameters: - - *337 - *338 + - *339 requestBody: description: Request body required: true @@ -91557,16 +91860,16 @@ paths: - tag - push default: branch - enforcement: *295 + enforcement: *296 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *296 - conditions: *293 + items: *297 + conditions: *294 rules: type: array description: An array of rules within the ruleset. - items: *608 + items: *609 required: - name - enforcement @@ -91597,9 +91900,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: &618 + default: &619 value: id: 42 name: super cool ruleset @@ -91647,12 +91950,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *337 - *338 - - *609 + - *339 - *610 - *611 - *612 + - *613 - *17 - *19 responses: @@ -91660,9 +91963,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '500': *115 x-github: @@ -91683,17 +91986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *337 - *338 - - *615 + - *339 + - *616 responses: '200': description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 '500': *115 x-github: @@ -91721,8 +92024,8 @@ paths: category: repos subcategory: rules parameters: - - *337 - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91742,9 +92045,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *618 + default: *619 '404': *6 '500': *115 put: @@ -91762,8 +92065,8 @@ paths: category: repos subcategory: rules parameters: - - *337 - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91788,16 +92091,16 @@ paths: - branch - tag - push - enforcement: *295 + enforcement: *296 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *296 - conditions: *293 + items: *297 + conditions: *294 rules: description: An array of rules within the ruleset. type: array - items: *608 + items: *609 examples: default: value: @@ -91825,9 +92128,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *618 + default: *619 '404': *6 '422': *15 '500': *115 @@ -91846,8 +92149,8 @@ paths: category: repos subcategory: rules parameters: - - *337 - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91870,8 +92173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *337 - *338 + - *339 - *17 - *19 - name: ruleset_id @@ -91887,9 +92190,9 @@ paths: application/json: schema: type: array - items: *322 + items: *323 examples: - default: *619 + default: *620 '404': *6 '500': *115 x-github: @@ -91908,8 +92211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *337 - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91927,7 +92230,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -91982,22 +92285,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *337 - *338 - - *621 + - *339 - *622 - *623 - *624 - *625 + - *626 - *55 - *19 - *17 - - *626 - *627 - *628 - *629 - *630 - *631 + - *632 responses: '200': description: Response @@ -92005,7 +92308,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 type: object properties: number: *174 @@ -92024,8 +92327,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *632 - resolution: *633 + state: *633 + resolution: *634 resolved_at: type: string format: date-time @@ -92121,7 +92424,7 @@ paths: pull request. ' - oneOf: *634 + oneOf: *635 nullable: true has_more_locations: type: boolean @@ -92270,16 +92573,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *337 - *338 - - *435 - - *631 + - *339 + - *436 + - *632 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -92333,9 +92636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *337 - *338 - - *435 + - *339 + - *436 requestBody: required: true content: @@ -92343,8 +92646,8 @@ paths: schema: type: object properties: - state: *632 - resolution: *633 + state: *633 + resolution: *634 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92378,7 +92681,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -92473,9 +92776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *337 - *338 - - *435 + - *339 + - *436 - *19 - *17 responses: @@ -92512,7 +92815,6 @@ paths: example: commit details: oneOf: - - *636 - *637 - *638 - *639 @@ -92525,6 +92827,7 @@ paths: - *646 - *647 - *648 + - *649 examples: default: value: @@ -92610,8 +92913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -92619,14 +92922,14 @@ paths: schema: type: object properties: - reason: &650 + reason: &651 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *649 + placeholder_id: *650 required: - reason - placeholder_id @@ -92643,7 +92946,7 @@ paths: schema: type: object properties: - reason: *650 + reason: *651 expire_at: type: string format: date-time @@ -92689,8 +92992,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: - - *337 - *338 + - *339 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92705,7 +93008,7 @@ paths: properties: incremental_scans: type: array - items: &651 + items: &652 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92731,15 +93034,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *651 + items: *652 backfill_scans: type: array - items: *651 + items: *652 custom_pattern_backfill_scans: type: array items: allOf: - - *651 + - *652 - type: object properties: pattern_name: @@ -92809,8 +93112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *337 - *338 + - *339 - *55 - name: sort description: The property to sort the results by. @@ -92854,9 +93157,9 @@ paths: application/json: schema: type: array - items: *652 + items: *653 examples: - default: *653 + default: *654 '400': *14 '404': *6 x-github: @@ -92879,8 +93182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -92953,7 +93256,7 @@ paths: login: type: string description: The username of the user credited. - type: *325 + type: *326 required: - login - type @@ -93040,9 +93343,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: - default: &655 + default: &656 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93275,8 +93578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -93380,7 +93683,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: default: value: @@ -93527,17 +93830,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *337 - *338 - - *654 + - *339 + - *655 responses: '200': description: Response content: application/json: - schema: *652 + schema: *653 examples: - default: *655 + default: *656 '403': *29 '404': *6 x-github: @@ -93561,9 +93864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *337 - *338 - - *654 + - *339 + - *655 requestBody: required: true content: @@ -93636,7 +93939,7 @@ paths: login: type: string description: The username of the user credited. - type: *325 + type: *326 required: - login - type @@ -93722,10 +94025,10 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: - default: *655 - add_credit: *655 + default: *656 + add_credit: *656 '403': *29 '404': *6 '422': @@ -93763,9 +94066,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: - - *337 - *338 - - *654 + - *339 + - *655 responses: '202': *39 '400': *14 @@ -93792,17 +94095,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *337 - *338 - - *654 + - *339 + - *655 responses: '202': description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 + default: *343 '400': *14 '422': *15 '403': *29 @@ -93828,8 +94131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -93928,8 +94231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *337 - *338 + - *339 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93938,7 +94241,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93971,8 +94274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -94048,8 +94351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -94145,8 +94448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *337 - *338 + - *339 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94300,8 +94603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *337 - *338 + - *339 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94311,7 +94614,7 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: default: value: @@ -94344,8 +94647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *337 - *338 + - *339 - name: sha in: path required: true @@ -94399,7 +94702,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -94453,8 +94756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -94486,14 +94789,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *337 - *338 + - *339 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &658 + schema: &659 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94561,8 +94864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *337 - *338 + - *339 requestBody: required: false content: @@ -94588,7 +94891,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -94615,8 +94918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -94636,8 +94939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -94716,8 +95019,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *337 - *338 + - *339 - name: ref in: path required: true @@ -94753,8 +95056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *337 - *338 + - *339 - *17 - *19 responses: @@ -94766,7 +95069,7 @@ paths: type: array items: *193 examples: - default: *253 + default: *254 headers: Link: *61 '404': *6 @@ -94786,8 +95089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *337 - *338 + - *339 - *19 - *17 responses: @@ -94795,7 +95098,7 @@ paths: description: Response content: application/json: - schema: &659 + schema: &660 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94807,7 +95110,7 @@ paths: required: - names examples: - default: &660 + default: &661 value: names: - octocat @@ -94830,8 +95133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -94862,9 +95165,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '422': *7 x-github: @@ -94885,9 +95188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *337 - *338 - - &661 + - *339 + - &662 name: per description: The time frame to display results for. in: query @@ -94916,7 +95219,7 @@ paths: example: 128 clones: type: array - items: &662 + items: &663 title: Traffic type: object properties: @@ -95003,8 +95306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -95094,8 +95397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *337 - *338 + - *339 responses: '200': description: Response @@ -95155,9 +95458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *337 - *338 - - *661 + - *339 + - *662 responses: '200': description: Response @@ -95176,7 +95479,7 @@ paths: example: 3782 views: type: array - items: *662 + items: *663 required: - uniques - count @@ -95253,8 +95556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *337 - *338 + - *339 requestBody: required: true content: @@ -95528,8 +95831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *337 - *338 + - *339 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95552,8 +95855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -95575,8 +95878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -95602,8 +95905,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *337 - *338 + - *339 - name: ref in: path required: true @@ -95695,9 +95998,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95845,7 +96148,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *145 - - *547 + - *548 requestBody: required: true content: @@ -95909,9 +96212,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *550 + items: *551 examples: - default: *663 + default: *664 '400': *14 '403': *29 '404': *6 @@ -95948,7 +96251,7 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *145 - - *547 + - *548 requestBody: required: true content: @@ -96013,9 +96316,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *550 + items: *551 examples: - default: *663 + default: *664 '400': *14 '403': *29 '404': *6 @@ -96047,8 +96350,8 @@ paths: url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *145 - - *547 - - *235 + - *548 + - *236 responses: '204': description: Issue field value deleted successfully @@ -96187,7 +96490,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &664 + text_matches: &665 title: Search Result Text Matches type: array items: @@ -96349,7 +96652,7 @@ paths: enum: - author-date - committer-date - - &665 + - &666 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 @@ -96420,7 +96723,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *402 + properties: *403 nullable: true comment_count: type: integer @@ -96440,7 +96743,7 @@ paths: url: type: string format: uri - verification: *523 + verification: *524 required: - author - committer @@ -96459,7 +96762,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *402 + properties: *403 nullable: true parents: type: array @@ -96477,7 +96780,7 @@ paths: type: number node_id: type: string - text_matches: *664 + text_matches: *665 required: - sha - node_id @@ -96669,7 +96972,7 @@ paths: - interactions - created - updated - - *665 + - *666 - *17 - *19 - name: advanced_search @@ -96766,11 +97069,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: type: string state_reason: @@ -96787,8 +97090,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true comments: type: integer @@ -96802,7 +97105,7 @@ paths: type: string format: date-time nullable: true - text_matches: *664 + text_matches: *665 pull_request: type: object properties: @@ -96846,7 +97149,7 @@ paths: timeline_url: type: string format: uri - type: *236 + type: *237 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -97063,7 +97366,7 @@ paths: enum: - created - updated - - *665 + - *666 - *17 - *19 responses: @@ -97107,7 +97410,7 @@ paths: nullable: true score: type: number - text_matches: *664 + text_matches: *665 required: - id - node_id @@ -97192,7 +97495,7 @@ paths: - forks - help-wanted-issues - updated - - *665 + - *666 - *17 - *19 responses: @@ -97442,7 +97745,7 @@ paths: - admin - pull - push - text_matches: *664 + text_matches: *665 temp_clone_token: type: string allow_merge_commit: @@ -97742,7 +98045,7 @@ paths: type: string format: uri nullable: true - text_matches: *664 + text_matches: *665 related: type: array nullable: true @@ -97933,7 +98236,7 @@ paths: - followers - repositories - joined - - *665 + - *666 - *17 - *19 responses: @@ -98037,7 +98340,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *664 + text_matches: *665 blog: type: string nullable: true @@ -98116,7 +98419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &668 + - &669 name: team_id description: The unique identifier of the team. in: path @@ -98128,9 +98431,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -98157,7 +98460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *668 + - *669 requestBody: required: true content: @@ -98220,16 +98523,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '201': description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *334 + default: *335 '404': *6 '422': *15 '403': *29 @@ -98257,7 +98560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *668 + - *669 responses: '204': description: Response @@ -98286,7 +98589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *668 + - *669 - *17 - *19 responses: @@ -98296,9 +98599,9 @@ paths: application/json: schema: type: array - items: *230 + items: *231 examples: - default: *231 + default: *232 headers: Link: *61 x-github: @@ -98324,7 +98627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *668 + - *669 - name: role description: Filters members returned by their role in the team. in: query @@ -98375,7 +98678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *668 + - *669 - *65 responses: '204': @@ -98412,7 +98715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *668 + - *669 - *65 responses: '204': @@ -98452,7 +98755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *668 + - *669 - *65 responses: '204': @@ -98489,16 +98792,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *668 + - *669 - *65 responses: '200': description: Response content: application/json: - schema: *336 + schema: *337 examples: - response-if-user-is-a-team-maintainer: *669 + response-if-user-is-a-team-maintainer: *670 '404': *6 x-github: githubCloudOnly: false @@ -98531,7 +98834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *668 + - *669 - *65 requestBody: required: false @@ -98557,9 +98860,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: *670 + response-if-users-membership-with-team-is-now-pending: *671 '403': description: Forbidden if team synchronization is set up '422': @@ -98593,7 +98896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *668 + - *669 - *65 responses: '204': @@ -98621,7 +98924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *668 + - *669 - *17 - *19 responses: @@ -98633,7 +98936,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 '404': *6 @@ -98663,15 +98966,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *668 - - *337 + - *669 - *338 + - *339 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *671 + schema: *672 examples: alternative-response-with-extra-repository-information: value: @@ -98822,9 +99125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *668 - - *337 + - *669 - *338 + - *339 requestBody: required: false content: @@ -98874,9 +99177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *668 - - *337 + - *669 - *338 + - *339 responses: '204': description: Response @@ -98901,7 +99204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *668 + - *669 - *17 - *19 responses: @@ -98913,7 +99216,7 @@ paths: type: array items: *193 examples: - response-if-child-teams-exist: *672 + response-if-child-teams-exist: *673 headers: Link: *61 '404': *6 @@ -98946,7 +99249,7 @@ paths: application/json: schema: oneOf: - - &674 + - &675 title: Private User description: Private User type: object @@ -99149,7 +99452,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *673 + - *674 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99302,7 +99605,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *675 examples: default: value: @@ -99505,9 +99808,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *242 examples: - default: *242 + default: *243 '304': *37 '500': *115 '401': *25 @@ -99646,17 +99949,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '401': *25 '403': *29 '404': *6 @@ -99700,7 +100003,7 @@ paths: type: integer secrets: type: array - items: &675 + items: &676 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99740,7 +100043,7 @@ paths: - visibility - selected_repositories_url examples: - default: *461 + default: *462 headers: Link: *61 x-github: @@ -99816,7 +100119,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: default: value: @@ -99962,7 +100265,7 @@ paths: type: array items: *156 examples: - default: *676 + default: *194 '401': *25 '403': *29 '404': *6 @@ -100106,15 +100409,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '304': *37 '500': *115 '401': *25 @@ -100140,7 +100443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *243 + - *244 requestBody: required: false content: @@ -100170,9 +100473,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '401': *25 '403': *29 '404': *6 @@ -100194,7 +100497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *243 + - *244 responses: '202': *39 '304': *37 @@ -100223,7 +100526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *243 + - *244 responses: '202': description: Response @@ -100302,7 +100605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *243 + - *244 - name: export_id in: path required: true @@ -100338,7 +100641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *243 + - *244 responses: '200': description: Response @@ -100385,7 +100688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *243 + - *244 requestBody: required: true content: @@ -100435,13 +100738,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *340 + repository: *341 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *459 - required: *460 + properties: *460 + required: *461 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -101215,15 +101518,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '304': *37 '500': *115 '400': *14 @@ -101255,15 +101558,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *243 + - *244 responses: '200': description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *458 + default: *459 '500': *115 '401': *25 '403': *29 @@ -101293,7 +101596,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: &691 value: @@ -102384,12 +102687,12 @@ paths: application/json: schema: anyOf: - - *228 + - *229 - type: object properties: {} additionalProperties: false examples: - default: *229 + default: *230 '204': description: Response when there are no restrictions x-github: @@ -102413,7 +102716,7 @@ paths: required: true content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -102424,7 +102727,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: default: value: @@ -102505,7 +102808,7 @@ paths: - closed - all default: open - - *239 + - *240 - name: sort description: What to sort results by. in: query @@ -102530,7 +102833,7 @@ paths: type: array items: *79 examples: - default: *240 + default: *241 headers: Link: *61 '404': *6 @@ -102699,7 +103002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *569 + - *570 responses: '200': description: Response @@ -102730,7 +103033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *569 + - *570 responses: '204': description: Response @@ -102935,7 +103238,7 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: default: value: @@ -103049,7 +103352,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: default: value: @@ -103136,7 +103439,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: default: value: @@ -103208,7 +103511,7 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: default: value: @@ -103461,7 +103764,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -103641,7 +103944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *249 - name: exclude in: query required: false @@ -103654,7 +103957,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -103848,7 +104151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *249 responses: '302': description: Response @@ -103874,7 +104177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *249 responses: '204': description: Response @@ -103903,7 +104206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *248 + - *249 - *689 responses: '204': @@ -103928,7 +104231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *249 - *17 - *19 responses: @@ -103940,7 +104243,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 '404': *6 @@ -104047,7 +104350,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: *691 '400': *692 @@ -104070,14 +104373,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *256 - *257 + - *258 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: default: &710 value: @@ -104192,8 +104495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *256 - *257 + - *258 responses: '204': description: Response @@ -104223,8 +104526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *256 - *257 + - *258 - name: token description: package token schema: @@ -104256,8 +104559,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: - - *256 - *257 + - *258 - *19 - *17 - name: state @@ -104277,7 +104580,7 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: default: value: @@ -104326,15 +104629,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *256 - *257 - - *259 + - *258 + - *260 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -104370,9 +104673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *256 - *257 - - *259 + - *258 + - *260 responses: '204': description: Response @@ -104402,9 +104705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *256 - *257 - - *259 + - *258 + - *260 responses: '204': description: Response @@ -104860,9 +105163,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *342 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104906,7 +105209,7 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: default: *694 headers: @@ -104931,7 +105234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *232 + - *233 responses: '204': description: Response @@ -104960,7 +105263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *232 + - *233 responses: '204': description: Response @@ -105526,8 +105829,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: - - *337 - *338 + - *339 responses: '204': description: Response if this repository is starred by you @@ -105555,8 +105858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -105580,8 +105883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *337 - *338 + - *339 responses: '204': description: Response @@ -105616,7 +105919,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 '304': *37 @@ -105653,7 +105956,7 @@ paths: application/json: schema: type: array - items: *333 + items: *334 examples: default: value: @@ -105739,8 +106042,8 @@ paths: application/json: schema: oneOf: + - *675 - *674 - - *673 examples: default-response: &704 summary: Default response @@ -105841,7 +106144,7 @@ paths: required: true schema: type: string - - *272 + - *273 requestBody: required: true description: Details of the draft item to create in the project. @@ -105875,9 +106178,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *279 examples: - draft_issue: *279 + draft_issue: *280 '304': *37 '403': *29 '401': *25 @@ -105936,7 +106239,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *702 - - *272 + - *273 requestBody: required: true content: @@ -106011,13 +106314,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *283 + value: *284 board_view: summary: Response for creating a board view with filter - value: *283 + value: *284 roadmap_view: summary: Response for creating a roadmap view - value: *283 + value: *284 '304': *37 '403': *29 '401': *25 @@ -106059,8 +106362,8 @@ paths: application/json: schema: oneOf: + - *675 - *674 - - *673 examples: default-response: *704 response-with-git-hub-plan-information: *705 @@ -106387,7 +106690,7 @@ paths: initiator: type: string examples: - default: *398 + default: *399 '201': description: Response content: @@ -106440,7 +106743,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: *691 '403': *29 @@ -106932,7 +107235,7 @@ paths: application/json: schema: *22 examples: - default: *533 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107067,7 +107370,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: *691 '403': *29 @@ -107092,15 +107395,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *256 - *257 + - *258 - *65 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: default: *710 x-github: @@ -107123,8 +107426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *256 - *257 + - *258 - *65 responses: '204': @@ -107157,8 +107460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *256 - *257 + - *258 - *65 - name: token description: package token @@ -107191,8 +107494,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: - - *256 - *257 + - *258 - *65 responses: '200': @@ -107201,7 +107504,7 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: default: value: @@ -107259,16 +107562,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *256 - *257 - - *259 + - *258 + - *260 - *65 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -107303,10 +107606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *256 - *257 + - *258 - *65 - - *259 + - *260 responses: '204': description: Response @@ -107338,10 +107641,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *256 - *257 + - *258 - *65 - - *259 + - *260 responses: '204': description: Response @@ -107382,9 +107685,9 @@ paths: application/json: schema: type: array - items: *270 + items: *271 examples: - default: *271 + default: *272 headers: Link: *61 '304': *37 @@ -107406,16 +107709,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *272 + - *273 - *65 responses: '200': description: Response content: application/json: - schema: *270 + schema: *271 examples: - default: *271 + default: *272 headers: Link: *61 '304': *37 @@ -107437,7 +107740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *272 + - *273 - *65 - *17 - *47 @@ -107449,7 +107752,7 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: default: *711 headers: @@ -107473,7 +107776,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *65 - - *272 + - *273 requestBody: required: true content: @@ -107556,7 +107859,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: text_field: *716 number_field: *717 @@ -107583,7 +107886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *272 + - *273 - *721 - *65 responses: @@ -107591,7 +107894,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: default: *722 headers: @@ -107616,7 +107919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *272 + - *273 - *65 - *47 - *48 @@ -107649,9 +107952,9 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: - default: *281 + default: *282 headers: Link: *61 '304': *37 @@ -107673,7 +107976,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *65 - - *272 + - *273 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -107743,22 +108046,22 @@ paths: description: Response content: application/json: - schema: *278 + schema: *279 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *279 + value: *280 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *279 + value: *280 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *279 + value: *280 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *279 + value: *280 '304': *37 '403': *29 '401': *25 @@ -107778,9 +108081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *272 + - *273 - *65 - - *282 + - *283 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107800,9 +108103,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - default: *281 + default: *282 headers: Link: *61 '304': *37 @@ -107823,9 +108126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *272 + - *273 - *65 - - *282 + - *283 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107895,13 +108198,13 @@ paths: description: Response content: application/json: - schema: *280 + schema: *281 examples: - text_field: *281 - number_field: *281 - date_field: *281 - single_select_field: *281 - iteration_field: *281 + text_field: *282 + number_field: *282 + date_field: *282 + single_select_field: *282 + iteration_field: *282 '401': *25 '403': *29 '404': *6 @@ -107921,9 +108224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *272 + - *273 - *65 - - *282 + - *283 responses: '204': description: Response @@ -107945,7 +108248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *272 + - *273 - *65 - *723 - name: fields @@ -107973,9 +108276,9 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: - default: *281 + default: *282 headers: Link: *61 '304': *37 @@ -108196,7 +108499,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 x-github: @@ -108694,7 +108997,7 @@ paths: type: array items: *156 examples: - default: *260 + default: *261 headers: Link: *61 x-github: @@ -114307,7 +114610,7 @@ x-webhooks: required: - login - id - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114630,7 +114933,7 @@ x-webhooks: required: - login - id - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114960,7 +115263,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115302,7 +115605,7 @@ x-webhooks: required: - login - id - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115572,7 +115875,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115853,7 +116156,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116164,7 +116467,7 @@ x-webhooks: required: - login - id - dismissed_comment: *430 + dismissed_comment: *431 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116753,7 +117056,7 @@ x-webhooks: type: string enum: - created - definition: *284 + definition: *285 enterprise: *731 installation: *732 organization: *733 @@ -116920,7 +117223,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *284 + definition: *285 enterprise: *731 installation: *732 organization: *733 @@ -117000,7 +117303,7 @@ x-webhooks: type: string enum: - updated - definition: *284 + definition: *285 enterprise: *731 installation: *732 organization: *733 @@ -117088,11 +117391,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *288 + items: *289 old_property_values: type: array description: The old custom property values for the repository. - items: *288 + items: *289 required: - action - repository @@ -117259,7 +117562,7 @@ x-webhooks: type: string enum: - assignees_changed - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117343,7 +117646,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117428,7 +117731,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117513,7 +117816,7 @@ x-webhooks: type: string enum: - created - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117596,7 +117899,7 @@ x-webhooks: type: string enum: - dismissed - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117679,7 +117982,7 @@ x-webhooks: type: string enum: - fixed - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117763,7 +118066,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -117846,7 +118149,7 @@ x-webhooks: type: string enum: - reopened - alert: *492 + alert: *493 installation: *732 organization: *733 enterprise: *731 @@ -119354,7 +119657,7 @@ x-webhooks: nullable: true pull_requests: type: array - items: *588 + items: *589 repository: *734 organization: *733 installation: *732 @@ -127435,8 +127738,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *565 - required: *566 + properties: *566 + required: *567 nullable: true user: title: User @@ -128311,8 +128614,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128328,7 +128631,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -128899,8 +129202,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *565 - required: *566 + properties: *566 + required: *567 nullable: true required: - url @@ -129701,8 +130004,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129718,7 +130021,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -130936,8 +131239,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130953,7 +131256,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -132160,8 +132463,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132177,7 +132480,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -133385,8 +133688,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133402,7 +133705,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -134976,11 +135279,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134996,7 +135299,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -135976,11 +136279,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135996,7 +136299,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -137101,11 +137404,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137121,7 +137424,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -138112,11 +138415,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138132,7 +138435,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -139242,11 +139545,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139259,7 +139562,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *237 title: description: Title of the issue type: string @@ -140237,11 +140540,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140254,7 +140557,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *237 title: description: Title of the issue type: string @@ -141256,11 +141559,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141273,7 +141576,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *236 + type: *237 title: description: Title of the issue type: string @@ -142244,11 +142547,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142264,7 +142567,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -143207,11 +143510,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143312,7 +143615,7 @@ x-webhooks: required: - login - id - type: *236 + type: *237 required: - id - number @@ -144581,11 +144884,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144601,7 +144904,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -145578,11 +145881,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145598,7 +145901,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -146592,11 +146895,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146690,7 +146993,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *236 + type: *237 organization: *733 repository: *734 sender: *4 @@ -147561,11 +147864,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147581,7 +147884,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -148251,7 +148554,7 @@ x-webhooks: enterprise: *731 installation: *732 issue: *760 - type: *236 + type: *237 organization: *733 repository: *734 sender: *4 @@ -149386,11 +149689,11 @@ x-webhooks: properties: *80 required: *81 nullable: true - sub_issues_summary: *666 - issue_dependencies_summary: *667 + sub_issues_summary: *667 + issue_dependencies_summary: *668 issue_field_values: type: array - items: *550 + items: *551 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149406,7 +149709,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *236 + type: *237 updated_at: type: string format: date-time @@ -149651,7 +149954,7 @@ x-webhooks: enterprise: *731 installation: *732 issue: *760 - type: *236 + type: *237 organization: *733 repository: *734 sender: *4 @@ -157358,7 +157661,7 @@ x-webhooks: - closed installation: *732 organization: *733 - projects_v2: *270 + projects_v2: *271 sender: *4 required: - action @@ -157441,7 +157744,7 @@ x-webhooks: - created installation: *732 organization: *733 - projects_v2: *270 + projects_v2: *271 sender: *4 required: - action @@ -157524,7 +157827,7 @@ x-webhooks: - deleted installation: *732 organization: *733 - projects_v2: *270 + projects_v2: *271 sender: *4 required: - action @@ -157643,7 +157946,7 @@ x-webhooks: type: string installation: *732 organization: *733 - projects_v2: *270 + projects_v2: *271 sender: *4 required: - action @@ -157760,7 +158063,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *277 + content_type: *278 creator: *4 created_at: type: string @@ -158494,7 +158797,7 @@ x-webhooks: - reopened installation: *732 organization: *733 - projects_v2: *270 + projects_v2: *271 sender: *4 required: - action @@ -166194,7 +166497,7 @@ x-webhooks: organization: *733 pull_request: &785 allOf: - - *588 + - *589 - type: object properties: allow_auto_merge: @@ -166423,7 +166726,7 @@ x-webhooks: enum: - demilestoned enterprise: *731 - milestone: *572 + milestone: *573 number: *784 organization: *733 pull_request: &786 @@ -178583,7 +178886,7 @@ x-webhooks: enum: - milestoned enterprise: *731 - milestone: *572 + milestone: *573 number: *784 organization: *733 pull_request: *786 @@ -221269,7 +221572,7 @@ x-webhooks: installation: *732 organization: *733 repository: *734 - repository_advisory: *652 + repository_advisory: *653 sender: *4 required: - action @@ -221349,7 +221652,7 @@ x-webhooks: installation: *732 organization: *733 repository: *734 - repository_advisory: *652 + repository_advisory: *653 sender: *4 required: - action @@ -222211,7 +222514,7 @@ x-webhooks: installation: *732 organization: *733 repository: *734 - repository_ruleset: *319 + repository_ruleset: *320 sender: *4 required: - action @@ -222293,7 +222596,7 @@ x-webhooks: installation: *732 organization: *733 repository: *734 - repository_ruleset: *319 + repository_ruleset: *320 sender: *4 required: - action @@ -222375,7 +222678,7 @@ x-webhooks: installation: *732 organization: *733 repository: *734 - repository_ruleset: *319 + repository_ruleset: *320 changes: type: object properties: @@ -222394,16 +222697,16 @@ x-webhooks: properties: added: type: array - items: *293 + items: *294 deleted: type: array - items: *293 + items: *294 updated: type: array items: type: object properties: - condition: *293 + condition: *294 changes: type: object properties: @@ -222436,16 +222739,16 @@ x-webhooks: properties: added: type: array - items: *608 + items: *609 deleted: type: array - items: *608 + items: *609 updated: type: array items: type: object properties: - rule: *608 + rule: *609 changes: type: object properties: @@ -225081,11 +225384,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *292 + security_and_analysis: *293 enterprise: *731 installation: *732 organization: *733 - repository: *340 + repository: *341 sender: *4 required: - changes @@ -230308,7 +230611,7 @@ x-webhooks: type: string required: - conclusion - deployment: *498 + deployment: *499 required: - action - repository @@ -230650,7 +230953,7 @@ x-webhooks: required: - status - steps - deployment: *498 + deployment: *499 required: - action - repository @@ -230867,7 +231170,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *499 required: - action - repository @@ -231085,7 +231388,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *499 required: - action - repository diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 500b5eed8..78462d763 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -4986,6 +4986,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.", @@ -5987,6 +5995,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.", @@ -6842,6 +6858,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.", @@ -7328,6 +7352,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.", @@ -9390,6 +9422,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.", @@ -10442,6 +10482,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.", @@ -11411,6 +11459,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.", @@ -12091,6 +12147,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.", @@ -28639,6 +28703,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.", @@ -29435,958 +29507,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": { - "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", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { - "type": "boolean", - "example": true - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "app_slug": { - "type": "string", - "example": "github-actions" - }, - "suspended_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "suspended_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "contact_email": { - "type": "string", - "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", - "nullable": true - } - }, - "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", - "example": 1 - }, - "account": { - "nullable": true, - "anyOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" - }, - "avatar_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - } - ] - }, - "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", - "example": "https://api.github.com/app/installations/1/access_tokens" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/installation/repositories" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/organizations/github/settings/installations/1" - }, - "app_id": { - "type": "integer", - "example": 1 - }, - "client_id": { - "type": "string", - "example": "Iv1.ab1112223334445c" - }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { - "type": "string", - "example": "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": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "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.", @@ -30811,400 +29939,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", - "example": 1 - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "example": "Team Environment" - }, - "full_name": { - "type": "string", - "example": "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": { @@ -31730,6 +30467,1365 @@ "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", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "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", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "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", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "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", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "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.", @@ -49511,6 +49607,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.", @@ -156614,26 +156718,2372 @@ } }, "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": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": [ { @@ -156644,71 +159094,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": { @@ -156733,8 +159161,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -156759,8 +159187,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -156785,8 +159213,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -156810,16 +159238,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" } } }, @@ -182825,6 +185250,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.", @@ -183841,6 +186274,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.", @@ -422749,6 +425190,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.", @@ -663432,6 +665881,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.", @@ -737024,6 +739481,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.", @@ -969843,6 +972308,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.", @@ -972471,6 +974944,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.", @@ -975006,6 +977487,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.", @@ -977541,6 +980030,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.", @@ -980208,6 +982705,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.", @@ -982882,6 +985387,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.", @@ -987199,6 +989712,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index ff8c22eb7..29d6075b4 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &454 + type: &455 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,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: - - &769 + - &770 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &358 + - &359 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 @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &359 + items: &360 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &360 + default: &361 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &779 + schema: &780 title: Scim Error description: Scim Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &362 + default: &363 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2450,6 +2450,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 @@ -2911,7 +2919,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &431 + properties: &432 id: description: Unique identifier of the repository example: 42 @@ -3367,7 +3375,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &432 + required: &433 - archive_url - assignees_url - blobs_url @@ -9058,7 +9066,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &780 + '401': &781 description: Authorization failure '404': *6 x-github: @@ -13269,7 +13277,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &545 + instances_url: &546 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13304,7 +13312,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &546 + dismissed_reason: &547 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13313,13 +13321,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &547 + dismissed_comment: &548 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &548 + rule: &549 type: object properties: id: @@ -13372,7 +13380,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &549 + tool: &550 type: object properties: name: *113 @@ -13382,26 +13390,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &550 + most_recent_instance: &551 type: object properties: - ref: &543 + ref: &544 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &560 + analysis_key: &561 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: &561 + environment: &562 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: &562 + category: &563 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13415,7 +13423,7 @@ paths: properties: text: type: string - location: &563 + location: &564 type: object description: Describe a region within a file for the alert. properties: @@ -13436,7 +13444,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: &564 + items: &565 type: string description: A classification of the file. For example to identify it as generated. @@ -15777,7 +15785,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &397 + properties: &398 id: description: Unique identifier of the team type: integer @@ -15849,7 +15857,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &398 + required: &399 - id - node_id - url @@ -16522,7 +16530,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &335 + '413': &336 description: Payload Too Large content: application/json: @@ -17589,7 +17597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &340 + - &341 name: state in: query description: |- @@ -17598,7 +17606,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &341 + - &342 name: severity in: query description: |- @@ -17607,7 +17615,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &342 + - &343 name: ecosystem in: query description: |- @@ -17616,14 +17624,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &343 + - &344 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 - - &344 + - &345 name: epss_percentage in: query description: |- @@ -17635,7 +17643,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 - - &605 + - &606 name: has in: query description: |- @@ -17649,7 +17657,7 @@ paths: type: string enum: - patch - - &345 + - &346 name: assignee in: query description: |- @@ -17658,7 +17666,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &346 + - &347 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17668,7 +17676,7 @@ paths: enum: - development - runtime - - &347 + - &348 name: sort in: query description: |- @@ -17694,7 +17702,7 @@ paths: application/json: schema: type: array - items: &348 + items: &349 type: object description: A Dependabot alert. properties: @@ -17757,7 +17765,7 @@ paths: - unknown - direct - transitive - security_advisory: &606 + security_advisory: &607 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17989,14 +17997,14 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: &607 + auto_dismissed_at: &608 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &608 + dismissal_request: &609 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18058,7 +18066,7 @@ paths: - repository additionalProperties: false examples: - default: &349 + default: &350 value: - number: 2 state: dismissed @@ -19034,7 +19042,7 @@ paths: application/json: schema: *22 examples: - default: &374 + default: &375 value: id: 1 account: @@ -19288,7 +19296,7 @@ paths: - name - created_on examples: - default: &459 + default: &460 value: total_count: 2 network_configurations: @@ -19513,7 +19521,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: - *41 - - &460 + - &461 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19525,7 +19533,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19559,7 +19567,7 @@ paths: - subnet_id - region examples: - default: &462 + default: &463 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20378,7 +20386,7 @@ paths: required: true content: application/json: - schema: &430 + schema: &431 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21570,7 +21578,7 @@ paths: nullable: true anyOf: - *164 - - &436 + - &437 title: Organization ruleset conditions type: object description: |- @@ -21617,7 +21625,7 @@ paths: - *167 rules: type: array - items: &735 + items: &736 title: Repository Rule type: object description: A repository rule. @@ -21626,7 +21634,7 @@ paths: - *173 - *174 - *175 - - &733 + - &734 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21954,7 +21962,7 @@ paths: type: string format: date-time examples: - default: &439 + default: &440 value: - version_id: 3 actor: @@ -22007,7 +22015,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 allOf: - *197 - type: object @@ -22062,7 +22070,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &441 + - &442 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22073,7 +22081,7 @@ paths: enum: - open - resolved - - &442 + - &443 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22083,7 +22091,7 @@ paths: required: false schema: type: string - - &443 + - &444 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22092,7 +22100,7 @@ paths: required: false schema: type: string - - &444 + - &445 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22111,7 +22119,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &445 + - &446 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. @@ -22127,7 +22135,7 @@ paths: - *17 - *110 - *111 - - &446 + - &447 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22136,7 +22144,7 @@ paths: required: false schema: type: string - - &447 + - &448 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22145,7 +22153,7 @@ paths: schema: type: boolean default: false - - &448 + - &449 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22154,7 +22162,7 @@ paths: schema: type: boolean default: false - - &449 + - &450 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22170,7 +22178,7 @@ paths: application/json: schema: type: array - items: &450 + items: &451 type: object properties: number: *130 @@ -22189,14 +22197,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &747 + state: &748 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: &748 + resolution: &749 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -22303,8 +22311,8 @@ paths: pull request. ' - oneOf: &749 - - &751 + oneOf: &750 + - &752 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22356,7 +22364,7 @@ paths: - blob_url - commit_sha - commit_url - - &752 + - &753 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. @@ -22411,7 +22419,7 @@ paths: - page_url - commit_sha - commit_url - - &753 + - &754 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22425,7 +22433,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &754 + - &755 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22439,7 +22447,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &755 + - &756 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22453,7 +22461,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &756 + - &757 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22467,7 +22475,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &757 + - &758 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22481,7 +22489,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &758 + - &759 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22495,7 +22503,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &759 + - &760 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. @@ -22509,7 +22517,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &760 + - &761 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. @@ -22523,7 +22531,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &761 + - &762 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. @@ -22537,7 +22545,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &762 + - &763 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. @@ -22551,7 +22559,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &763 + - &764 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -22578,7 +22586,7 @@ paths: required: *21 nullable: true examples: - default: &451 + default: &452 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22787,7 +22795,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &453 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22870,7 +22878,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *199 examples: - default: &453 + default: &454 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -23006,7 +23014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &456 + - &457 name: advanced_security_product in: query description: | @@ -23026,7 +23034,7 @@ paths: description: Success content: application/json: - schema: &457 + schema: &458 type: object properties: total_advanced_security_committers: @@ -23081,7 +23089,7 @@ paths: required: - repositories examples: - default: &458 + default: &459 value: total_advanced_security_committers: 2 total_count: 2 @@ -26560,7 +26568,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &668 + properties: &669 id: type: integer format: int64 @@ -26673,7 +26681,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &419 + properties: &420 url: type: string format: uri @@ -26743,7 +26751,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &420 + required: &421 - closed_issues - creator - description @@ -26822,7 +26830,7 @@ paths: timeline_url: type: string format: uri - type: &384 + type: &385 title: Issue Type description: The type of issue. type: object @@ -26936,7 +26944,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &807 + sub_issues_summary: &808 title: Sub-issues Summary type: object properties: @@ -27023,7 +27031,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &690 + properties: &691 pinned_at: type: string format: date-time @@ -27035,7 +27043,7 @@ paths: properties: *20 required: *21 nullable: true - required: &691 + required: &692 - pinned_at - pinned_by nullable: true @@ -27049,7 +27057,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &808 + issue_dependencies_summary: &809 title: Issue Dependencies Summary type: object properties: @@ -27068,7 +27076,7 @@ paths: - total_blocking issue_field_values: type: array - items: &675 + items: &676 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27129,7 +27137,7 @@ paths: - node_id - data_type - value - required: &669 + required: &670 - assignee - closed_at - comments @@ -27167,7 +27175,7 @@ paths: action: type: string issue: *227 - comment: &664 + comment: &665 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27833,7 +27841,7 @@ paths: type: string release: allOf: - - &726 + - &727 title: Release description: A release. type: object @@ -27904,7 +27912,7 @@ paths: author: *4 assets: type: array - items: &727 + items: &728 title: Release Asset description: Data related to a release. type: object @@ -28483,7 +28491,7 @@ paths: url: type: string format: uri - user: &814 + user: &815 title: Public User description: Public User type: object @@ -30355,7 +30363,7 @@ paths: - closed - all default: open - - &387 + - &388 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30406,7 +30414,7 @@ paths: type: array items: *227 examples: - default: &388 + default: &389 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31791,14 +31799,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: - - &471 + - &472 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &472 + - &473 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31860,7 +31868,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &477 + '301': &478 description: Moved permanently content: application/json: @@ -31882,7 +31890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &700 + - &701 name: all description: If `true`, show notifications marked as read. in: query @@ -31890,7 +31898,7 @@ paths: schema: type: boolean default: false - - &701 + - &702 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31900,7 +31908,7 @@ paths: type: boolean default: false - *234 - - &702 + - &703 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: @@ -31936,7 +31944,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &353 + properties: &354 id: type: integer format: int64 @@ -32224,7 +32232,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &433 + security_and_analysis: &434 nullable: true type: object properties: @@ -32345,7 +32353,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &354 + required: &355 - archive_url - assignees_url - blobs_url @@ -32433,7 +32441,7 @@ paths: - url - subscription_url examples: - default: &703 + default: &704 value: - id: '1' repository: @@ -33030,7 +33038,7 @@ paths: type: integer custom_roles: type: array - items: &336 + items: &337 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -33078,7 +33086,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &338 value: id: 8030 name: Security Engineer @@ -33550,7 +33558,7 @@ paths: type: array items: *158 examples: - default: &709 + default: &710 value: - property_name: environment value: production @@ -33600,7 +33608,7 @@ paths: required: - properties examples: - default: &710 + default: &711 value: properties: - property_name: environment @@ -34413,7 +34421,7 @@ paths: type: integer repository_cache_usages: type: array - items: &484 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36641,7 +36649,7 @@ paths: type: array items: *291 examples: - default: &817 + default: &335 value: total_count: 1 repositories: @@ -37683,7 +37691,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &505 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37712,7 +37720,7 @@ paths: - key_id - key examples: - default: &505 + default: &506 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38125,7 +38133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *89 - - &489 + - &490 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)." @@ -39766,7 +39774,7 @@ paths: initiator: type: string examples: - default: &518 + default: &519 value: attestations: - bundle: @@ -40683,7 +40691,7 @@ paths: be returned. in: query required: false - schema: &544 + schema: &545 type: string description: Severity of a code scanning alert. enum: @@ -41739,7 +41747,7 @@ paths: type: integer codespaces: type: array - items: &389 + items: &390 type: object title: Codespace description: A codespace. @@ -41769,7 +41777,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &576 + properties: &577 name: type: string description: The name of the machine. @@ -41811,7 +41819,7 @@ paths: - ready - in_progress nullable: true - required: &577 + required: &578 - name - display_name - operating_system @@ -42016,7 +42024,7 @@ paths: - pulls_url - recent_folders examples: - default: &390 + default: &391 value: total_count: 3 codespaces: @@ -42679,7 +42687,7 @@ paths: - updated_at - visibility examples: - default: &578 + default: &579 value: total_count: 2 secrets: @@ -42717,7 +42725,7 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42746,7 +42754,7 @@ paths: - key_id - key examples: - default: &580 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42778,7 +42786,7 @@ paths: application/json: schema: *334 examples: - default: &582 + default: &583 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43575,6 +43583,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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '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: + - *89 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *291 + required: + - total_count + - repositories + examples: + default: *335 + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + 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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + '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: + - *89 + - *285 + responses: + '204': + description: No Content + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + '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: + - *89 + - *285 + responses: + '204': + description: No Content + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + 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 @@ -43709,7 +44012,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *335 + '413': *336 '422': *7 x-github: githubCloudOnly: @@ -44140,7 +44443,7 @@ paths: type: integer custom_roles: type: array - items: *336 + items: *337 examples: default: value: @@ -44232,7 +44535,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &339 type: object properties: name: @@ -44273,9 +44576,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44306,9 +44609,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: true @@ -44336,7 +44639,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &340 type: object properties: name: @@ -44374,9 +44677,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44434,7 +44737,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -44448,9 +44751,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44487,9 +44790,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: true @@ -44523,7 +44826,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *340 examples: default: value: @@ -44538,9 +44841,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44600,11 +44903,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *340 - *341 - *342 - *343 - *344 + - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -44634,7 +44937,7 @@ paths: enum: - patch - deployment - - *345 + - *346 - name: runtime_risk in: query description: |- @@ -44643,8 +44946,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *346 - *347 + - *348 - *112 - *110 - *111 @@ -44656,9 +44959,9 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 '304': *37 '400': *14 '403': *29 @@ -44702,7 +45005,7 @@ paths: type: integer secrets: type: array - items: &350 + items: &351 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -44779,7 +45082,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &612 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44796,7 +45099,7 @@ paths: - key_id - key examples: - default: &612 + default: &613 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44826,7 +45129,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -45124,7 +45427,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &620 + - &621 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45132,7 +45435,7 @@ paths: required: false schema: type: string - - &621 + - &622 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45140,7 +45443,7 @@ paths: required: false schema: type: string - - &622 + - &623 name: time_period description: |- The time period to filter by. @@ -45156,7 +45459,7 @@ paths: - week - month default: month - - &623 + - &624 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45181,7 +45484,7 @@ paths: application/json: schema: type: array - items: &624 + items: &625 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45287,7 +45590,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &351 + items: &352 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -45337,7 +45640,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &625 + default: &626 value: - id: 21 number: 42 @@ -45429,7 +45732,7 @@ paths: - *105 - *106 - *107 - - &352 + - &353 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -45455,7 +45758,7 @@ paths: application/json: schema: type: array - items: &626 + items: &627 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45561,7 +45864,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *351 + items: *352 url: type: string format: uri @@ -45572,7 +45875,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &627 + default: &628 value: - id: 21 number: 42 @@ -45664,7 +45967,7 @@ paths: - *105 - *106 - *107 - - *352 + - *353 - *17 - *19 responses: @@ -45674,7 +45977,7 @@ paths: application/json: schema: type: array - items: &628 + items: &629 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -45795,7 +46098,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &629 + default: &630 value: - id: 21 number: 42 @@ -45883,7 +46186,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Package description: A software package type: object @@ -45933,8 +46236,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *353 - required: *354 + properties: *354 + required: *355 nullable: true created_at: type: string @@ -45953,7 +46256,7 @@ paths: - created_at - updated_at examples: - default: &401 + default: &402 value: - id: 197 name: hello_docker @@ -46140,7 +46443,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &469 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46221,7 +46524,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &469 + default: &470 value: group_id: '123' group_name: Octocat admins @@ -46276,7 +46579,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &466 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46313,7 +46616,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &466 + default: &467 value: groups: - group_id: '123' @@ -46358,7 +46661,7 @@ paths: application/json: schema: type: array - items: &378 + items: &379 title: Organization Invitation description: Organization Invitation type: object @@ -46405,7 +46708,7 @@ paths: - invitation_teams_url - node_id examples: - default: &379 + default: &380 value: - id: 1 login: monalisa @@ -46472,7 +46775,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46486,7 +46789,7 @@ paths: - name - description examples: - default: &435 + default: &436 value: - name: add_assignee description: Assign or remove a user @@ -46527,7 +46830,7 @@ paths: application/json: schema: type: array - items: &355 + items: &356 title: Org Hook description: Org Hook type: object @@ -46696,9 +46999,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &356 + default: &357 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -46743,7 +47046,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &357 + - &358 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. @@ -46756,9 +47059,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *356 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -46780,7 +47083,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *357 + - *358 requestBody: required: false content: @@ -46825,7 +47128,7 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: default: value: @@ -46865,7 +47168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *357 + - *358 responses: '204': description: Response @@ -46891,7 +47194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *357 + - *358 responses: '200': description: Response @@ -46920,7 +47223,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *357 + - *358 requestBody: required: false content: @@ -46969,9 +47272,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *357 - - *17 - *358 + - *17 + - *359 responses: '200': description: Response @@ -46979,9 +47282,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 '400': *14 '422': *15 x-github: @@ -47005,16 +47308,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *357 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *362 + default: *363 '400': *14 '422': *15 x-github: @@ -47038,7 +47341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *357 + - *358 - *16 responses: '202': *39 @@ -47065,7 +47368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *357 + - *358 responses: '204': description: Response @@ -47088,7 +47391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &367 + - &368 name: actor_type in: path description: The type of the actor @@ -47101,14 +47404,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &368 + - &369 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &363 + - &364 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`.' @@ -47116,7 +47419,7 @@ paths: required: true schema: type: string - - &364 + - &365 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) @@ -47210,12 +47513,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *363 - *364 + - *365 - *19 - *17 - *112 - - &373 + - &374 name: sort description: The property to sort the results by. in: query @@ -47293,14 +47596,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *363 - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &365 + schema: &366 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47316,7 +47619,7 @@ paths: type: integer format: int64 examples: - default: &366 + default: &367 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47337,23 +47640,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &369 + - &370 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *363 - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: enabledForGitHubApps: true category: orgs @@ -47372,18 +47675,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *363 - *364 - - *367 + - *365 - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: enabledForGitHubApps: true category: orgs @@ -47401,9 +47704,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *89 - - *363 - *364 - - &370 + - *365 + - &371 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47416,7 +47719,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &372 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47432,7 +47735,7 @@ paths: type: integer format: int64 examples: - default: &372 + default: &373 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47469,18 +47772,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *369 - - *363 - - *364 - *370 + - *364 + - *365 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: enabledForGitHubApps: true category: orgs @@ -47498,19 +47801,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *367 - *368 - - *363 + - *369 - *364 - - *370 + - *365 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: enabledForGitHubApps: true category: orgs @@ -47528,13 +47831,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *89 - - *369 - - *363 + - *370 - *364 + - *365 - *19 - *17 - *112 - - *373 + - *374 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47615,7 +47918,7 @@ paths: application/json: schema: *22 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47735,12 +48038,12 @@ paths: application/json: schema: anyOf: - - &376 + - &377 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &375 + limit: &376 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -47765,7 +48068,7 @@ paths: properties: {} additionalProperties: false examples: - default: &377 + default: &378 value: limit: collaborators_only origin: organization @@ -47794,13 +48097,13 @@ paths: required: true content: application/json: - schema: &660 + schema: &661 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *375 + limit: *376 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -47824,9 +48127,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *377 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -47904,9 +48207,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *47 '404': *6 @@ -47984,7 +48287,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -48041,7 +48344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &380 + - &381 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48075,7 +48378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *380 + - *381 - *17 - *19 responses: @@ -48087,7 +48390,7 @@ paths: type: array items: *320 examples: - default: &399 + default: &400 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48130,7 +48433,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -48363,9 +48666,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &382 + default: &383 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -48421,7 +48724,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &383 + - &384 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -48520,9 +48823,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *382 + default: *383 '404': *6 '422': *7 x-github: @@ -48547,7 +48850,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *383 + - *384 responses: '204': *157 '404': *6 @@ -48577,7 +48880,7 @@ paths: application/json: schema: type: array - items: *384 + items: *385 examples: default: value: @@ -48662,9 +48965,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &385 + default: &386 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48697,7 +49000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &386 + - &387 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -48750,9 +49053,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 '404': *6 '422': *7 x-github: @@ -48777,7 +49080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *386 + - *387 responses: '204': description: Response @@ -48840,7 +49143,7 @@ paths: - closed - all default: open - - *387 + - *388 - name: type description: Can be the name of an issue type. in: query @@ -48871,7 +49174,7 @@ paths: type: array items: *227 examples: - default: *388 + default: *389 headers: Link: *47 '404': *6 @@ -49030,9 +49333,9 @@ paths: type: integer codespaces: type: array - items: *389 + items: *390 examples: - default: *390 + default: *391 '304': *37 '500': *40 '401': *25 @@ -49059,7 +49362,7 @@ paths: parameters: - *89 - *145 - - &391 + - &392 name: codespace_name in: path required: true @@ -49094,15 +49397,15 @@ paths: parameters: - *89 - *145 - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &575 + default: &576 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49358,7 +49661,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &393 title: Org Membership description: Org Membership type: object @@ -49425,7 +49728,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &393 + response-if-user-has-an-active-admin-membership-with-organization: &394 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49526,9 +49829,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - response-if-user-already-had-membership-with-organization: *393 + response-if-user-already-had-membership-with-organization: *394 '422': *15 '403': *29 x-github: @@ -49599,7 +49902,7 @@ paths: application/json: schema: type: array - items: &394 + items: &395 title: Migration description: A migration. type: object @@ -49928,7 +50231,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -50107,7 +50410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &395 + - &396 name: migration_id description: The unique identifier of the migration. in: path @@ -50134,7 +50437,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -50304,7 +50607,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *395 + - *396 responses: '302': description: Response @@ -50326,7 +50629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *395 + - *396 responses: '204': description: Response @@ -50350,7 +50653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *395 + - *396 - &830 name: repo_name description: repo_name parameter @@ -50379,7 +50682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *395 + - *396 - *17 - *19 responses: @@ -50391,7 +50694,7 @@ paths: type: array items: *291 examples: - default: &406 + default: &407 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50602,7 +50905,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &396 + items: &397 title: Organization Role description: Organization roles type: object @@ -50809,7 +51112,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default: value: @@ -51039,7 +51342,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default: value: @@ -51136,7 +51439,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default: value: @@ -51294,8 +51597,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *397 - required: *398 + properties: *398 + required: *399 nullable: true type: description: The ownership type of the team @@ -51327,7 +51630,7 @@ paths: - type - parent examples: - default: *399 + default: *400 headers: Link: *47 '404': @@ -51385,13 +51688,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &455 + items: &456 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *397 - required: *398 + properties: *398 + required: *399 name: nullable: true type: string @@ -51715,9 +52018,9 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 '403': *29 '401': *25 '400': &833 @@ -51742,7 +52045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &402 + - &403 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 @@ -51760,7 +52063,7 @@ paths: - docker - nuget - container - - &403 + - &404 name: package_name description: The name of the package. in: path @@ -51773,7 +52076,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: default: value: @@ -51825,8 +52128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *402 - *403 + - *404 - *89 responses: '204': @@ -51859,8 +52162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *402 - *403 + - *404 - *89 - name: token description: package token @@ -51893,8 +52196,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: - - *402 - *403 + - *404 - *89 - *19 - *17 @@ -51915,7 +52218,7 @@ paths: application/json: schema: type: array - items: &404 + items: &405 title: Package Version description: A version of a software package type: object @@ -52040,10 +52343,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: - - *402 - *403 + - *404 - *89 - - &405 + - &406 name: package_version_id description: Unique identifier of the package version. in: path @@ -52055,7 +52358,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -52091,10 +52394,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *402 - *403 + - *404 - *89 - - *405 + - *406 responses: '204': description: Response @@ -52126,10 +52429,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *402 - *403 + - *404 - *89 - - *405 + - *406 responses: '204': description: Response @@ -52159,7 +52462,7 @@ paths: - *89 - *17 - *19 - - &407 + - &408 name: sort description: The property by which to sort the results. in: query @@ -52170,7 +52473,7 @@ paths: - created_at default: created_at - *112 - - &408 + - &409 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -52181,7 +52484,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &409 + - &410 name: repository description: The name of the repository to use to filter the results. in: query @@ -52189,7 +52492,7 @@ paths: schema: type: string example: Hello-World - - &410 + - &411 name: permission description: The permission to use to filter the results. in: query @@ -52197,7 +52500,7 @@ paths: schema: type: string example: issues_read - - &411 + - &412 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) @@ -52207,7 +52510,7 @@ paths: schema: type: string format: date-time - - &412 + - &413 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) @@ -52217,7 +52520,7 @@ paths: schema: type: string format: date-time - - &413 + - &414 name: token_id description: The ID of the token in: query @@ -52530,7 +52833,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 x-github: @@ -52556,14 +52859,14 @@ paths: - *89 - *17 - *19 - - *407 - - *112 - *408 + - *112 - *409 - *410 - *411 - *412 - *413 + - *414 responses: '500': *40 '422': *15 @@ -52845,7 +53148,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 x-github: @@ -52887,7 +53190,7 @@ paths: type: integer configurations: type: array - items: &414 + items: &415 title: Organization private registry description: Private registry configuration for an organization type: object @@ -53177,7 +53480,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &415 + org-private-registry-with-selected-visibility: &416 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53273,9 +53576,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *414 + schema: *415 examples: - default: *415 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -53442,7 +53745,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Projects v2 Project description: A projects v2 project type: object @@ -53585,7 +53888,7 @@ paths: - deleted_at - deleted_by examples: - default: &417 + default: &418 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53688,7 +53991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &418 + - &419 name: project_number description: The project's number. in: path @@ -53701,9 +54004,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *417 + default: *418 headers: Link: *47 '304': *37 @@ -53726,7 +54029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *418 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -53760,7 +54063,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &425 title: Projects v2 Item description: An item belonging to a project type: object @@ -53774,7 +54077,7 @@ paths: content: oneOf: - *227 - - &592 + - &593 title: Pull Request Simple description: Pull Request Simple type: object @@ -53880,8 +54183,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true active_lock_reason: type: string @@ -53974,7 +54277,7 @@ paths: _links: type: object properties: - comments: &421 + comments: &422 title: Link description: Hypermedia Link type: object @@ -53983,13 +54286,13 @@ paths: type: string required: - href - commits: *421 - statuses: *421 - html: *421 - issue: *421 - review_comments: *421 - review_comment: *421 - self: *421 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -54000,7 +54303,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: &712 + auto_merge: &713 title: Auto merge description: The status of auto merging a pull request. type: object @@ -54102,7 +54405,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &423 + content_type: &424 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -54142,7 +54445,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &425 + draft_issue: &426 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54216,7 +54519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *418 + - *419 - *89 - *17 - *110 @@ -54228,7 +54531,7 @@ paths: application/json: schema: type: array - items: &422 + items: &423 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54508,7 +54811,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: - - *418 + - *419 - *89 requestBody: required: true @@ -54693,7 +54996,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *422 + schema: *423 examples: text_field: &857 value: @@ -54801,7 +55104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *418 + - *419 - &862 name: field_id description: The unique identifier of the field. @@ -54815,7 +55118,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: &863 value: @@ -54873,7 +55176,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: - - *418 + - *419 - *89 - 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) @@ -54906,7 +55209,7 @@ paths: application/json: schema: type: array - items: &426 + items: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -54922,7 +55225,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *423 + content_type: *424 content: type: object additionalProperties: true @@ -54965,7 +55268,7 @@ paths: - updated_at - archived_at examples: - default: &427 + default: &428 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55663,7 +55966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *418 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -55733,22 +56036,22 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *425 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *425 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *425 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *425 + value: *426 '304': *37 '403': *29 '401': *25 @@ -55768,9 +56071,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: - - *418 + - *419 - *89 - - &428 + - &429 name: item_id description: The unique identifier of the project item. in: path @@ -55796,9 +56099,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -55819,9 +56122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *418 + - *419 - *89 - - *428 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -55891,13 +56194,13 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - text_field: *427 - number_field: *427 - date_field: *427 - single_select_field: *427 - iteration_field: *427 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *25 '403': *29 '404': *6 @@ -55917,9 +56220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *418 + - *419 - *89 - - *428 + - *429 responses: '204': description: Response @@ -55943,7 +56246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *418 + - *419 requestBody: required: true content: @@ -56112,7 +56415,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &429 + value: &430 value: id: 1 number: 1 @@ -56158,10 +56461,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *429 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *429 + value: *430 '304': *37 '403': *29 '401': *25 @@ -56189,7 +56492,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: - - *418 + - *419 - *89 - &864 name: view_number @@ -56223,9 +56526,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -56389,7 +56692,7 @@ paths: required: true content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -56754,7 +57057,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 x-github: @@ -56957,7 +57260,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &477 title: Full Repository description: Full Repository type: object @@ -57248,8 +57551,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *431 - required: *432 + properties: *432 + required: *433 nullable: true temp_clone_token: type: string @@ -57364,7 +57667,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &597 + properties: &598 url: type: string format: uri @@ -57380,12 +57683,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &598 + required: &599 - url - key - name - html_url - security_and_analysis: *433 + security_and_analysis: *434 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57469,7 +57772,7 @@ paths: - network_count - subscribers_count examples: - default: &478 + default: &479 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57995,9 +58298,9 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: - default: *435 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58022,7 +58325,7 @@ paths: - *89 - *17 - *19 - - &734 + - &735 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58113,11 +58416,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *436 + conditions: *437 rules: type: array description: An array of rules within the ruleset. - items: &438 + items: &439 title: Repository Rule type: object description: A repository rule. @@ -58182,7 +58485,7 @@ paths: application/json: schema: *193 examples: - default: &437 + default: &438 value: id: 21 name: super cool ruleset @@ -58238,7 +58541,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &736 + - &737 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 @@ -58250,14 +58553,14 @@ paths: x-multi-segment: true - *317 - *107 - - &737 + - &738 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 - - &738 + - &739 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58277,7 +58580,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &740 title: Rule Suites description: Response type: array @@ -58332,7 +58635,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &740 + default: &741 value: - id: 21 actor_id: 12 @@ -58376,7 +58679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &741 + - &742 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58392,7 +58695,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &743 title: Rule Suite description: Response type: object @@ -58491,7 +58794,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &743 + default: &744 value: id: 21 actor_id: 12 @@ -58566,7 +58869,7 @@ paths: application/json: schema: *193 examples: - default: *437 + default: *438 '404': *6 '500': *40 put: @@ -58615,11 +58918,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *436 + conditions: *437 rules: description: An array of rules within the ruleset. type: array - items: *438 + items: *439 examples: default: value: @@ -58656,7 +58959,7 @@ paths: application/json: schema: *193 examples: - default: *437 + default: *438 '404': *6 '422': *15 '500': *40 @@ -58716,7 +59019,7 @@ paths: type: array items: *197 examples: - default: *439 + default: *440 '404': *6 '500': *40 x-github: @@ -58753,7 +59056,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -58816,15 +59119,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *441 - *442 - *443 - *444 - *445 + - *446 - *112 - *19 - *17 - - &745 + - &746 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 @@ -58834,7 +59137,7 @@ paths: required: false schema: type: string - - &746 + - &747 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 @@ -58844,10 +59147,10 @@ paths: required: false schema: type: string - - *446 - *447 - *448 - *449 + - *450 responses: '200': description: Response @@ -58855,9 +59158,9 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: - default: *451 + default: *452 headers: Link: *47 '404': *6 @@ -58892,9 +59195,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 '403': *29 '404': *6 patch: @@ -59047,7 +59350,7 @@ paths: application/json: schema: type: array - items: &767 + items: &768 description: A repository security advisory. type: object properties: @@ -59267,7 +59570,7 @@ paths: login: type: string description: The username of the user credited. - type: *454 + type: *455 credits_detailed: type: array nullable: true @@ -59277,7 +59580,7 @@ paths: type: object properties: user: *4 - type: *454 + type: *455 state: type: string description: The state of the user's acceptance of the @@ -59338,7 +59641,7 @@ paths: - private_fork additionalProperties: false examples: - default: &768 + default: &769 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -59725,7 +60028,7 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: default: value: @@ -59824,7 +60127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *456 + - *457 - *17 - *19 responses: @@ -59832,9 +60135,9 @@ paths: description: Success content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60115,7 +60418,7 @@ paths: type: array items: *150 examples: - default: *459 + default: *460 headers: Link: *47 x-github: @@ -60318,15 +60621,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: - *89 - - *460 + - *461 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *462 + default: *463 headers: Link: *47 x-github: @@ -60364,7 +60667,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &474 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60410,7 +60713,7 @@ paths: type: string nullable: true examples: - default: &474 + default: &475 value: groups: - group_id: '123' @@ -60536,7 +60839,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 headers: Link: *47 '403': *29 @@ -60630,7 +60933,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &464 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60693,8 +60996,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *397 - required: *398 + properties: *398 + required: *399 nullable: true members_count: type: integer @@ -60957,7 +61260,7 @@ paths: - repos_count - organization examples: - default: &464 + default: &465 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61034,9 +61337,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -61120,16 +61423,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '201': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 '422': *15 '403': *29 @@ -61159,7 +61462,7 @@ paths: responses: '204': description: Response - '422': &467 + '422': &468 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -61188,10 +61491,10 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 - '422': *467 + default: *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61234,10 +61537,10 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *469 - '422': *467 + default: *470 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61261,7 +61564,7 @@ paths: responses: '204': description: Response - '422': *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61293,12 +61596,12 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *47 - '422': *467 + '422': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61380,7 +61683,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: Team Membership description: Team Membership type: object @@ -61407,7 +61710,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &810 + response-if-user-is-a-team-maintainer: &811 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61470,9 +61773,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: &811 + response-if-users-membership-with-team-is-now-pending: &812 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61548,7 +61851,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 x-github: @@ -61579,14 +61882,14 @@ paths: parameters: - *89 - *220 - - *471 - *472 + - *473 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &812 + schema: &813 title: Team Repository description: A team's access to a repository. type: object @@ -62157,8 +62460,8 @@ paths: parameters: - *89 - *220 - - *471 - *472 + - *473 requestBody: required: false content: @@ -62205,8 +62508,8 @@ paths: parameters: - *89 - *220 - - *471 - *472 + - *473 responses: '204': description: Response @@ -62239,10 +62542,10 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 - '422': *467 + default: *475 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62308,7 +62611,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -62320,7 +62623,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62354,7 +62657,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: &813 + response-if-child-teams-exist: &814 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62508,7 +62811,7 @@ paths: resources: type: object properties: - core: &475 + core: &476 title: Rate Limit type: object properties: @@ -62525,21 +62828,21 @@ paths: - remaining - reset - used - graphql: *475 - search: *475 - code_search: *475 - source_import: *475 - integration_manifest: *475 - code_scanning_upload: *475 - actions_runner_registration: *475 - scim: *475 - dependency_snapshots: *475 - dependency_sbom: *475 - code_scanning_autofix: *475 + graphql: *476 + search: *476 + code_search: *476 + source_import: *476 + integration_manifest: *476 + code_scanning_upload: *476 + actions_runner_registration: *476 + scim: *476 + dependency_snapshots: *476 + dependency_sbom: *476 + code_scanning_autofix: *476 required: - core - search - rate: *475 + rate: *476 required: - rate - resources @@ -62644,14 +62947,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *476 + schema: *477 examples: default-response: summary: Default response @@ -63160,7 +63463,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *477 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63178,8 +63481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -63480,10 +63783,10 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 - '307': &479 + default: *479 + '307': &480 description: Temporary Redirect content: application/json: @@ -63512,8 +63815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -63535,7 +63838,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': *479 + '307': *480 '404': *6 '409': *121 x-github: @@ -63559,11 +63862,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 - - &496 + - &497 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63586,7 +63889,7 @@ paths: type: integer artifacts: type: array - items: &480 + items: &481 title: Artifact description: An artifact type: object @@ -63664,7 +63967,7 @@ paths: - expires_at - updated_at examples: - default: &497 + default: &498 value: total_count: 2 artifacts: @@ -63725,9 +64028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *471 - *472 - - &481 + - *473 + - &482 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63739,7 +64042,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: default: value: @@ -63777,9 +64080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *471 - *472 - - *481 + - *473 + - *482 responses: '204': description: Response @@ -63803,9 +64106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *471 - *472 - - *481 + - *473 + - *482 - name: archive_format in: path required: true @@ -63819,7 +64122,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': &663 + '410': &664 description: Gone content: application/json: @@ -63844,14 +64147,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &482 + schema: &483 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -63884,13 +64187,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: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *482 + schema: *483 examples: selected_actions: *44 responses: @@ -63919,14 +64222,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &483 + schema: &484 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -63959,13 +64262,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: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *483 + schema: *484 examples: selected_actions: *46 responses: @@ -63996,14 +64299,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: default: value: @@ -64029,11 +64332,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: - - *471 - *472 + - *473 - *17 - *19 - - &485 + - &486 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 @@ -64067,7 +64370,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -64109,7 +64412,7 @@ paths: - total_count - actions_caches examples: - default: &487 + default: &488 value: total_count: 1 actions_caches: @@ -64141,23 +64444,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: - - *471 - *472 + - *473 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *485 + - *486 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64177,8 +64480,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: - - *471 - *472 + - *473 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64209,9 +64512,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: - - *471 - *472 - - &488 + - *473 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -64223,7 +64526,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &501 title: Job description: Information of a job execution in a workflow run type: object @@ -64530,9 +64833,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: - - *471 - *472 - - *488 + - *473 + - *489 responses: '302': description: Response @@ -64560,9 +64863,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: - - *471 - *472 - - *488 + - *473 + - *489 requestBody: required: false content: @@ -64607,8 +64910,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: - - *471 - *472 + - *473 responses: '200': description: Status response @@ -64658,8 +64961,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -64722,8 +65025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -64741,7 +65044,7 @@ paths: type: integer secrets: type: array - items: &502 + items: &503 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64761,7 +65064,7 @@ paths: - created_at - updated_at examples: - default: &503 + default: &504 value: total_count: 2 secrets: @@ -64794,9 +65097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *471 - *472 - - *489 + - *473 + - *490 - *19 responses: '200': @@ -64813,7 +65116,7 @@ paths: type: integer variables: type: array - items: &506 + items: &507 title: Actions Variable type: object properties: @@ -64843,7 +65146,7 @@ paths: - created_at - updated_at examples: - default: &507 + default: &508 value: total_count: 2 variables: @@ -64876,8 +65179,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64886,7 +65189,7 @@ paths: schema: type: object properties: - enabled: &490 + enabled: &491 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 @@ -64921,8 +65224,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -64933,7 +65236,7 @@ paths: schema: type: object properties: - enabled: *490 + enabled: *491 allowed_actions: *62 sha_pinning_required: *63 required: @@ -64966,14 +65269,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &491 + schema: &492 type: object properties: access_level: @@ -64991,7 +65294,7 @@ paths: required: - access_level examples: - default: &492 + default: &493 value: access_level: organization x-github: @@ -65016,15 +65319,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: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 responses: '204': description: Response @@ -65048,8 +65351,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65079,8 +65382,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: - - *471 - *472 + - *473 responses: '204': description: Empty response for successful settings update @@ -65114,8 +65417,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65142,8 +65445,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -65177,8 +65480,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65206,8 +65509,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -65238,8 +65541,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65270,8 +65573,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -65303,8 +65606,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65333,8 +65636,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: - - *471 - *472 + - *473 responses: '204': description: Success response @@ -65374,8 +65677,8 @@ paths: in: query schema: type: string - - *471 - *472 + - *473 - *17 - *19 responses: @@ -65419,8 +65722,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65452,8 +65755,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -65527,8 +65830,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: - - *471 - *472 + - *473 responses: '201': description: Response @@ -65564,8 +65867,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: - - *471 - *472 + - *473 responses: '201': description: Response @@ -65595,8 +65898,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: - - *471 - *472 + - *473 - *77 responses: '200': @@ -65626,8 +65929,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: - - *471 - *472 + - *473 - *77 responses: '204': @@ -65654,8 +65957,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: - - *471 - *472 + - *473 - *77 responses: '200': *83 @@ -65680,8 +65983,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: - - *471 - *472 + - *473 - *77 requestBody: required: true @@ -65730,8 +66033,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: - - *471 - *472 + - *473 - *77 requestBody: required: true @@ -65781,8 +66084,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: - - *471 - *472 + - *473 - *77 responses: '200': *298 @@ -65812,8 +66115,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: - - *471 - *472 + - *473 - *77 - *299 responses: @@ -65843,9 +66146,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: - - *471 - *472 - - &510 + - *473 + - &511 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. @@ -65853,7 +66156,7 @@ paths: required: false schema: type: string - - &511 + - &512 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -65861,7 +66164,7 @@ paths: required: false schema: type: string - - &512 + - &513 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -65870,7 +66173,7 @@ paths: required: false schema: type: string - - &513 + - &514 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 @@ -65897,7 +66200,7 @@ paths: - pending - *17 - *19 - - &514 + - &515 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)." @@ -65906,7 +66209,7 @@ paths: schema: type: string format: date-time - - &493 + - &494 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -65915,13 +66218,13 @@ paths: schema: type: boolean default: false - - &515 + - &516 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &516 + - &517 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -65944,7 +66247,7 @@ paths: type: integer workflow_runs: type: array - items: &494 + items: &495 title: Workflow Run description: An invocation of a workflow type: object @@ -66092,7 +66395,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &538 + properties: &539 id: type: string description: SHA for the commit @@ -66143,7 +66446,7 @@ paths: - name - email nullable: true - required: &539 + required: &540 - id - tree_id - message @@ -66190,7 +66493,7 @@ paths: - workflow_url - pull_requests examples: - default: &517 + default: &518 value: total_count: 1 workflow_runs: @@ -66426,24 +66729,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *471 - *472 - - &495 + - *473 + - &496 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: &498 + default: &499 value: id: 30433642 name: Build @@ -66684,9 +66987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '204': description: Response @@ -66709,9 +67012,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: - - *471 - *472 - - *495 + - *473 + - *496 responses: '200': description: Response @@ -66830,9 +67133,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: - - *471 - *472 - - *495 + - *473 + - *496 responses: '201': description: Response @@ -66865,12 +67168,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *471 - *472 - - *495 + - *473 + - *496 - *17 - *19 - - *496 + - *497 - *112 responses: '200': @@ -66887,9 +67190,9 @@ paths: type: integer artifacts: type: array - items: *480 + items: *481 examples: - default: *497 + default: *498 headers: Link: *47 x-github: @@ -66913,25 +67216,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *471 - *472 - - *495 - - &499 + - *473 + - *496 + - &500 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *498 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66954,10 +67257,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: - - *471 - *472 - - *495 - - *499 + - *473 + - *496 + - *500 - *17 - *19 responses: @@ -66975,9 +67278,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *501 examples: - default: &501 + default: &502 value: total_count: 1 jobs: @@ -67090,10 +67393,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *471 - *472 - - *495 - - *499 + - *473 + - *496 + - *500 responses: '302': description: Response @@ -67121,9 +67424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '202': description: Response @@ -67156,9 +67459,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: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: true content: @@ -67225,9 +67528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '202': description: Response @@ -67260,9 +67563,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: - - *471 - *472 - - *495 + - *473 + - *496 - 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 @@ -67292,9 +67595,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *501 examples: - default: *501 + default: *502 headers: Link: *47 x-github: @@ -67319,9 +67622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '302': description: Response @@ -67348,9 +67651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '204': description: Response @@ -67377,9 +67680,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: - - *471 - *472 - - *495 + - *473 + - *496 responses: '200': description: Response @@ -67439,7 +67742,7 @@ paths: items: type: object properties: - type: &630 + type: &631 type: string description: The type of reviewer. enum: @@ -67524,9 +67827,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: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: true content: @@ -67573,7 +67876,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67679,7 +67982,7 @@ paths: - created_at - updated_at examples: - default: &616 + default: &617 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67735,9 +68038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: false content: @@ -67781,9 +68084,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: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: false content: @@ -67837,9 +68140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '200': description: Response @@ -67976,8 +68279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -67995,9 +68298,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *503 examples: - default: *503 + default: *504 headers: Link: *47 x-github: @@ -68022,16 +68325,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68053,17 +68356,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '200': description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &643 + default: &644 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68089,8 +68392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 requestBody: required: true @@ -68148,8 +68451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '204': @@ -68175,9 +68478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *471 - *472 - - *489 + - *473 + - *490 - *19 responses: '200': @@ -68194,9 +68497,9 @@ paths: type: integer variables: type: array - items: *506 + items: *507 examples: - default: *507 + default: *508 headers: Link: *47 x-github: @@ -68219,8 +68522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -68272,17 +68575,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *471 - *472 + - *473 - *304 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &644 + default: &645 value: name: USERNAME value: octocat @@ -68308,8 +68611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *471 - *472 + - *473 - *304 requestBody: required: true @@ -68352,8 +68655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *471 - *472 + - *473 - *304 responses: '204': @@ -68379,8 +68682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -68398,7 +68701,7 @@ paths: type: integer workflows: type: array - items: &508 + items: &509 title: Workflow description: A GitHub Actions workflow type: object @@ -68505,9 +68808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *471 - *472 - - &509 + - *473 + - &510 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68522,7 +68825,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -68555,9 +68858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '204': description: Response @@ -68582,9 +68885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -68671,9 +68974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '204': description: Response @@ -68700,19 +69003,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: - - *471 - *472 - - *509 + - *473 - *510 - *511 - *512 - *513 + - *514 - *17 - *19 - - *514 - - *493 - *515 + - *494 - *516 + - *517 responses: '200': description: Response @@ -68728,9 +69031,9 @@ paths: type: integer workflow_runs: type: array - items: *494 + items: *495 examples: - default: *517 + default: *518 headers: Link: *47 x-github: @@ -68763,9 +69066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '200': description: Response @@ -68826,8 +69129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *471 - *472 + - *473 - *112 - *17 - *110 @@ -68991,8 +69294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -69029,8 +69332,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: - - *471 - *472 + - *473 - name: assignee in: path required: true @@ -69066,8 +69369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -69179,8 +69482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *471 - *472 + - *473 - *17 - *110 - *111 @@ -69237,7 +69540,7 @@ paths: initiator: type: string examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69257,8 +69560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -69266,7 +69569,7 @@ paths: application/json: schema: type: array - items: &519 + items: &520 title: Autolink reference description: An autolink reference. type: object @@ -69320,8 +69623,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -69360,9 +69663,9 @@ paths: description: response content: application/json: - schema: *519 + schema: *520 examples: - default: &520 + default: &521 value: id: 1 key_prefix: TICKET- @@ -69393,9 +69696,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: - - *471 - *472 - - &521 + - *473 + - &522 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69407,9 +69710,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -69429,9 +69732,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: - - *471 - *472 - - *521 + - *473 + - *522 responses: '204': description: Response @@ -69455,8 +69758,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: - - *471 - *472 + - *473 responses: '200': description: Response if Dependabot is enabled @@ -69504,8 +69807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -69526,8 +69829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -69547,8 +69850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *471 - *472 + - *473 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69586,7 +69889,7 @@ paths: - url protected: type: boolean - protection: &523 + protection: &524 title: Branch Protection description: Branch Protection type: object @@ -69628,7 +69931,7 @@ paths: required: - contexts - checks - enforce_admins: &526 + enforce_admins: &527 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69643,7 +69946,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &528 + required_pull_request_reviews: &529 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -69719,7 +70022,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &525 + restrictions: &526 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -69996,9 +70299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *471 - *472 - - &524 + - *473 + - &525 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). @@ -70012,14 +70315,14 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &588 + commit: &589 title: Commit description: Commit type: object @@ -70053,7 +70356,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &522 + properties: &523 name: type: string example: '"Chris Wanstrath"' @@ -70069,7 +70372,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *523 nullable: true message: type: string @@ -70090,7 +70393,7 @@ paths: required: - sha - url - verification: &650 + verification: &651 title: Verification type: object properties: @@ -70160,7 +70463,7 @@ paths: type: integer files: type: array - items: &601 + items: &602 title: Diff Entry description: Diff Entry type: object @@ -70244,7 +70547,7 @@ paths: - self protected: type: boolean - protection: *523 + protection: *524 protection_url: type: string format: uri @@ -70351,7 +70654,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *477 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -70373,15 +70676,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -70575,9 +70878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -70832,7 +71135,7 @@ paths: url: type: string format: uri - required_status_checks: &531 + required_status_checks: &532 title: Status Check Policy description: Status Check Policy type: object @@ -70984,7 +71287,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *525 + restrictions: *526 required_conversation_resolution: type: object properties: @@ -71096,9 +71399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71123,17 +71426,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71155,17 +71458,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71184,9 +71487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71211,17 +71514,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &529 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71317,9 +71620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71417,9 +71720,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 '422': *15 x-github: githubCloudOnly: false @@ -71440,9 +71743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71469,17 +71772,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &530 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71502,17 +71805,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *530 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -71532,9 +71835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71559,17 +71862,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: &532 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71595,9 +71898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71649,9 +71952,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: *532 + default: *533 '404': *6 '422': *15 x-github: @@ -71673,9 +71976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71699,9 +72002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -71735,9 +72038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71804,9 +72107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71870,9 +72173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: content: application/json: @@ -71938,15 +72241,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -72037,9 +72340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -72062,9 +72365,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: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -72074,7 +72377,7 @@ paths: type: array items: *5 examples: - default: &533 + default: &534 value: - id: 1 slug: octoapp @@ -72131,9 +72434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72167,7 +72470,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -72188,9 +72491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72224,7 +72527,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -72245,9 +72548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72281,7 +72584,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -72303,9 +72606,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: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -72315,7 +72618,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -72335,9 +72638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -72375,7 +72678,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -72396,9 +72699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -72436,7 +72739,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -72457,9 +72760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: content: application/json: @@ -72496,7 +72799,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -72518,9 +72821,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: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -72554,9 +72857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72614,9 +72917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72674,9 +72977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72736,9 +73039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72760,7 +73063,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -72874,8 +73177,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *471 - *472 + - *473 - *105 - *106 - *107 @@ -72911,8 +73214,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *471 - *472 + - *473 - name: bypass_request_number in: path required: true @@ -72985,8 +73288,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - *105 - *106 - *107 @@ -73026,8 +73329,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - name: bypass_request_number in: path required: true @@ -73097,8 +73400,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - name: bypass_request_number in: path required: true @@ -73169,8 +73472,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - name: bypass_response_id in: path required: true @@ -73203,8 +73506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -73483,7 +73786,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &536 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73883,9 +74186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *471 - *472 - - &536 + - *473 + - &537 name: check_run_id description: The unique identifier of the check run. in: path @@ -73897,9 +74200,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &537 + default: &538 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73999,9 +74302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *471 - *472 - - *536 + - *473 + - *537 requestBody: required: true content: @@ -74241,9 +74544,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *537 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74263,9 +74566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *471 - *472 - - *536 + - *473 + - *537 - *17 - *19 responses: @@ -74360,9 +74663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *471 - *472 - - *536 + - *473 + - *537 responses: '201': description: Response @@ -74406,8 +74709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -74429,7 +74732,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &540 + schema: &541 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74519,8 +74822,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *538 - required: *539 + properties: *539 + required: *540 latest_check_runs_count: type: integer check_runs_url: @@ -74548,7 +74851,7 @@ paths: - check_runs_url - pull_requests examples: - default: &541 + default: &542 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74839,9 +75142,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74860,8 +75163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -75170,9 +75473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *471 - *472 - - &542 + - *473 + - &543 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75184,9 +75487,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75209,17 +75512,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: - - *471 - *472 - - *542 - - &594 + - *473 + - *543 + - &595 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &595 + - &596 name: status description: Returns check runs with the specified `status`. in: query @@ -75258,9 +75561,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *536 examples: - default: &596 + default: &597 value: total_count: 1 check_runs: @@ -75362,9 +75665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *471 - *472 - - *542 + - *473 + - *543 responses: '201': description: Response @@ -75397,21 +75700,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: - - *471 - *472 + - *473 - *324 - *325 - *19 - *17 - - &558 + - &559 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: *543 - - &559 + schema: *544 + - &560 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75442,7 +75745,7 @@ paths: be returned. in: query required: false - schema: *544 + schema: *545 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75466,7 +75769,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *545 + instances_url: *546 state: *115 fixed_at: *140 dismissed_by: @@ -75477,11 +75780,11 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *546 - dismissed_comment: *547 - rule: *548 - tool: *549 - most_recent_instance: *550 + dismissed_reason: *547 + dismissed_comment: *548 + rule: *549 + tool: *550 + most_recent_instance: *551 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -75607,7 +75910,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &551 + '403': &552 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75634,9 +75937,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: - - *471 - *472 - - &552 + - *473 + - &553 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75650,7 +75953,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &554 type: object properties: number: *130 @@ -75658,7 +75961,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *545 + instances_url: *546 state: *115 fixed_at: *140 dismissed_by: @@ -75669,8 +75972,8 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *547 + dismissed_comment: *548 rule: type: object properties: @@ -75724,8 +76027,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *549 - most_recent_instance: *550 + tool: *550 + most_recent_instance: *551 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -75824,7 +76127,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -75844,9 +76147,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: - - *471 - *472 - - *552 + - *473 + - *553 requestBody: required: true content: @@ -75861,8 +76164,8 @@ paths: enum: - open - dismissed - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *547 + dismissed_comment: *548 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -75890,7 +76193,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -75966,7 +76269,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &557 + '403': &558 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -75993,15 +76296,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: - - *471 - *472 - - *552 + - *473 + - *553 responses: '200': description: Response content: application/json: - schema: &554 + schema: &555 type: object properties: status: @@ -76027,13 +76330,13 @@ paths: - description - started_at examples: - default: &555 + default: &556 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &556 + '400': &557 description: Bad Request content: application/json: @@ -76044,7 +76347,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': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76069,29 +76372,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: - - *471 - *472 - - *552 + - *473 + - *553 responses: '200': description: OK content: application/json: - schema: *554 + schema: *555 examples: - default: *555 + default: *556 '202': description: Accepted content: application/json: - schema: *554 + schema: *555 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *556 + '400': *557 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76123,9 +76426,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: - - *471 - *472 - - *552 + - *473 + - *553 requestBody: required: false content: @@ -76170,8 +76473,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *556 - '403': *557 + '400': *557 + '403': *558 '404': *6 '422': description: Unprocessable Entity @@ -76195,13 +76498,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: - - *471 - *472 - - *552 + - *473 + - *553 - *19 - *17 - - *558 - *559 + - *560 responses: '200': description: Response @@ -76212,10 +76515,10 @@ paths: items: type: object properties: - ref: *543 - analysis_key: *560 - environment: *561 - category: *562 + ref: *544 + analysis_key: *561 + environment: *562 + category: *563 state: type: string description: State of a code scanning alert instance. @@ -76230,7 +76533,7 @@ paths: properties: text: type: string - location: *563 + location: *564 html_url: type: string classifications: @@ -76238,7 +76541,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: *564 + items: *565 examples: default: value: @@ -76275,7 +76578,7 @@ paths: end_column: 50 classifications: - source - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76309,25 +76612,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: - - *471 - *472 + - *473 - *324 - *325 - *19 - *17 - - *559 + - *560 - 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: *543 + schema: *544 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &565 + schema: &566 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -76348,23 +76651,23 @@ paths: application/json: schema: type: array - items: &566 + items: &567 type: object properties: - ref: *543 - commit_sha: &574 + ref: *544 + commit_sha: &575 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: *560 + analysis_key: *561 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *562 + category: *563 error: type: string example: error reading field xyz @@ -76388,8 +76691,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *565 - tool: *549 + sarif_id: *566 + tool: *550 deletable: type: boolean warning: @@ -76450,7 +76753,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76486,8 +76789,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: - - *471 - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76500,7 +76803,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: response: summary: application/json response @@ -76554,7 +76857,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *551 + '403': *552 '404': *6 '422': description: Response if analysis could not be processed @@ -76641,8 +76944,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: - - *471 - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76695,7 +76998,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': *557 + '403': *558 '404': *6 '503': *198 x-github: @@ -76717,8 +77020,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -76726,7 +77029,7 @@ paths: application/json: schema: type: array - items: &567 + items: &568 title: CodeQL Database description: A CodeQL database. type: object @@ -76837,7 +77140,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': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76866,8 +77169,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: - - *471 - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -76879,7 +77182,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: default: value: @@ -76911,9 +77214,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': &603 + '302': &604 description: Found - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76935,8 +77238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *471 - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -76946,7 +77249,7 @@ paths: responses: '204': description: Response - '403': *557 + '403': *558 '404': *6 '503': *198 x-github: @@ -76974,8 +77277,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -76984,7 +77287,7 @@ paths: type: object additionalProperties: false properties: - language: &568 + language: &569 type: string description: The language targeted by the CodeQL query enum: @@ -77064,7 +77367,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &572 + schema: &573 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77074,7 +77377,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *568 + query_language: *569 query_pack_url: type: string description: The download url for the query pack. @@ -77121,7 +77424,7 @@ paths: items: type: object properties: - repository: &569 + repository: &570 title: Repository Identifier description: Repository Identifier type: object @@ -77157,7 +77460,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &573 + analysis_status: &574 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77189,7 +77492,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &570 + access_mismatch_repos: &571 type: object properties: repository_count: @@ -77203,7 +77506,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: *569 + items: *570 required: - repository_count - repositories @@ -77225,8 +77528,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *570 - over_limit_repos: *570 + no_codeql_db_repos: *571 + over_limit_repos: *571 required: - access_mismatch_repos - not_found_repos @@ -77242,7 +77545,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &571 + value: &572 summary: Default response value: id: 1 @@ -77388,10 +77691,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *571 + value: *572 repository_lists: summary: Response for a successful variant analysis submission - value: *571 + value: *572 '404': *6 '422': description: Unable to process variant analysis submission @@ -77419,8 +77722,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: - - *471 - *472 + - *473 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77432,9 +77735,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *571 + default: *572 '404': *6 '503': *198 x-github: @@ -77457,7 +77760,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: - - *471 + - *472 - name: repo in: path description: The name of the controller repository. @@ -77492,7 +77795,7 @@ paths: type: object properties: repository: *122 - analysis_status: *573 + analysis_status: *574 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77617,8 +77920,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -77703,7 +78006,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -77724,8 +78027,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -77817,7 +78120,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *557 + '403': *558 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -77888,8 +78191,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -77897,7 +78200,7 @@ paths: schema: type: object properties: - commit_sha: *574 + commit_sha: *575 ref: type: string description: |- @@ -77955,7 +78258,7 @@ paths: schema: type: object properties: - id: *565 + id: *566 url: type: string description: The REST API URL for checking the status of the upload. @@ -77969,7 +78272,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': *557 + '403': *558 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -77992,8 +78295,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: - - *471 - *472 + - *473 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78039,7 +78342,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': *551 + '403': *552 '404': description: Not Found if the sarif id does not match any upload '503': *198 @@ -78064,8 +78367,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -78146,8 +78449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *471 - *472 + - *473 - 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 @@ -78267,8 +78570,8 @@ paths: parameters: - *17 - *19 - - *471 - *472 + - *473 responses: '200': description: Response @@ -78284,7 +78587,7 @@ paths: type: integer codespaces: type: array - items: *389 + items: *390 examples: default: value: @@ -78582,8 +78885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -78646,17 +78949,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '400': *14 '401': *25 '403': *29 @@ -78685,8 +78988,8 @@ paths: parameters: - *17 - *19 - - *471 - *472 + - *473 responses: '200': description: Response @@ -78750,8 +79053,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: - - *471 - *472 + - *473 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -78790,8 +79093,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *576 - required: *577 + properties: *577 + required: *578 examples: default: &821 value: @@ -78833,8 +79136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *471 - *472 + - *473 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -78918,8 +79221,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: - - *471 - *472 + - *473 - 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 @@ -78985,8 +79288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -79004,7 +79307,7 @@ paths: type: integer secrets: type: array - items: &581 + items: &582 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79024,7 +79327,7 @@ paths: - created_at - updated_at examples: - default: *578 + default: *579 headers: Link: *47 x-github: @@ -79047,16 +79350,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *580 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79076,17 +79379,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '200': description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79106,8 +79409,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: - - *471 - *472 + - *473 - *301 requestBody: required: true @@ -79160,8 +79463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '204': @@ -79190,8 +79493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *471 - *472 + - *473 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79233,7 +79536,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &583 + properties: &584 login: type: string example: octocat @@ -79326,7 +79629,7 @@ paths: user_view_type: type: string example: public - required: &584 + required: &585 - avatar_url - events_url - followers_url @@ -79400,8 +79703,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: - - *471 - *472 + - *473 - *145 responses: '204': @@ -79448,8 +79751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *471 - *472 + - *473 - *145 requestBody: required: false @@ -79476,7 +79779,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &662 + schema: &663 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79705,8 +80008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *471 - *472 + - *473 - *145 responses: '204': @@ -79738,8 +80041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *471 - *472 + - *473 - *145 responses: '200': @@ -79760,8 +80063,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *583 - required: *584 + properties: *584 + required: *585 nullable: true required: - permission @@ -79816,8 +80119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -79827,7 +80130,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 title: Commit Comment description: Commit Comment type: object @@ -79885,7 +80188,7 @@ paths: - created_at - updated_at examples: - default: &590 + default: &591 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79944,17 +80247,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: &591 + default: &592 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80011,8 +80314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -80035,7 +80338,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -80086,8 +80389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 responses: '204': @@ -80109,8 +80412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80137,7 +80440,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80180,7 +80483,7 @@ paths: - content - created_at examples: - default: &666 + default: &667 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80225,8 +80528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -80259,9 +80562,9 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: &587 + default: &588 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80290,9 +80593,9 @@ paths: description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -80314,10 +80617,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *471 - *472 + - *473 - *243 - - &667 + - &668 name: reaction_id description: The unique identifier of the reaction. in: path @@ -80372,8 +80675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *471 - *472 + - *473 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80429,9 +80732,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: &719 + default: &720 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80525,9 +80828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *471 - *472 - - &589 + - *473 + - &590 name: commit_sha description: The SHA of the commit. in: path @@ -80599,9 +80902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *471 - *472 - - *589 + - *473 + - *590 - *17 - *19 responses: @@ -80611,9 +80914,9 @@ paths: application/json: schema: type: array - items: *585 + items: *586 examples: - default: *590 + default: *591 headers: Link: *47 x-github: @@ -80641,9 +80944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *471 - *472 - - *589 + - *473 + - *590 requestBody: required: true content: @@ -80678,9 +80981,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *591 + default: *592 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80708,9 +81011,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: - - *471 - *472 - - *589 + - *473 + - *590 - *17 - *19 responses: @@ -80720,9 +81023,9 @@ paths: application/json: schema: type: array - items: *592 + items: *593 examples: - default: &711 + default: &712 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81259,11 +81562,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *471 - *472 + - *473 - *19 - *17 - - &593 + - &594 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)" @@ -81278,9 +81581,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: &696 + default: &697 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81393,11 +81696,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: - - *471 - *472 - - *593 + - *473 - *594 - *595 + - *596 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81431,9 +81734,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *536 examples: - default: *596 + default: *597 headers: Link: *47 x-github: @@ -81458,9 +81761,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: - - *471 - *472 - - *593 + - *473 + - *594 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81468,7 +81771,7 @@ paths: schema: type: integer example: 1 - - *594 + - *595 - *17 - *19 responses: @@ -81486,7 +81789,7 @@ paths: type: integer check_suites: type: array - items: *540 + items: *541 examples: default: value: @@ -81686,9 +81989,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: - - *471 - *472 - - *593 + - *473 + - *594 - *17 - *19 responses: @@ -81886,9 +82189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *471 - *472 - - *593 + - *473 + - *594 - *17 - *19 responses: @@ -81898,7 +82201,7 @@ paths: application/json: schema: type: array - items: &772 + items: &773 title: Status description: The status of a commit. type: object @@ -81979,7 +82282,7 @@ paths: site_admin: false headers: Link: *47 - '301': *477 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82007,8 +82310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -82037,20 +82340,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *597 - required: *598 + properties: *598 + required: *599 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &599 + properties: &600 url: type: string format: uri html_url: type: string format: uri - required: &600 + required: &601 - url - html_url nullable: true @@ -82064,26 +82367,26 @@ paths: contributing: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true readme: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true issue_template: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true pull_request_template: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true required: - code_of_conduct @@ -82210,8 +82513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *471 - *472 + - *473 - *19 - *17 - name: basehead @@ -82254,8 +82557,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *588 - merge_base_commit: *588 + base_commit: *589 + merge_base_commit: *589 status: type: string enum: @@ -82275,10 +82578,10 @@ paths: example: 6 commits: type: array - items: *588 + items: *589 files: type: array - items: *601 + items: *602 required: - url - html_url @@ -82564,8 +82867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *471 - *472 + - *473 - name: path description: path parameter in: path @@ -82725,7 +83028,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &602 + response-if-content-is-a-file-github-object: &603 summary: Response if content is a file value: type: file @@ -82857,7 +83160,7 @@ paths: - size - type - url - - &724 + - &725 title: Content File description: Content File type: object @@ -83058,7 +83361,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *602 + response-if-content-is-a-file: *603 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83127,7 +83430,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *603 + '302': *604 '304': *37 x-github: githubCloudOnly: false @@ -83150,8 +83453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *471 - *472 + - *473 - name: path description: path parameter in: path @@ -83244,7 +83547,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &605 title: File Commit description: File Commit type: object @@ -83396,7 +83699,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *605 examples: example-for-creating-a-file: value: @@ -83450,7 +83753,7 @@ paths: schema: oneOf: - *3 - - &645 + - &646 description: Repository rule violation was detected type: object properties: @@ -83471,7 +83774,7 @@ paths: items: type: object properties: - placeholder_id: &764 + placeholder_id: &765 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83503,8 +83806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *471 - *472 + - *473 - name: path description: path parameter in: path @@ -83565,7 +83868,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *605 examples: default: value: @@ -83620,8 +83923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *471 - *472 + - *473 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -83744,23 +84047,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *471 - *472 - - *340 + - *473 - *341 - *342 - *343 + - *344 - 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 - - *344 - - *605 - *345 + - *606 - *346 - *347 + - *348 - *112 - *110 - *111 @@ -83772,7 +84075,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 type: object description: A Dependabot alert. properties: @@ -83818,7 +84121,7 @@ paths: - unknown - direct - transitive - security_advisory: *606 + security_advisory: *607 security_vulnerability: *134 url: *135 html_url: *136 @@ -83849,8 +84152,8 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: *607 - dismissal_request: *608 + auto_dismissed_at: *608 + dismissal_request: *609 assignees: type: array description: The users assigned to this alert. @@ -84105,9 +84408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *471 - *472 - - &610 + - *473 + - &611 name: alert_number in: path description: |- @@ -84122,7 +84425,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -84254,9 +84557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *471 - *472 - - *610 + - *473 + - *611 requestBody: required: true content: @@ -84312,7 +84615,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -84442,8 +84745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -84461,7 +84764,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &614 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84514,16 +84817,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84543,15 +84846,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '200': description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -84577,8 +84880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 requestBody: required: true @@ -84631,8 +84934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '204': @@ -84655,8 +84958,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: - - *471 - *472 + - *473 - 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 @@ -84816,8 +85119,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -85056,8 +85359,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -85132,7 +85435,7 @@ paths: - version - url additionalProperties: false - metadata: &614 + metadata: &615 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85165,7 +85468,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *614 + metadata: *615 resolved: type: object description: A collection of resolved package dependencies. @@ -85178,7 +85481,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *614 + metadata: *615 relationship: type: string description: A notation of whether a dependency is requested @@ -85307,8 +85610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *471 - *472 + - *473 - name: sha description: The SHA recorded at creation time. in: query @@ -85348,9 +85651,9 @@ paths: application/json: schema: type: array - items: *615 + items: *616 examples: - default: *616 + default: *617 headers: Link: *47 x-github: @@ -85416,8 +85719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -85498,7 +85801,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: simple-example: summary: Simple example @@ -85571,9 +85874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *471 - *472 - - &617 + - *473 + - &618 name: deployment_id description: deployment_id parameter in: path @@ -85585,7 +85888,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -85650,9 +85953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *471 - *472 - - *617 + - *473 + - *618 responses: '204': description: Response @@ -85674,9 +85977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *471 - *472 - - *617 + - *473 + - *618 - *17 - *19 responses: @@ -85686,7 +85989,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 title: Deployment Status description: The status of a deployment. type: object @@ -85847,9 +86150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *471 - *472 - - *617 + - *473 + - *618 requestBody: required: true content: @@ -85924,9 +86227,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: &619 + default: &620 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -85982,9 +86285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *471 - *472 - - *617 + - *473 + - *618 - name: status_id in: path required: true @@ -85995,9 +86298,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: *619 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -86024,12 +86327,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 - - *620 + - *473 - *621 - *622 - *623 + - *624 - *17 - *19 responses: @@ -86039,9 +86342,9 @@ paths: application/json: schema: type: array - items: *624 + items: *625 examples: - default: *625 + default: *626 '404': *6 '403': *29 '500': *40 @@ -86065,8 +86368,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86078,7 +86381,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *624 + schema: *625 examples: default: value: @@ -86134,8 +86437,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86194,12 +86497,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 - - *620 + - *473 - *621 - *622 - *623 + - *624 - *17 - *19 responses: @@ -86209,9 +86512,9 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: *627 + default: *628 '404': *6 '403': *29 '500': *40 @@ -86235,8 +86538,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86248,7 +86551,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *626 + schema: *627 examples: default: value: @@ -86299,8 +86602,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86338,7 +86641,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *626 + schema: *627 examples: default: value: @@ -86389,8 +86692,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86461,8 +86764,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86495,12 +86798,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - *105 - *106 - *107 - - *352 + - *353 - *17 - *19 responses: @@ -86510,9 +86813,9 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: - default: *629 + default: *630 '404': *6 '403': *29 '500': *40 @@ -86537,8 +86840,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86550,7 +86853,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -86608,8 +86911,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86678,8 +86981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -86736,8 +87039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -86754,7 +87057,7 @@ paths: type: integer environments: type: array - items: &631 + items: &632 title: Environment description: Details of a deployment environment type: object @@ -86806,7 +87109,7 @@ paths: type: type: string example: wait_timer - wait_timer: &633 + wait_timer: &634 type: integer example: 30 description: The amount of time to delay a job after @@ -86843,7 +87146,7 @@ paths: items: type: object properties: - type: *630 + type: *631 reviewer: anyOf: - *4 @@ -86867,7 +87170,7 @@ paths: - id - node_id - type - deployment_branch_policy: &634 + deployment_branch_policy: &635 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -86983,9 +87286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *471 - *472 - - &632 + - *473 + - &633 name: environment_name in: path required: true @@ -86998,9 +87301,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: - default: &635 + default: &636 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87084,9 +87387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *471 - *472 - - *632 + - *473 + - *633 requestBody: required: false content: @@ -87095,7 +87398,7 @@ paths: type: object nullable: true properties: - wait_timer: *633 + wait_timer: *634 prevent_self_review: type: boolean example: false @@ -87112,13 +87415,13 @@ paths: items: type: object properties: - type: *630 + type: *631 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *634 + deployment_branch_policy: *635 additionalProperties: false examples: default: @@ -87138,9 +87441,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: - default: *635 + default: *636 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87164,9 +87467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *471 - *472 - - *632 + - *473 + - *633 responses: '204': description: Default response @@ -87191,9 +87494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *17 - *19 responses: @@ -87211,7 +87514,7 @@ paths: example: 2 branch_policies: type: array - items: &636 + items: &637 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87268,9 +87571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 + - *473 + - *633 requestBody: required: true content: @@ -87316,9 +87619,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - example-wildcard: &637 + example-wildcard: &638 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87360,10 +87663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 - - &638 + - *473 + - *633 + - &639 name: branch_policy_id in: path required: true @@ -87375,9 +87678,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87396,10 +87699,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 - - *638 + - *473 + - *633 + - *639 requestBody: required: true content: @@ -87427,9 +87730,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87448,10 +87751,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 - - *638 + - *473 + - *633 + - *639 responses: '204': description: Response @@ -87476,9 +87779,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: - - *632 + - *633 + - *473 - *472 - - *471 responses: '200': description: List of deployment protection rules @@ -87494,7 +87797,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &639 + items: &640 title: Deployment protection rule description: Deployment protection rule type: object @@ -87513,7 +87816,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &640 + app: &641 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87612,9 +87915,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: - - *632 + - *633 + - *473 - *472 - - *471 requestBody: content: application/json: @@ -87635,9 +87938,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *639 + schema: *640 examples: - default: &641 + default: &642 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87672,9 +87975,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: - - *632 + - *633 + - *473 - *472 - - *471 - *19 - *17 responses: @@ -87693,7 +87996,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *640 + items: *641 examples: default: value: @@ -87728,10 +88031,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: - - *471 - *472 - - *632 - - &642 + - *473 + - *633 + - &643 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -87743,9 +88046,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *641 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87766,10 +88069,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: - - *632 + - *633 + - *473 - *472 - - *471 - - *642 + - *643 responses: '204': description: Response @@ -87795,9 +88098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *17 - *19 responses: @@ -87815,9 +88118,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *503 examples: - default: *503 + default: *504 headers: Link: *47 x-github: @@ -87842,17 +88145,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *471 - *472 - - *632 + - *473 + - *633 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87874,18 +88177,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *301 responses: '200': description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *643 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87907,9 +88210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *301 requestBody: required: true @@ -87967,9 +88270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *301 responses: '204': @@ -87995,10 +88298,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *471 - *472 - - *632 - - *489 + - *473 + - *633 + - *490 - *19 responses: '200': @@ -88015,9 +88318,9 @@ paths: type: integer variables: type: array - items: *506 + items: *507 examples: - default: *507 + default: *508 headers: Link: *47 x-github: @@ -88040,9 +88343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *471 - *472 - - *632 + - *473 + - *633 requestBody: required: true content: @@ -88094,18 +88397,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *304 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88126,10 +88429,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *471 - *472 + - *473 - *304 - - *632 + - *633 requestBody: required: true content: @@ -88171,10 +88474,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *471 - *472 + - *473 - *304 - - *632 + - *633 responses: '204': description: Response @@ -88196,8 +88499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -88265,8 +88568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *471 - *472 + - *473 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88425,8 +88728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -88458,9 +88761,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 '400': *14 '422': *15 '403': *29 @@ -88481,8 +88784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -88542,7 +88845,7 @@ paths: schema: oneOf: - *265 - - *645 + - *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88567,8 +88870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *471 - *472 + - *473 - name: file_sha in: path required: true @@ -88667,8 +88970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -88777,7 +89080,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &647 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -88991,15 +89294,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *471 - *472 - - *589 + - *473 + - *590 responses: '200': description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -89055,9 +89358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *471 - *472 - - &647 + - *473 + - &648 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. @@ -89074,7 +89377,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: Git Reference description: Git references within a repository type: object @@ -89149,17 +89452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *471 - *472 - - *647 + - *473 + - *648 responses: '200': description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: &649 + default: &650 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89188,8 +89491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -89218,9 +89521,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89246,9 +89549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *471 - *472 - - *647 + - *473 + - *648 requestBody: required: true content: @@ -89277,9 +89580,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 '422': *15 '409': *121 x-github: @@ -89297,9 +89600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *471 - *472 - - *647 + - *473 + - *648 responses: '204': description: Response @@ -89354,8 +89657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -89422,7 +89725,7 @@ paths: description: Response content: application/json: - schema: &651 + schema: &652 title: Git Tag description: Metadata for a Git tag type: object @@ -89473,7 +89776,7 @@ paths: - sha - type - url - verification: *650 + verification: *651 required: - sha - url @@ -89483,7 +89786,7 @@ paths: - tag - message examples: - default: &652 + default: &653 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89556,8 +89859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *471 - *472 + - *473 - name: tag_sha in: path required: true @@ -89568,9 +89871,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *652 examples: - default: *652 + default: *653 '404': *6 '409': *121 x-github: @@ -89594,8 +89897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -89668,7 +89971,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &654 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -89764,8 +90067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *471 - *472 + - *473 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -89788,7 +90091,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *654 examples: default-response: summary: Default response @@ -89847,8 +90150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -89858,7 +90161,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Webhook description: Webhooks for repositories. type: object @@ -89986,8 +90289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -90039,9 +90342,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: &655 + default: &656 value: type: Repository id: 12345678 @@ -90089,17 +90392,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '200': description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -90119,9 +90422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 requestBody: required: true content: @@ -90166,9 +90469,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '422': *15 '404': *6 x-github: @@ -90189,9 +90492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '204': description: Response @@ -90215,9 +90518,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: - - *471 - *472 - - *357 + - *473 + - *358 responses: '200': description: Response @@ -90244,9 +90547,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: - - *471 - *472 - - *357 + - *473 + - *358 requestBody: required: false content: @@ -90290,11 +90593,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *471 - *472 - - *357 - - *17 + - *473 - *358 + - *17 + - *359 responses: '200': description: Response @@ -90302,9 +90605,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 '400': *14 '422': *15 x-github: @@ -90323,18 +90626,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: - - *471 - *472 - - *357 + - *473 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *362 + default: *363 '400': *14 '422': *15 x-github: @@ -90353,9 +90656,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: - - *471 - *472 - - *357 + - *473 + - *358 - *16 responses: '202': *39 @@ -90378,9 +90681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '204': description: Response @@ -90405,9 +90708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '204': description: Response @@ -90430,8 +90733,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: - - *471 - *472 + - *473 responses: '200': description: Response if immutable releases are enabled @@ -90477,8 +90780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *471 - *472 + - *473 responses: '204': *157 '409': *121 @@ -90498,8 +90801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *471 - *472 + - *473 responses: '204': *157 '409': *121 @@ -90556,14 +90859,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &656 + schema: &657 title: Import description: A repository import from an external source. type: object @@ -90662,7 +90965,7 @@ paths: - html_url - authors_url examples: - default: &659 + default: &660 value: vcs: subversion use_lfs: true @@ -90678,7 +90981,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': &657 + '503': &658 description: Unavailable due to service under maintenance. content: application/json: @@ -90707,8 +91010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -90756,7 +91059,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: default: value: @@ -90781,7 +91084,7 @@ paths: type: string '422': *15 '404': *6 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90809,8 +91112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -90859,7 +91162,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: example-1: summary: Example 1 @@ -90907,7 +91210,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': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90930,12 +91233,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *471 - *472 + - *473 responses: '204': description: Response - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90961,8 +91264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *471 - *472 + - *473 - &842 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -90977,7 +91280,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: Porter Author description: Porter Author type: object @@ -91031,7 +91334,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': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91056,8 +91359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *471 - *472 + - *473 - name: author_id in: path required: true @@ -91087,7 +91390,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -91100,7 +91403,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91124,8 +91427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -91166,7 +91469,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91194,8 +91497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -91222,11 +91525,11 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *659 + default: *660 '422': *15 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91249,8 +91552,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -91258,8 +91561,8 @@ paths: application/json: schema: *22 examples: - default: *374 - '301': *477 + default: *375 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -91279,8 +91582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -91288,12 +91591,12 @@ paths: application/json: schema: anyOf: - - *376 + - *377 - type: object properties: {} additionalProperties: false examples: - default: &661 + default: &662 value: limit: collaborators_only origin: repository @@ -91318,13 +91621,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *660 + schema: *661 examples: default: summary: Example request body @@ -91336,9 +91639,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *661 + default: *662 '409': description: Response x-github: @@ -91360,8 +91663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -91384,8 +91687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -91395,7 +91698,7 @@ paths: application/json: schema: type: array - items: *662 + items: *663 examples: default: &835 value: @@ -91528,9 +91831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *471 - *472 - - *380 + - *473 + - *381 requestBody: required: false content: @@ -91559,7 +91862,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -91690,9 +91993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *471 - *472 - - *380 + - *473 + - *381 responses: '204': description: Response @@ -91723,8 +92026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *471 - *472 + - *473 - 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 @@ -91772,7 +92075,7 @@ paths: required: false schema: type: string - - *387 + - *388 - name: sort description: What to sort results by. in: query @@ -91797,7 +92100,7 @@ paths: type: array items: *227 examples: - default: &674 + default: &675 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91946,7 +92249,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *477 + '301': *478 '422': *15 '404': *6 x-github: @@ -91975,8 +92278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -92060,7 +92363,7 @@ paths: application/json: schema: *227 examples: - default: &671 + default: &672 value: id: 1 node_id: MDU6SXNzdWUx @@ -92217,7 +92520,7 @@ paths: '422': *15 '503': *198 '404': *6 - '410': *663 + '410': *664 x-github: triggersNotification: true githubCloudOnly: false @@ -92245,8 +92548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *471 - *472 + - *473 - *251 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92267,9 +92570,9 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: &673 + default: &674 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92327,17 +92630,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92392,8 +92695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -92416,9 +92719,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '422': *15 x-github: githubCloudOnly: false @@ -92436,8 +92739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '204': @@ -92466,15 +92769,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -92530,7 +92833,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *664 '422': *15 x-github: githubCloudOnly: false @@ -92547,8 +92850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '204': @@ -92556,7 +92859,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *664 '503': *198 x-github: githubCloudOnly: false @@ -92574,8 +92877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92602,9 +92905,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 @@ -92625,8 +92928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -92659,16 +92962,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -92690,10 +92993,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *471 - *472 + - *473 - *243 - - *667 + - *668 responses: '204': description: Response @@ -92713,8 +93016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -92724,7 +93027,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Issue Event description: Issue Event type: object @@ -92767,8 +93070,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *668 - required: *669 + properties: *669 + required: *670 nullable: true label: title: Issue Event Label @@ -93076,8 +93379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *471 - *472 + - *473 - name: event_id in: path required: true @@ -93088,7 +93391,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -93281,7 +93584,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *663 + '410': *664 '403': *29 x-github: githubCloudOnly: false @@ -93315,9 +93618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *471 - *472 - - &672 + - *473 + - &673 name: issue_number description: The number that identifies the issue. in: path @@ -93333,7 +93636,7 @@ paths: examples: default: summary: Issue - value: *671 + value: *672 pinned_comment: summary: Issue with pinned comment value: @@ -93532,9 +93835,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 '304': *37 x-github: githubCloudOnly: false @@ -93559,9 +93862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -93687,13 +93990,13 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 '422': *15 '503': *198 '403': *29 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93711,9 +94014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -93741,7 +94044,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93757,9 +94060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: content: application/json: @@ -93786,7 +94089,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93808,9 +94111,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: - - *471 - *472 - - *672 + - *473 + - *673 - name: assignee in: path required: true @@ -93850,9 +94153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *234 - *17 - *19 @@ -93863,13 +94166,13 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: *673 + default: *674 headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93898,9 +94201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -93922,16 +94225,16 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *663 + '410': *664 '422': *15 '404': *6 x-github: @@ -93959,9 +94262,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: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -93973,12 +94276,12 @@ paths: type: array items: *227 examples: - default: *674 + default: *675 headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94006,9 +94309,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: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -94032,15 +94335,15 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *477 + '301': *478 '403': *29 - '410': *663 + '410': *664 '422': *15 '404': *6 x-github: @@ -94071,9 +94374,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: - - *471 - *472 - - *672 + - *473 + - *673 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94087,13 +94390,13 @@ paths: application/json: schema: *227 examples: - default: *671 - '301': *477 + default: *672 + '301': *478 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *664 x-github: triggersNotification: true githubCloudOnly: false @@ -94119,9 +94422,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: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -94133,12 +94436,12 @@ paths: type: array items: *227 examples: - default: *674 + default: *675 headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94155,9 +94458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -94171,7 +94474,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &677 + - &678 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94225,7 +94528,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &679 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94361,7 +94664,7 @@ paths: - performed_via_github_app - assignee - assigner - - &679 + - &680 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94412,7 +94715,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &681 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -94463,7 +94766,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &682 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -94517,7 +94820,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &683 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -94564,7 +94867,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &684 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -94611,7 +94914,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &685 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94671,7 +94974,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &686 title: Locked Issue Event description: Locked Issue Event type: object @@ -94719,7 +95022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &686 + - &687 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -94785,7 +95088,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &687 + - &688 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -94851,7 +95154,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &688 + - &689 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94917,7 +95220,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &689 + - &690 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95008,7 +95311,7 @@ paths: color: red headers: Link: *47 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95025,9 +95328,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: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -95037,9 +95340,9 @@ paths: application/json: schema: type: array - items: *675 + items: *676 examples: - default: &778 + default: &779 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -95063,9 +95366,9 @@ paths: value: '2025-12-25' headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95082,9 +95385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -95096,7 +95399,7 @@ paths: type: array items: *226 examples: - default: &676 + default: &677 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95114,9 +95417,9 @@ paths: default: false headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95132,9 +95435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -95179,10 +95482,10 @@ paths: type: array items: *226 examples: - default: *676 - '301': *477 + default: *677 + '301': *478 '404': *6 - '410': *663 + '410': *664 '422': *15 x-github: githubCloudOnly: false @@ -95199,9 +95502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -95263,10 +95566,10 @@ paths: type: array items: *226 examples: - default: *676 - '301': *477 + default: *677 + '301': *478 '404': *6 - '410': *663 + '410': *664 '422': *15 x-github: githubCloudOnly: false @@ -95283,15 +95586,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 responses: '204': description: Response - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95310,9 +95613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - name: name in: path required: true @@ -95336,9 +95639,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95358,9 +95661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -95388,7 +95691,7 @@ paths: '204': description: Response '403': *29 - '410': *663 + '410': *664 '404': *6 '422': *15 x-github: @@ -95406,9 +95709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 responses: '204': description: Response @@ -95438,9 +95741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 responses: '200': description: Response @@ -95448,10 +95751,10 @@ paths: application/json: schema: *227 examples: - default: *671 - '301': *477 + default: *672 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95468,9 +95771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - 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. @@ -95496,13 +95799,13 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95520,9 +95823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95554,16 +95857,16 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -95585,10 +95888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *471 - *472 - - *672 - - *667 + - *473 + - *673 + - *668 responses: '204': description: Response @@ -95617,9 +95920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95643,7 +95946,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -95676,9 +95979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -95690,11 +95993,11 @@ paths: type: array items: *227 examples: - default: *674 + default: *675 headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95722,9 +96025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95753,14 +96056,14 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *663 + '410': *664 '422': *15 '404': *6 x-github: @@ -95780,9 +96083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95815,7 +96118,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 '403': *29 '404': *6 '422': *7 @@ -95837,9 +96140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -95854,7 +96157,6 @@ paths: description: Timeline Event type: object anyOf: - - *677 - *678 - *679 - *680 @@ -95867,6 +96169,7 @@ paths: - *687 - *688 - *689 + - *690 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95927,8 +96230,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *690 - required: *691 + properties: *691 + required: *692 nullable: true required: - event @@ -96183,7 +96486,7 @@ paths: type: string comments: type: array - items: &713 + items: &714 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96398,7 +96701,7 @@ paths: type: string comments: type: array - items: *585 + items: *586 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -96687,7 +96990,7 @@ paths: headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96704,8 +97007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -96715,7 +97018,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96781,8 +97084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -96818,9 +97121,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *693 examples: - default: &693 + default: &694 value: id: 1 key: ssh-rsa AAA... @@ -96854,9 +97157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *471 - *472 - - &694 + - *473 + - &695 name: key_id description: The unique identifier of the key. in: path @@ -96868,9 +97171,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *693 examples: - default: *693 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -96888,9 +97191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *471 - *472 - - *694 + - *473 + - *695 responses: '204': description: Response @@ -96910,8 +97213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -96923,7 +97226,7 @@ paths: type: array items: *226 examples: - default: *676 + default: *677 headers: Link: *47 '404': *6 @@ -96944,8 +97247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -96983,7 +97286,7 @@ paths: application/json: schema: *226 examples: - default: &695 + default: &696 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97015,8 +97318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *471 - *472 + - *473 - name: name in: path required: true @@ -97029,7 +97332,7 @@ paths: application/json: schema: *226 examples: - default: *695 + default: *696 '404': *6 x-github: githubCloudOnly: false @@ -97046,8 +97349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *471 - *472 + - *473 - name: name in: path required: true @@ -97112,8 +97415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *471 - *472 + - *473 - name: name in: path required: true @@ -97139,8 +97442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -97176,8 +97479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *471 - *472 + - *473 responses: '202': *39 '403': @@ -97205,8 +97508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -97232,9 +97535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *471 - *472 - - *558 + - *473 + - *559 responses: '200': description: Response @@ -97379,8 +97682,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97445,8 +97748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97480,9 +97783,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *588 + schema: *589 examples: - default: *696 + default: *697 '204': description: Response when already merged '404': @@ -97507,8 +97810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *471 - *472 + - *473 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97549,12 +97852,12 @@ paths: application/json: schema: type: array - items: &697 + items: &698 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 examples: default: value: @@ -97610,8 +97913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97651,9 +97954,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: &698 + default: &699 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97712,9 +98015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *471 - *472 - - &699 + - *473 + - &700 name: milestone_number description: The number that identifies the milestone. in: path @@ -97726,9 +98029,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *698 + default: *699 '404': *6 x-github: githubCloudOnly: false @@ -97745,9 +98048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *471 - *472 - - *699 + - *473 + - *700 requestBody: required: false content: @@ -97785,9 +98088,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *698 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97803,9 +98106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *471 - *472 - - *699 + - *473 + - *700 responses: '204': description: Response @@ -97826,9 +98129,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: - - *471 - *472 - - *699 + - *473 + - *700 - *17 - *19 responses: @@ -97840,7 +98143,7 @@ paths: type: array items: *226 examples: - default: *676 + default: *677 headers: Link: *47 x-github: @@ -97859,12 +98162,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: - - *471 - *472 - - *700 + - *473 - *701 - - *234 - *702 + - *234 + - *703 - *17 - *19 responses: @@ -97876,7 +98179,7 @@ paths: type: array items: *254 examples: - default: *703 + default: *704 headers: Link: *47 x-github: @@ -97900,8 +98203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -97959,14 +98262,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &704 + schema: &705 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98091,7 +98394,7 @@ paths: - custom_404 - public examples: - default: &705 + default: &706 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98132,8 +98435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -98187,9 +98490,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *705 examples: - default: *705 + default: *706 '422': *15 '409': *121 x-github: @@ -98212,8 +98515,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -98320,8 +98623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -98347,8 +98650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -98358,7 +98661,7 @@ paths: application/json: schema: type: array - items: &706 + items: &707 title: Page Build description: Page Build type: object @@ -98452,8 +98755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *471 - *472 + - *473 responses: '201': description: Response @@ -98498,16 +98801,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *706 + schema: *707 examples: - default: &707 + default: &708 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98555,8 +98858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *471 - *472 + - *473 - name: build_id in: path required: true @@ -98567,9 +98870,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: - default: *707 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98589,8 +98892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -98695,9 +98998,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: - - *471 - *472 - - &708 + - *473 + - &709 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98755,9 +99058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *471 - *472 - - *708 + - *473 + - *709 responses: '204': *157 '404': *6 @@ -98784,8 +99087,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -99043,8 +99346,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: - - *471 - *472 + - *473 responses: '200': description: Private vulnerability reporting status @@ -99081,8 +99384,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: - - *471 - *472 + - *473 responses: '204': *157 '422': *14 @@ -99103,8 +99406,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: - - *471 - *472 + - *473 responses: '204': *157 '422': *14 @@ -99126,8 +99429,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -99137,7 +99440,7 @@ paths: type: array items: *158 examples: - default: *709 + default: *710 '403': *29 '404': *6 x-github: @@ -99159,8 +99462,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -99176,7 +99479,7 @@ paths: required: - properties examples: - default: *710 + default: *711 responses: '204': description: No Content when custom property values are successfully created @@ -99214,8 +99517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *471 - *472 + - *473 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99275,9 +99578,9 @@ paths: application/json: schema: type: array - items: *592 + items: *593 examples: - default: *711 + default: *712 headers: Link: *47 '304': *37 @@ -99309,8 +99612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -99375,7 +99678,7 @@ paths: description: Response content: application/json: - schema: &715 + schema: &716 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99486,8 +99789,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true active_lock_reason: type: string @@ -99530,7 +99833,7 @@ paths: items: *4 requested_teams: type: array - items: *455 + items: *456 head: type: object properties: @@ -99568,14 +99871,14 @@ paths: _links: type: object properties: - comments: *421 - commits: *421 - statuses: *421 - html: *421 - issue: *421 - review_comments: *421 - review_comment: *421 - self: *421 + comments: *422 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -99586,7 +99889,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: *712 + auto_merge: *713 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -99678,7 +99981,7 @@ paths: - merged_by - review_comments examples: - default: &716 + default: &717 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100205,8 +100508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *471 - *472 + - *473 - name: sort in: query required: false @@ -100235,9 +100538,9 @@ paths: application/json: schema: type: array - items: *713 + items: *714 examples: - default: &718 + default: &719 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100314,17 +100617,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: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: &714 + default: &715 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100399,8 +100702,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: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -100423,9 +100726,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100441,8 +100744,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: - - *471 - *472 + - *473 - *243 responses: '204': @@ -100464,8 +100767,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: - - *471 - *472 + - *473 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100492,9 +100795,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 @@ -100515,8 +100818,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: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -100549,16 +100852,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -100580,10 +100883,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *471 - *472 + - *473 - *243 - - *667 + - *668 responses: '204': description: Response @@ -100626,9 +100929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *471 - *472 - - &717 + - *473 + - &718 name: pull_number description: The number that identifies the pull request. in: path @@ -100641,9 +100944,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *715 + schema: *716 examples: - default: *716 + default: *717 '304': *37 '404': *6 '406': @@ -100678,9 +100981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -100722,9 +101025,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: *716 + default: *717 '422': *15 '403': *29 x-github: @@ -100746,9 +101049,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: true content: @@ -100808,17 +101111,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -100848,9 +101151,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: - - *471 - *472 - - *717 + - *473 + - *718 - *251 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100871,9 +101174,9 @@ paths: application/json: schema: type: array - items: *713 + items: *714 examples: - default: *718 + default: *719 headers: Link: *47 x-github: @@ -100906,9 +101209,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: true content: @@ -101013,7 +101316,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: example-for-a-multi-line-comment: value: @@ -101101,9 +101404,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: - - *471 - *472 - - *717 + - *473 + - *718 - *243 requestBody: required: true @@ -101126,7 +101429,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: default: value: @@ -101212,9 +101515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 - *17 - *19 responses: @@ -101224,9 +101527,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *719 + default: *720 headers: Link: *47 x-github: @@ -101256,9 +101559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *471 - *472 - - *717 + - *473 + - *718 - *17 - *19 responses: @@ -101268,7 +101571,7 @@ paths: application/json: schema: type: array - items: *601 + items: *602 examples: default: value: @@ -101306,9 +101609,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: - - *471 - *472 - - *717 + - *473 + - *718 responses: '204': description: Response if pull request has been merged @@ -101331,9 +101634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -101444,9 +101747,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: - - *471 - *472 - - *717 + - *473 + - *718 responses: '200': description: Response @@ -101521,9 +101824,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -101560,7 +101863,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: default: value: @@ -102096,9 +102399,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: true content: @@ -102132,7 +102435,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: default: value: @@ -102637,9 +102940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 - *17 - *19 responses: @@ -102649,7 +102952,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102800,9 +103103,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -102888,9 +103191,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &722 + default: &723 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102953,10 +103256,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: - - *471 - *472 - - *717 - - &721 + - *473 + - *718 + - &722 name: review_id description: The unique identifier of the review. in: path @@ -102968,9 +103271,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &723 + default: &724 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103029,10 +103332,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 requestBody: required: true content: @@ -103055,7 +103358,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: default: value: @@ -103117,18 +103420,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 responses: '200': description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *722 + default: *723 '422': *7 '404': *6 x-github: @@ -103155,10 +103458,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 - *17 - *19 responses: @@ -103241,9 +103544,9 @@ paths: _links: type: object properties: - self: *421 - html: *421 - pull_request: *421 + self: *422 + html: *422 + pull_request: *422 required: - self - html @@ -103393,10 +103696,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 requestBody: required: true content: @@ -103424,7 +103727,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: default: value: @@ -103487,10 +103790,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 requestBody: required: true content: @@ -103525,9 +103828,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *723 + default: *724 '404': *6 '422': *7 '403': *29 @@ -103549,9 +103852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -103614,8 +103917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *471 - *472 + - *473 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103628,9 +103931,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: &725 + default: &726 value: type: file encoding: base64 @@ -103672,8 +103975,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: - - *471 - *472 + - *473 - name: dir description: The alternate path to look for a README file in: path @@ -103693,9 +103996,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *725 + default: *726 '404': *6 '422': *15 x-github: @@ -103717,8 +104020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -103728,7 +104031,7 @@ paths: application/json: schema: type: array - items: *726 + items: *727 examples: default: value: @@ -103822,8 +104125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -103899,9 +104202,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: &730 + default: &731 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104006,9 +104309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *471 - *472 - - &728 + - *473 + - &729 name: asset_id description: The unique identifier of the asset. in: path @@ -104020,9 +104323,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: &729 + default: &730 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 @@ -104057,7 +104360,7 @@ paths: type: User site_admin: false '404': *6 - '302': *603 + '302': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104073,9 +104376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *471 - *472 - - *728 + - *473 + - *729 requestBody: required: false content: @@ -104103,9 +104406,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *729 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104121,9 +104424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *471 - *472 - - *728 + - *473 + - *729 responses: '204': description: Response @@ -104147,8 +104450,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -104233,16 +104536,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: *730 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104259,8 +104562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *471 - *472 + - *473 - name: tag description: tag parameter in: path @@ -104273,9 +104576,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: *730 + default: *731 '404': *6 x-github: githubCloudOnly: false @@ -104297,9 +104600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *471 - *472 - - &731 + - *473 + - &732 name: release_id description: The unique identifier of the release. in: path @@ -104313,9 +104616,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: *726 + schema: *727 examples: - default: *730 + default: *731 '401': description: Unauthorized x-github: @@ -104333,9 +104636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 requestBody: required: false content: @@ -104399,9 +104702,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: *730 + default: *731 '404': description: Not Found if the discussion category name is invalid content: @@ -104422,9 +104725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 responses: '204': description: Response @@ -104444,9 +104747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *471 - *472 - - *731 + - *473 + - *732 - *17 - *19 responses: @@ -104456,7 +104759,7 @@ paths: application/json: schema: type: array - items: *727 + items: *728 examples: default: value: @@ -104538,9 +104841,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: - - *471 - *472 - - *731 + - *473 + - *732 - name: name in: query required: true @@ -104566,7 +104869,7 @@ paths: description: Response for successful upload content: application/json: - schema: *727 + schema: *728 examples: response-for-successful-upload: value: @@ -104621,9 +104924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 - 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. @@ -104647,9 +104950,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 @@ -104670,9 +104973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 requestBody: required: true content: @@ -104702,16 +105005,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -104733,10 +105036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *471 - *472 - - *731 - - *667 + - *473 + - *732 + - *668 responses: '204': description: Response @@ -104760,9 +105063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *471 - *472 - - *524 + - *473 + - *525 - *17 - *19 responses: @@ -104779,7 +105082,7 @@ paths: oneOf: - allOf: - *172 - - &732 + - &733 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104800,67 +105103,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *173 - - *732 + - *733 - allOf: - *174 - - *732 + - *733 - allOf: - *175 - - *732 + - *733 - allOf: + - *734 - *733 - - *732 - allOf: - *176 - - *732 + - *733 - allOf: - *177 - - *732 + - *733 - allOf: - *178 - - *732 + - *733 - allOf: - *179 - - *732 + - *733 - allOf: - *180 - - *732 + - *733 - allOf: - *181 - - *732 + - *733 - allOf: - *182 - - *732 + - *733 - allOf: - *183 - - *732 + - *733 - allOf: - *184 - - *732 + - *733 - allOf: - *185 - - *732 + - *733 - allOf: - *186 - - *732 + - *733 - allOf: - *187 - - *732 + - *733 - allOf: - *188 - - *732 + - *733 - allOf: - *189 - - *732 + - *733 - allOf: - *190 - - *732 + - *733 - allOf: - *191 - - *732 + - *733 - allOf: - *192 - - *732 + - *733 examples: default: value: @@ -104899,8 +105202,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - *17 - *19 - name: includes_parents @@ -104911,7 +105214,7 @@ paths: schema: type: boolean default: true - - *734 + - *735 responses: '200': description: Response @@ -104966,8 +105269,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 requestBody: description: Request body required: true @@ -104996,7 +105299,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *735 + items: *736 required: - name - enforcement @@ -105029,7 +105332,7 @@ paths: application/json: schema: *193 examples: - default: &744 + default: &745 value: id: 42 name: super cool ruleset @@ -105077,12 +105380,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *471 - *472 - - *736 - - *107 + - *473 - *737 + - *107 - *738 + - *739 - *17 - *19 responses: @@ -105090,9 +105393,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *740 examples: - default: *740 + default: *741 '404': *6 '500': *40 x-github: @@ -105113,17 +105416,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *471 - *472 - - *741 + - *473 + - *742 responses: '200': description: Response content: application/json: - schema: *742 + schema: *743 examples: - default: *743 + default: *744 '404': *6 '500': *40 x-github: @@ -105151,8 +105454,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105174,7 +105477,7 @@ paths: application/json: schema: *193 examples: - default: *744 + default: *745 '404': *6 '500': *40 put: @@ -105192,8 +105495,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105227,7 +105530,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *735 + items: *736 examples: default: value: @@ -105257,7 +105560,7 @@ paths: application/json: schema: *193 examples: - default: *744 + default: *745 '404': *6 '422': *15 '500': *40 @@ -105276,8 +105579,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105300,8 +105603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *471 - *472 + - *473 - *17 - *19 - name: ruleset_id @@ -105319,7 +105622,7 @@ paths: type: array items: *197 examples: - default: *439 + default: *440 '404': *6 '500': *40 x-github: @@ -105338,8 +105641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105357,7 +105660,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -105412,22 +105715,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: - - *471 - *472 - - *441 + - *473 - *442 - *443 - *444 - *445 + - *446 - *112 - *19 - *17 - - *745 - *746 - - *446 + - *747 - *447 - *448 - *449 + - *450 responses: '200': description: Response @@ -105435,7 +105738,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 type: object properties: number: *130 @@ -105454,8 +105757,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *747 - resolution: *748 + state: *748 + resolution: *749 resolved_at: type: string format: date-time @@ -105551,7 +105854,7 @@ paths: pull request. ' - oneOf: *749 + oneOf: *750 nullable: true has_more_locations: type: boolean @@ -105700,16 +106003,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: - - *471 - *472 - - *552 - - *449 + - *473 + - *553 + - *450 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -105763,9 +106066,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: - - *471 - *472 - - *552 + - *473 + - *553 requestBody: required: true content: @@ -105773,8 +106076,8 @@ paths: schema: type: object properties: - state: *747 - resolution: *748 + state: *748 + resolution: *749 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105808,7 +106111,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -105903,9 +106206,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: - - *471 - *472 - - *552 + - *473 + - *553 - *19 - *17 responses: @@ -105942,7 +106245,6 @@ paths: example: commit details: oneOf: - - *751 - *752 - *753 - *754 @@ -105955,6 +106257,7 @@ paths: - *761 - *762 - *763 + - *764 examples: default: value: @@ -106040,8 +106343,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -106049,14 +106352,14 @@ paths: schema: type: object properties: - reason: &765 + reason: &766 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *764 + placeholder_id: *765 required: - reason - placeholder_id @@ -106073,7 +106376,7 @@ paths: schema: type: object properties: - reason: *765 + reason: *766 expire_at: type: string format: date-time @@ -106119,8 +106422,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: - - *471 - *472 + - *473 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106135,7 +106438,7 @@ paths: properties: incremental_scans: type: array - items: &766 + items: &767 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106161,15 +106464,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *766 + items: *767 backfill_scans: type: array - items: *766 + items: *767 custom_pattern_backfill_scans: type: array items: allOf: - - *766 + - *767 - type: object properties: pattern_name: @@ -106239,8 +106542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *471 - *472 + - *473 - *112 - name: sort description: The property to sort the results by. @@ -106284,9 +106587,9 @@ paths: application/json: schema: type: array - items: *767 + items: *768 examples: - default: *768 + default: *769 '400': *14 '404': *6 x-github: @@ -106309,8 +106612,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -106383,7 +106686,7 @@ paths: login: type: string description: The username of the user credited. - type: *454 + type: *455 required: - login - type @@ -106470,9 +106773,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: - default: &770 + default: &771 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106705,8 +107008,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -106810,7 +107113,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: default: value: @@ -106957,17 +107260,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: - - *471 - *472 - - *769 + - *473 + - *770 responses: '200': description: Response content: application/json: - schema: *767 + schema: *768 examples: - default: *770 + default: *771 '403': *29 '404': *6 x-github: @@ -106991,9 +107294,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: - - *471 - *472 - - *769 + - *473 + - *770 requestBody: required: true content: @@ -107066,7 +107369,7 @@ paths: login: type: string description: The username of the user credited. - type: *454 + type: *455 required: - login - type @@ -107152,10 +107455,10 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: - default: *770 - add_credit: *770 + default: *771 + add_credit: *771 '403': *29 '404': *6 '422': @@ -107193,9 +107496,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: - - *471 - *472 - - *769 + - *473 + - *770 responses: '202': *39 '400': *14 @@ -107222,17 +107525,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: - - *471 - *472 - - *769 + - *473 + - *770 responses: '202': description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 '400': *14 '422': *15 '403': *29 @@ -107258,8 +107561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -107358,8 +107661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *471 - *472 + - *473 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107368,7 +107671,7 @@ paths: application/json: schema: type: array - items: &771 + items: &772 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -107401,8 +107704,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -107478,8 +107781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -107575,8 +107878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *471 - *472 + - *473 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107730,8 +108033,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: - - *471 - *472 + - *473 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107741,7 +108044,7 @@ paths: application/json: schema: type: array - items: *771 + items: *772 examples: default: value: @@ -107774,8 +108077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *471 - *472 + - *473 - name: sha in: path required: true @@ -107829,7 +108132,7 @@ paths: description: Response content: application/json: - schema: *772 + schema: *773 examples: default: value: @@ -107883,8 +108186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -107916,14 +108219,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *471 - *472 + - *473 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &773 + schema: &774 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107991,8 +108294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -108018,7 +108321,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -108045,8 +108348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -108066,8 +108369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -108146,8 +108449,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *471 - *472 + - *473 - name: ref in: path required: true @@ -108183,8 +108486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -108196,7 +108499,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 headers: Link: *47 '404': *6 @@ -108216,8 +108519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *471 - *472 + - *473 - *19 - *17 responses: @@ -108225,7 +108528,7 @@ paths: description: Response content: application/json: - schema: &774 + schema: &775 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108237,7 +108540,7 @@ paths: required: - names examples: - default: &775 + default: &776 value: names: - octocat @@ -108260,8 +108563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -108292,9 +108595,9 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: - default: *775 + default: *776 '404': *6 '422': *7 x-github: @@ -108315,9 +108618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *471 - *472 - - &776 + - *473 + - &777 name: per description: The time frame to display results for. in: query @@ -108346,7 +108649,7 @@ paths: example: 128 clones: type: array - items: &777 + items: &778 title: Traffic type: object properties: @@ -108433,8 +108736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -108524,8 +108827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -108585,9 +108888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *471 - *472 - - *776 + - *473 + - *777 responses: '200': description: Response @@ -108606,7 +108909,7 @@ paths: example: 3782 views: type: array - items: *777 + items: *778 required: - uniques - count @@ -108683,8 +108986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -108958,8 +109261,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: - - *471 - *472 + - *473 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108982,8 +109285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -109005,8 +109308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -109032,8 +109335,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *471 - *472 + - *473 - name: ref in: path required: true @@ -109125,9 +109428,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109275,7 +109578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *285 - - *672 + - *673 requestBody: required: true content: @@ -109339,9 +109642,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *675 + items: *676 examples: - default: *778 + default: *779 '400': *14 '403': *29 '404': *6 @@ -109378,7 +109681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *285 - - *672 + - *673 requestBody: required: true content: @@ -109443,9 +109746,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *675 + items: *676 examples: - default: *778 + default: *779 '400': *14 '403': *29 '404': *6 @@ -109477,8 +109780,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *285 - - *672 - - *383 + - *673 + - *384 responses: '204': description: Issue field value deleted successfully @@ -109520,7 +109823,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &786 + - &787 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -109529,7 +109832,7 @@ paths: schema: type: string example: members - - &791 + - &792 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -109540,7 +109843,7 @@ paths: default: 1 format: int32 example: 1 - - &792 + - &793 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -109582,7 +109885,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &781 + items: &782 allOf: - type: object required: @@ -109657,7 +109960,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: &793 + meta: &794 type: object description: The metadata associated with the creation/updates to the user. @@ -109717,30 +110020,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &782 + '400': &783 description: Bad request content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '401': *780 - '403': &783 + schema: *780 + '401': *781 + '403': &784 description: Permission denied - '429': &784 + '429': &785 description: Too many requests content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '500': &785 + schema: *780 + '500': &786 description: Internal server error content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 + schema: *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109764,7 +110067,7 @@ paths: required: true content: application/json: - schema: &789 + schema: &790 type: object required: - schemas @@ -109824,9 +110127,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *781 + schema: *782 examples: - group: &787 + group: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -109845,13 +110148,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': *782 - '401': *780 - '403': *783 - '409': &790 + '400': *783 + '401': *781 + '403': *784 + '409': &791 description: Duplicate record detected - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109868,7 +110171,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: - - &788 + - &789 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109876,22 +110179,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *786 + - *787 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *781 + schema: *782 examples: - default: *787 - '400': *782 - '401': *780 - '403': *783 + default: *788 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109910,13 +110213,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: - - *788 + - *789 - *41 requestBody: required: true content: application/json: - schema: *789 + schema: *790 examples: group: summary: Group @@ -109942,17 +110245,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *781 + schema: *782 examples: - group: *787 - groupWithMembers: *787 - '400': *782 - '401': *780 - '403': *783 + group: *788 + groupWithMembers: *788 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109976,13 +110279,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: - - *788 + - *789 - *41 requestBody: required: true content: application/json: - schema: &800 + schema: &801 type: object required: - Operations @@ -110042,17 +110345,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *781 + schema: *782 examples: - updateGroup: *787 - addMembers: *787 - '400': *782 - '401': *780 - '403': *783 + updateGroup: *788 + addMembers: *788 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110068,17 +110371,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: - - *788 + - *789 - *41 responses: '204': description: Group was deleted, no content - '400': *782 - '401': *780 - '403': *783 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110112,8 +110415,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *791 - *792 + - *793 - *41 responses: '200': @@ -110146,7 +110449,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &795 + items: &796 allOf: - type: object required: @@ -110225,7 +110528,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &794 + roles: &795 type: array description: The roles assigned to the user. items: @@ -110281,7 +110584,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *793 + meta: *794 startIndex: type: integer description: A starting index for the returned page @@ -110318,11 +110621,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *782 - '401': *780 - '403': *783 - '429': *784 - '500': *785 + '400': *783 + '401': *781 + '403': *784 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110346,7 +110649,7 @@ paths: required: true content: application/json: - schema: &798 + schema: &799 type: object required: - schemas @@ -110428,9 +110731,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *794 + roles: *795 examples: - user: &799 + user: &800 summary: User value: schemas: @@ -110477,9 +110780,9 @@ paths: description: User has been created content: application/scim+json: - schema: *795 + schema: *796 examples: - user: &796 + user: &797 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110505,13 +110808,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: *796 - '400': *782 - '401': *780 - '403': *783 - '409': *790 - '429': *784 - '500': *785 + enterpriseOwner: *797 + '400': *783 + '401': *781 + '403': *784 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110528,7 +110831,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: - - &797 + - &798 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110541,15 +110844,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *795 + schema: *796 examples: - default: *796 - '400': *782 - '401': *780 - '403': *783 + default: *797 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110600,30 +110903,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: - - *797 + - *798 - *41 requestBody: required: true content: application/json: - schema: *798 + schema: *799 examples: - user: *799 + user: *800 responses: '200': description: User was updated content: application/scim+json: - schema: *795 + schema: *796 examples: - user: *796 - '400': *782 - '401': *780 - '403': *783 + user: *797 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110664,13 +110967,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: - - *797 + - *798 - *41 requestBody: required: true content: application/json: - schema: *800 + schema: *801 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -110710,18 +111013,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *795 + schema: *796 examples: - userMultiValuedProperties: *796 - userSingleValuedProperties: *796 - disableUser: *796 - '400': *782 - '401': *780 - '403': *783 + userMultiValuedProperties: *797 + userSingleValuedProperties: *797 + disableUser: *797 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110741,17 +111044,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: - - *797 + - *798 - *41 responses: '204': description: User was deleted, no content - '400': *782 - '401': *780 - '403': *783 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110838,7 +111141,7 @@ paths: example: 1 Resources: type: array - items: &801 + items: &802 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111069,22 +111372,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': *37 - '404': &802 + '404': &803 description: Resource not found content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '403': &803 + schema: *780 + '403': &804 description: Forbidden content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '400': *782 - '429': *784 + schema: *780 + '400': *783 + '429': *785 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111110,9 +111413,9 @@ paths: description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: &804 + default: &805 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111135,17 +111438,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': *37 - '404': *802 - '403': *803 - '500': *785 + '404': *803 + '403': *804 + '500': *786 '409': description: Conflict content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '400': *782 + schema: *780 + '400': *783 requestBody: required: true content: @@ -111243,17 +111546,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *797 + - *798 responses: '200': description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: *804 - '404': *802 - '403': *803 + default: *805 + '404': *803 + '403': *804 '304': *37 x-github: githubCloudOnly: true @@ -111277,18 +111580,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *797 + - *798 responses: '200': description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: *804 + default: *805 '304': *37 - '404': *802 - '403': *803 + '404': *803 + '403': *804 requestBody: required: true content: @@ -111401,19 +111704,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *797 + - *798 responses: '200': description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: *804 + default: *805 '304': *37 - '404': *802 - '403': *803 - '400': *782 + '404': *803 + '403': *804 + '400': *783 '429': description: Response content: @@ -111504,12 +111807,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *797 + - *798 responses: '204': description: Response - '404': *802 - '403': *803 + '404': *803 + '403': *804 '304': *37 x-github: githubCloudOnly: true @@ -111642,7 +111945,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &805 + text_matches: &806 title: Search Result Text Matches type: array items: @@ -111805,7 +112108,7 @@ paths: enum: - author-date - committer-date - - &806 + - &807 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 @@ -111876,7 +112179,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *523 nullable: true comment_count: type: integer @@ -111896,7 +112199,7 @@ paths: url: type: string format: uri - verification: *650 + verification: *651 required: - author - committer @@ -111915,7 +112218,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *523 nullable: true parents: type: array @@ -111933,7 +112236,7 @@ paths: type: number node_id: type: string - text_matches: *805 + text_matches: *806 required: - sha - node_id @@ -112126,7 +112429,7 @@ paths: - interactions - created - updated - - *806 + - *807 - *17 - *19 - name: advanced_search @@ -112223,11 +112526,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: type: string state_reason: @@ -112244,8 +112547,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true comments: type: integer @@ -112259,7 +112562,7 @@ paths: type: string format: date-time nullable: true - text_matches: *805 + text_matches: *806 pull_request: type: object properties: @@ -112303,7 +112606,7 @@ paths: timeline_url: type: string format: uri - type: *384 + type: *385 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -112492,7 +112795,7 @@ paths: enum: - created - updated - - *806 + - *807 - *17 - *19 responses: @@ -112536,7 +112839,7 @@ paths: nullable: true score: type: number - text_matches: *805 + text_matches: *806 required: - id - node_id @@ -112622,7 +112925,7 @@ paths: - forks - help-wanted-issues - updated - - *806 + - *807 - *17 - *19 responses: @@ -112872,7 +113175,7 @@ paths: - admin - pull - push - text_matches: *805 + text_matches: *806 temp_clone_token: type: string allow_merge_commit: @@ -113173,7 +113476,7 @@ paths: type: string format: uri nullable: true - text_matches: *805 + text_matches: *806 related: type: array nullable: true @@ -113366,7 +113669,7 @@ paths: - followers - repositories - joined - - *806 + - *807 - *17 - *19 responses: @@ -113470,7 +113773,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *805 + text_matches: *806 blog: type: string nullable: true @@ -113549,7 +113852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &809 + - &810 name: team_id description: The unique identifier of the team. in: path @@ -113561,9 +113864,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -113590,7 +113893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *809 + - *810 requestBody: required: true content: @@ -113653,16 +113956,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '201': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 '422': *15 '403': *29 @@ -113690,7 +113993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *809 + - *810 responses: '204': description: Response @@ -113719,7 +114022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *809 + - *810 - *17 - *19 responses: @@ -113729,9 +114032,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *47 x-github: @@ -113757,7 +114060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *809 + - *810 - name: role description: Filters members returned by their role in the team. in: query @@ -113808,7 +114111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *809 + - *810 - *145 responses: '204': @@ -113845,7 +114148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *809 + - *810 - *145 responses: '204': @@ -113885,7 +114188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *809 + - *810 - *145 responses: '204': @@ -113922,16 +114225,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: - - *809 + - *810 - *145 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - response-if-user-is-a-team-maintainer: *810 + response-if-user-is-a-team-maintainer: *811 '404': *6 x-github: githubCloudOnly: false @@ -113964,7 +114267,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: - - *809 + - *810 - *145 requestBody: required: false @@ -113990,9 +114293,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: *811 + response-if-users-membership-with-team-is-now-pending: *812 '403': description: Forbidden if team synchronization is set up '422': @@ -114026,7 +114329,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: - - *809 + - *810 - *145 responses: '204': @@ -114054,7 +114357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *809 + - *810 - *17 - *19 responses: @@ -114066,7 +114369,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 '404': *6 @@ -114096,15 +114399,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: - - *809 - - *471 + - *810 - *472 + - *473 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *812 + schema: *813 examples: alternative-response-with-extra-repository-information: value: @@ -114255,9 +114558,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: - - *809 - - *471 + - *810 - *472 + - *473 requestBody: required: false content: @@ -114307,9 +114610,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: - - *809 - - *471 + - *810 - *472 + - *473 responses: '204': description: Response @@ -114338,15 +114641,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: - - *809 + - *810 responses: '200': description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '403': *29 '404': *6 x-github: @@ -114373,7 +114676,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: - - *809 + - *810 requestBody: required: true content: @@ -114430,7 +114733,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -114461,7 +114764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *809 + - *810 - *17 - *19 responses: @@ -114473,7 +114776,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: *813 + response-if-child-teams-exist: *814 headers: Link: *47 '404': *6 @@ -114506,7 +114809,7 @@ paths: application/json: schema: oneOf: - - &815 + - &816 title: Private User description: Private User type: object @@ -114709,7 +115012,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *814 + - *815 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114862,7 +115165,7 @@ paths: description: Response content: application/json: - schema: *815 + schema: *816 examples: default: value: @@ -115065,9 +115368,9 @@ paths: type: integer codespaces: type: array - items: *389 + items: *390 examples: - default: *390 + default: *391 '304': *37 '500': *40 '401': *25 @@ -115206,17 +115509,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -115260,7 +115563,7 @@ paths: type: integer secrets: type: array - items: &816 + items: &817 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115300,7 +115603,7 @@ paths: - visibility - selected_repositories_url examples: - default: *578 + default: *579 headers: Link: *47 x-github: @@ -115376,7 +115679,7 @@ paths: description: Response content: application/json: - schema: *816 + schema: *817 examples: default: value: @@ -115522,7 +115825,7 @@ paths: type: array items: *291 examples: - default: *817 + default: *335 '401': *25 '403': *29 '404': *6 @@ -115666,15 +115969,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: - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '304': *37 '500': *40 '401': *25 @@ -115700,7 +116003,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: - - *391 + - *392 requestBody: required: false content: @@ -115730,9 +116033,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -115754,7 +116057,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: - - *391 + - *392 responses: '202': *39 '304': *37 @@ -115783,7 +116086,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: - - *391 + - *392 responses: '202': description: Response @@ -115862,7 +116165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *391 + - *392 - name: export_id in: path required: true @@ -115898,7 +116201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *391 + - *392 responses: '200': description: Response @@ -115945,7 +116248,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: - - *391 + - *392 requestBody: required: true content: @@ -115995,13 +116298,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *476 + repository: *477 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *576 - required: *577 + properties: *577 + required: *578 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -116775,15 +117078,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: - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '304': *37 '500': *40 '400': *14 @@ -116815,15 +117118,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: - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '500': *40 '401': *25 '403': *29 @@ -116853,7 +117156,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: &832 value: @@ -117944,12 +118247,12 @@ paths: application/json: schema: anyOf: - - *376 + - *377 - type: object properties: {} additionalProperties: false examples: - default: *377 + default: *378 '204': description: Response when there are no restrictions x-github: @@ -117973,7 +118276,7 @@ paths: required: true content: application/json: - schema: *660 + schema: *661 examples: default: value: @@ -117984,7 +118287,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -118065,7 +118368,7 @@ paths: - closed - all default: open - - *387 + - *388 - name: sort description: What to sort results by. in: query @@ -118090,7 +118393,7 @@ paths: type: array items: *227 examples: - default: *388 + default: *389 headers: Link: *47 '404': *6 @@ -118259,7 +118562,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: - - *694 + - *695 responses: '200': description: Response @@ -118290,7 +118593,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: - - *694 + - *695 responses: '204': description: Response @@ -118495,7 +118798,7 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: default: value: @@ -118609,7 +118912,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -118696,7 +118999,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -118768,7 +119071,7 @@ paths: application/json: schema: type: array - items: *394 + items: *395 examples: default: value: @@ -119021,7 +119324,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -119201,7 +119504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *395 + - *396 - name: exclude in: query required: false @@ -119214,7 +119517,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -119408,7 +119711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *395 + - *396 responses: '302': description: Response @@ -119434,7 +119737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *395 + - *396 responses: '204': description: Response @@ -119463,7 +119766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *395 + - *396 - *830 responses: '204': @@ -119488,7 +119791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *395 + - *396 - *17 - *19 responses: @@ -119500,7 +119803,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 '404': *6 @@ -119589,7 +119892,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: *832 '400': *833 @@ -119612,14 +119915,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: - - *402 - *403 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: default: &851 value: @@ -119734,8 +120037,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: - - *402 - *403 + - *404 responses: '204': description: Response @@ -119765,8 +120068,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: - - *402 - *403 + - *404 - name: token description: package token schema: @@ -119798,8 +120101,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: - - *402 - *403 + - *404 - *19 - *17 - name: state @@ -119819,7 +120122,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -119868,15 +120171,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: - - *402 - *403 - - *405 + - *404 + - *406 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -119912,9 +120215,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: - - *402 - *403 - - *405 + - *404 + - *406 responses: '204': description: Response @@ -119944,9 +120247,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: - - *402 - *403 - - *405 + - *404 + - *406 responses: '204': description: Response @@ -120402,9 +120705,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120442,7 +120745,7 @@ paths: application/json: schema: type: array - items: *662 + items: *663 examples: default: *835 headers: @@ -120467,7 +120770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *380 + - *381 responses: '204': description: Response @@ -120490,7 +120793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *380 + - *381 responses: '204': description: Response @@ -121056,8 +121359,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: - - *471 - *472 + - *473 responses: '204': description: Response if this repository is starred by you @@ -121085,8 +121388,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -121110,8 +121413,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -121146,7 +121449,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 '304': *37 @@ -121183,7 +121486,7 @@ paths: application/json: schema: type: array - items: *463 + items: *464 examples: default: value: @@ -121269,8 +121572,8 @@ paths: application/json: schema: oneOf: + - *816 - *815 - - *814 examples: default-response: &845 summary: Default response @@ -121371,7 +121674,7 @@ paths: required: true schema: type: string - - *418 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -121405,9 +121708,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: - draft_issue: *425 + draft_issue: *426 '304': *37 '403': *29 '401': *25 @@ -121466,7 +121769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *843 - - *418 + - *419 requestBody: required: true content: @@ -121541,13 +121844,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *429 + value: *430 board_view: summary: Response for creating a board view with filter - value: *429 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *429 + value: *430 '304': *37 '403': *29 '401': *25 @@ -121589,8 +121892,8 @@ paths: application/json: schema: oneOf: + - *816 - *815 - - *814 examples: default-response: *845 response-with-git-hub-plan-information: *846 @@ -121902,7 +122205,7 @@ paths: initiator: type: string examples: - default: *518 + default: *519 '201': description: Response content: @@ -121941,7 +122244,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: *832 '403': *29 @@ -122433,7 +122736,7 @@ paths: application/json: schema: *22 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122568,7 +122871,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: *832 '403': *29 @@ -122593,15 +122896,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *402 - *403 + - *404 - *145 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: default: *851 x-github: @@ -122624,8 +122927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *402 - *403 + - *404 - *145 responses: '204': @@ -122658,8 +122961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *402 - *403 + - *404 - *145 - name: token description: package token @@ -122692,8 +122995,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: - - *402 - *403 + - *404 - *145 responses: '200': @@ -122702,7 +123005,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -122760,16 +123063,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: - - *402 - *403 - - *405 + - *404 + - *406 - *145 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -122804,10 +123107,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *402 - *403 + - *404 - *145 - - *405 + - *406 responses: '204': description: Response @@ -122839,10 +123142,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *402 - *403 + - *404 - *145 - - *405 + - *406 responses: '204': description: Response @@ -122883,9 +123186,9 @@ paths: application/json: schema: type: array - items: *416 + items: *417 examples: - default: *417 + default: *418 headers: Link: *47 '304': *37 @@ -122907,16 +123210,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *418 + - *419 - *145 responses: '200': description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *417 + default: *418 headers: Link: *47 '304': *37 @@ -122938,7 +123241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *418 + - *419 - *145 - *17 - *110 @@ -122950,7 +123253,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: *852 headers: @@ -122974,7 +123277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *145 - - *418 + - *419 requestBody: required: true content: @@ -123057,7 +123360,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: text_field: *857 number_field: *858 @@ -123084,7 +123387,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *418 + - *419 - *862 - *145 responses: @@ -123092,7 +123395,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: *863 headers: @@ -123117,7 +123420,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: - - *418 + - *419 - *145 - *110 - *111 @@ -123150,9 +123453,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -123174,7 +123477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *145 - - *418 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -123244,22 +123547,22 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *425 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *425 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *425 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *425 + value: *426 '304': *37 '403': *29 '401': *25 @@ -123279,9 +123582,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: - - *418 + - *419 - *145 - - *428 + - *429 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -123301,9 +123604,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -123324,9 +123627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *418 + - *419 - *145 - - *428 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -123396,13 +123699,13 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - text_field: *427 - number_field: *427 - date_field: *427 - single_select_field: *427 - iteration_field: *427 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *25 '403': *29 '404': *6 @@ -123422,9 +123725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *418 + - *419 - *145 - - *428 + - *429 responses: '204': description: Response @@ -123446,7 +123749,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: - - *418 + - *419 - *145 - *864 - name: fields @@ -123474,9 +123777,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -123697,7 +124000,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 x-github: @@ -123833,7 +124136,7 @@ paths: type: array items: *291 examples: - default: *406 + default: *407 headers: Link: *47 x-github: @@ -130164,7 +130467,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130487,7 +130790,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130817,7 +131120,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131159,7 +131462,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -131429,7 +131732,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131710,7 +132013,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132021,7 +132324,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -133116,7 +133419,7 @@ x-webhooks: type: string enum: - assignees_changed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133200,7 +133503,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133285,7 +133588,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133370,7 +133673,7 @@ x-webhooks: type: string enum: - created - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133453,7 +133756,7 @@ x-webhooks: type: string enum: - dismissed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133536,7 +133839,7 @@ x-webhooks: type: string enum: - fixed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133620,7 +133923,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133703,7 +134006,7 @@ x-webhooks: type: string enum: - reopened - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -135211,7 +135514,7 @@ x-webhooks: nullable: true pull_requests: type: array - items: *715 + items: *716 repository: *871 organization: *870 installation: *869 @@ -144264,8 +144567,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *690 - required: *691 + properties: *691 + required: *692 nullable: true user: title: User @@ -145140,8 +145443,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145157,7 +145460,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -145728,8 +146031,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *690 - required: *691 + properties: *691 + required: *692 nullable: true required: - url @@ -146530,8 +146833,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146547,7 +146850,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -147765,8 +148068,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147782,7 +148085,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -148989,8 +149292,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149006,7 +149309,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -150214,8 +150517,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150231,7 +150534,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -151805,11 +152108,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151825,7 +152128,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -152805,11 +153108,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152825,7 +153128,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -153930,11 +154233,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153950,7 +154253,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -154941,11 +155244,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154961,7 +155264,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -156071,11 +156374,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156088,7 +156391,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *384 + type: *385 title: description: Title of the issue type: string @@ -157066,11 +157369,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157083,7 +157386,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *384 + type: *385 title: description: Title of the issue type: string @@ -158085,11 +158388,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158102,7 +158405,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *384 + type: *385 title: description: Title of the issue type: string @@ -159073,11 +159376,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159093,7 +159396,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -160036,11 +160339,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160141,7 +160444,7 @@ x-webhooks: required: - login - id - type: *384 + type: *385 required: - id - number @@ -161410,11 +161713,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161430,7 +161733,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -162407,11 +162710,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162427,7 +162730,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -163421,11 +163724,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163519,7 +163822,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *384 + type: *385 organization: *870 repository: *871 sender: *4 @@ -164390,11 +164693,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164410,7 +164713,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -165080,7 +165383,7 @@ x-webhooks: enterprise: *868 installation: *869 issue: *904 - type: *384 + type: *385 organization: *870 repository: *871 sender: *4 @@ -166215,11 +166518,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166235,7 +166538,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -166480,7 +166783,7 @@ x-webhooks: enterprise: *868 installation: *869 issue: *904 - type: *384 + type: *385 organization: *870 repository: *871 sender: *4 @@ -174499,7 +174802,7 @@ x-webhooks: - closed installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174582,7 +174885,7 @@ x-webhooks: - created installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174665,7 +174968,7 @@ x-webhooks: - deleted installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174784,7 +175087,7 @@ x-webhooks: type: string installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174901,7 +175204,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *423 + content_type: *424 creator: *4 created_at: type: string @@ -175635,7 +175938,7 @@ x-webhooks: - reopened installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -183290,7 +183593,7 @@ x-webhooks: organization: *870 pull_request: &928 allOf: - - *715 + - *716 - type: object properties: allow_auto_merge: @@ -183519,7 +183822,7 @@ x-webhooks: enum: - demilestoned enterprise: *868 - milestone: *697 + milestone: *698 number: *927 organization: *870 pull_request: &929 @@ -195591,7 +195894,7 @@ x-webhooks: enum: - milestoned enterprise: *868 - milestone: *697 + milestone: *698 number: *927 organization: *870 pull_request: *929 @@ -238072,7 +238375,7 @@ x-webhooks: installation: *869 organization: *870 repository: *871 - repository_advisory: *767 + repository_advisory: *768 sender: *4 required: - action @@ -238152,7 +238455,7 @@ x-webhooks: installation: *869 organization: *870 repository: *871 - repository_advisory: *767 + repository_advisory: *768 sender: *4 required: - action @@ -239239,16 +239542,16 @@ x-webhooks: properties: added: type: array - items: *735 + items: *736 deleted: type: array - items: *735 + items: *736 updated: type: array items: type: object properties: - rule: *735 + rule: *736 changes: type: object properties: @@ -241858,11 +242161,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *433 + security_and_analysis: *434 enterprise: *868 installation: *869 organization: *870 - repository: *476 + repository: *477 sender: *4 required: - changes @@ -247085,7 +247388,7 @@ x-webhooks: type: string required: - conclusion - deployment: *615 + deployment: *616 required: - action - repository @@ -247427,7 +247730,7 @@ x-webhooks: required: - status - steps - deployment: *615 + deployment: *616 required: - action - repository @@ -247644,7 +247947,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *616 required: - action - repository @@ -247862,7 +248165,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *616 required: - action - repository diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 2c7f809cf..e0ae62fad 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -4926,6 +4926,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.", @@ -5927,6 +5935,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.", @@ -6782,6 +6798,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.", @@ -7268,6 +7292,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.", @@ -9313,6 +9345,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.", @@ -10365,6 +10405,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.", @@ -11334,6 +11382,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.", @@ -12014,6 +12070,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.", @@ -28528,6 +28592,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.", @@ -29324,958 +29396,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": { - "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", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { - "type": "boolean", - "example": true - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "app_slug": { - "type": "string", - "example": "github-actions" - }, - "suspended_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "suspended_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "contact_email": { - "type": "string", - "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", - "nullable": true - } - }, - "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", - "example": 1 - }, - "account": { - "nullable": true, - "anyOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" - }, - "avatar_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - } - ] - }, - "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", - "example": "https://api.github.com/app/installations/1/access_tokens" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/installation/repositories" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/organizations/github/settings/installations/1" - }, - "app_id": { - "type": "integer", - "example": 1 - }, - "client_id": { - "type": "string", - "example": "Iv1.ab1112223334445c" - }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { - "type": "string", - "example": "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": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "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.", @@ -30700,400 +29828,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", - "example": 1 - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "example": "Team Environment" - }, - "full_name": { - "type": "string", - "example": "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": { @@ -31619,6 +30356,1365 @@ "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", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "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", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "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", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "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", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "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.", @@ -49374,6 +49470,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.", @@ -152953,26 +153057,2369 @@ } }, "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": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": [ { @@ -152983,71 +155430,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": { @@ -153072,8 +155497,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -153098,8 +155523,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -153124,8 +155549,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -153149,16 +155574,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" } } }, @@ -178839,6 +181261,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.", @@ -179855,6 +182285,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.", @@ -415770,6 +418208,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.", @@ -652369,6 +654815,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.", @@ -723013,6 +725467,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.", @@ -953559,6 +956021,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.", @@ -956175,6 +958645,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.", @@ -958698,6 +961176,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.", @@ -961221,6 +963707,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.", @@ -963876,6 +966370,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.", @@ -966538,6 +969040,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.", @@ -970831,6 +973341,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/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index d4fe93c08..7b6d78f13 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -835,7 +835,7 @@ paths: - subscriptions_url - type - url - type: &454 + type: &455 type: string description: The type of credit the user is receiving. enum: @@ -1000,7 +1000,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: - - &769 + - &770 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1556,7 +1556,7 @@ paths: schema: type: integer default: 30 - - &358 + - &359 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 @@ -1572,7 +1572,7 @@ paths: application/json: schema: type: array - items: &359 + items: &360 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1652,7 +1652,7 @@ paths: - installation_id - repository_id examples: - default: &360 + default: &361 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1684,7 +1684,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &779 + schema: &780 title: Scim Error description: Scim Error type: object @@ -1780,7 +1780,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &362 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1894,7 +1894,7 @@ paths: - request - response examples: - default: &362 + default: &363 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2421,6 +2421,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 @@ -2882,7 +2890,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &431 + properties: &432 id: description: Unique identifier of the repository example: 42 @@ -3323,7 +3331,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &432 + required: &433 - archive_url - assignees_url - blobs_url @@ -9013,7 +9021,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &780 + '401': &781 description: Authorization failure '404': *6 x-github: @@ -13224,7 +13232,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &545 + instances_url: &546 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13259,7 +13267,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &546 + dismissed_reason: &547 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13268,13 +13276,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &547 + dismissed_comment: &548 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &548 + rule: &549 type: object properties: id: @@ -13327,7 +13335,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &549 + tool: &550 type: object properties: name: *113 @@ -13337,26 +13345,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &550 + most_recent_instance: &551 type: object properties: - ref: &543 + ref: &544 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &560 + analysis_key: &561 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: &561 + environment: &562 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: &562 + category: &563 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13370,7 +13378,7 @@ paths: properties: text: type: string - location: &563 + location: &564 type: object description: Describe a region within a file for the alert. properties: @@ -13391,7 +13399,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: &564 + items: &565 type: string description: A classification of the file. For example to identify it as generated. @@ -15732,7 +15740,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &397 + properties: &398 id: description: Unique identifier of the team type: integer @@ -15804,7 +15812,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &398 + required: &399 - id - node_id - url @@ -16477,7 +16485,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &335 + '413': &336 description: Payload Too Large content: application/json: @@ -17544,7 +17552,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &340 + - &341 name: state in: query description: |- @@ -17553,7 +17561,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &341 + - &342 name: severity in: query description: |- @@ -17562,7 +17570,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &342 + - &343 name: ecosystem in: query description: |- @@ -17571,14 +17579,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &343 + - &344 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 - - &344 + - &345 name: epss_percentage in: query description: |- @@ -17590,7 +17598,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 - - &605 + - &606 name: has in: query description: |- @@ -17604,7 +17612,7 @@ paths: type: string enum: - patch - - &345 + - &346 name: assignee in: query description: |- @@ -17613,7 +17621,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &346 + - &347 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17623,7 +17631,7 @@ paths: enum: - development - runtime - - &347 + - &348 name: sort in: query description: |- @@ -17649,7 +17657,7 @@ paths: application/json: schema: type: array - items: &348 + items: &349 type: object description: A Dependabot alert. properties: @@ -17712,7 +17720,7 @@ paths: - unknown - direct - transitive - security_advisory: &606 + security_advisory: &607 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17922,14 +17930,14 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: &607 + auto_dismissed_at: &608 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &608 + dismissal_request: &609 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17991,7 +17999,7 @@ paths: - repository additionalProperties: false examples: - default: &349 + default: &350 value: - number: 2 state: dismissed @@ -18967,7 +18975,7 @@ paths: application/json: schema: *22 examples: - default: &374 + default: &375 value: id: 1 account: @@ -19221,7 +19229,7 @@ paths: - name - created_on examples: - default: &459 + default: &460 value: total_count: 2 network_configurations: @@ -19446,7 +19454,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: - *41 - - &460 + - &461 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19458,7 +19466,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19492,7 +19500,7 @@ paths: - subnet_id - region examples: - default: &462 + default: &463 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20311,7 +20319,7 @@ paths: required: true content: application/json: - schema: &430 + schema: &431 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21503,7 +21511,7 @@ paths: nullable: true anyOf: - *164 - - &436 + - &437 title: Organization ruleset conditions type: object description: |- @@ -21550,7 +21558,7 @@ paths: - *167 rules: type: array - items: &735 + items: &736 title: Repository Rule type: object description: A repository rule. @@ -21559,7 +21567,7 @@ paths: - *173 - *174 - *175 - - &733 + - &734 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21887,7 +21895,7 @@ paths: type: string format: date-time examples: - default: &439 + default: &440 value: - version_id: 3 actor: @@ -21940,7 +21948,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 allOf: - *197 - type: object @@ -21995,7 +22003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &441 + - &442 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22006,7 +22014,7 @@ paths: enum: - open - resolved - - &442 + - &443 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22016,7 +22024,7 @@ paths: required: false schema: type: string - - &443 + - &444 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22025,7 +22033,7 @@ paths: required: false schema: type: string - - &444 + - &445 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22044,7 +22052,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &445 + - &446 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. @@ -22060,7 +22068,7 @@ paths: - *17 - *110 - *111 - - &446 + - &447 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22069,7 +22077,7 @@ paths: required: false schema: type: string - - &447 + - &448 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22078,7 +22086,7 @@ paths: schema: type: boolean default: false - - &448 + - &449 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22087,7 +22095,7 @@ paths: schema: type: boolean default: false - - &449 + - &450 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22103,7 +22111,7 @@ paths: application/json: schema: type: array - items: &450 + items: &451 type: object properties: number: *130 @@ -22122,14 +22130,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &747 + state: &748 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: &748 + resolution: &749 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -22236,8 +22244,8 @@ paths: pull request. ' - oneOf: &749 - - &751 + oneOf: &750 + - &752 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22289,7 +22297,7 @@ paths: - blob_url - commit_sha - commit_url - - &752 + - &753 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. @@ -22344,7 +22352,7 @@ paths: - page_url - commit_sha - commit_url - - &753 + - &754 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22358,7 +22366,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &754 + - &755 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22372,7 +22380,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &755 + - &756 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22386,7 +22394,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &756 + - &757 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22400,7 +22408,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &757 + - &758 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22414,7 +22422,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &758 + - &759 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22428,7 +22436,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &759 + - &760 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. @@ -22442,7 +22450,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &760 + - &761 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. @@ -22456,7 +22464,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &761 + - &762 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. @@ -22470,7 +22478,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &762 + - &763 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. @@ -22484,7 +22492,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &763 + - &764 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -22511,7 +22519,7 @@ paths: required: *21 nullable: true examples: - default: &451 + default: &452 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22720,7 +22728,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &453 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22803,7 +22811,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *199 examples: - default: &453 + default: &454 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22939,7 +22947,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &456 + - &457 name: advanced_security_product in: query description: | @@ -22959,7 +22967,7 @@ paths: description: Success content: application/json: - schema: &457 + schema: &458 type: object properties: total_advanced_security_committers: @@ -23014,7 +23022,7 @@ paths: required: - repositories examples: - default: &458 + default: &459 value: total_advanced_security_committers: 2 total_count: 2 @@ -26493,7 +26501,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &668 + properties: &669 id: type: integer format: int64 @@ -26599,7 +26607,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &419 + properties: &420 url: type: string format: uri @@ -26669,7 +26677,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &420 + required: &421 - closed_issues - creator - description @@ -26748,7 +26756,7 @@ paths: timeline_url: type: string format: uri - type: &384 + type: &385 title: Issue Type description: The type of issue. type: object @@ -26862,7 +26870,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &807 + sub_issues_summary: &808 title: Sub-issues Summary type: object properties: @@ -26949,7 +26957,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &690 + properties: &691 pinned_at: type: string format: date-time @@ -26961,7 +26969,7 @@ paths: properties: *20 required: *21 nullable: true - required: &691 + required: &692 - pinned_at - pinned_by nullable: true @@ -26975,7 +26983,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &808 + issue_dependencies_summary: &809 title: Issue Dependencies Summary type: object properties: @@ -26994,7 +27002,7 @@ paths: - total_blocking issue_field_values: type: array - items: &675 + items: &676 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27055,7 +27063,7 @@ paths: - node_id - data_type - value - required: &669 + required: &670 - closed_at - comments - comments_url @@ -27092,7 +27100,7 @@ paths: action: type: string issue: *227 - comment: &664 + comment: &665 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27758,7 +27766,7 @@ paths: type: string release: allOf: - - &726 + - &727 title: Release description: A release. type: object @@ -27829,7 +27837,7 @@ paths: author: *4 assets: type: array - items: &727 + items: &728 title: Release Asset description: Data related to a release. type: object @@ -30055,7 +30063,7 @@ paths: - closed - all default: open - - &387 + - &388 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30106,7 +30114,7 @@ paths: type: array items: *227 examples: - default: &388 + default: &389 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31491,14 +31499,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: - - &471 + - &472 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &472 + - &473 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31560,7 +31568,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &477 + '301': &478 description: Moved permanently content: application/json: @@ -31582,7 +31590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &700 + - &701 name: all description: If `true`, show notifications marked as read. in: query @@ -31590,7 +31598,7 @@ paths: schema: type: boolean default: false - - &701 + - &702 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31600,7 +31608,7 @@ paths: type: boolean default: false - *234 - - &702 + - &703 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: @@ -31636,7 +31644,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &353 + properties: &354 id: type: integer format: int64 @@ -31922,7 +31930,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &433 + security_and_analysis: &434 nullable: true type: object properties: @@ -32043,7 +32051,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &354 + required: &355 - archive_url - assignees_url - blobs_url @@ -32131,7 +32139,7 @@ paths: - url - subscription_url examples: - default: &703 + default: &704 value: - id: '1' repository: @@ -33168,7 +33176,7 @@ paths: type: array items: *158 examples: - default: &709 + default: &710 value: - property_name: environment value: production @@ -33218,7 +33226,7 @@ paths: required: - properties examples: - default: &710 + default: &711 value: properties: - property_name: environment @@ -34022,7 +34030,7 @@ paths: type: integer repository_cache_usages: type: array - items: &484 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36250,7 +36258,7 @@ paths: type: array items: *291 examples: - default: &816 + default: &335 value: total_count: 1 repositories: @@ -37292,7 +37300,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &505 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37321,7 +37329,7 @@ paths: - key_id - key examples: - default: &505 + default: &506 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37734,7 +37742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *89 - - &489 + - &490 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)." @@ -39344,7 +39352,7 @@ paths: initiator: type: string examples: - default: &518 + default: &519 value: attestations: - bundle: @@ -40261,7 +40269,7 @@ paths: be returned. in: query required: false - schema: &544 + schema: &545 type: string description: Severity of a code scanning alert. enum: @@ -41317,7 +41325,7 @@ paths: type: integer codespaces: type: array - items: &389 + items: &390 type: object title: Codespace description: A codespace. @@ -41347,7 +41355,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &576 + properties: &577 name: type: string description: The name of the machine. @@ -41389,7 +41397,7 @@ paths: - ready - in_progress nullable: true - required: &577 + required: &578 - name - display_name - operating_system @@ -41594,7 +41602,7 @@ paths: - pulls_url - recent_folders examples: - default: &390 + default: &391 value: total_count: 3 codespaces: @@ -42257,7 +42265,7 @@ paths: - updated_at - visibility examples: - default: &578 + default: &579 value: total_count: 2 secrets: @@ -42295,7 +42303,7 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42324,7 +42332,7 @@ paths: - key_id - key examples: - default: &580 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42356,7 +42364,7 @@ paths: application/json: schema: *334 examples: - default: &582 + default: &583 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43153,6 +43161,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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '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: + - *89 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *291 + required: + - total_count + - repositories + examples: + default: *335 + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + 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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + '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: + - *89 + - *285 + responses: + '204': + description: No Content + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + '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: + - *89 + - *285 + responses: + '204': + description: No Content + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + 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 @@ -43287,7 +43590,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *335 + '413': *336 '422': *7 x-github: githubCloudOnly: @@ -43718,7 +44021,7 @@ paths: type: integer custom_roles: type: array - items: &336 + items: &337 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -43856,7 +44159,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &339 type: object properties: name: @@ -43897,9 +44200,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: &337 + default: &338 value: id: 8030 name: Security Engineer @@ -43953,9 +44256,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: true @@ -43983,7 +44286,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &340 type: object properties: name: @@ -44021,9 +44324,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44081,7 +44384,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -44095,9 +44398,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44134,9 +44437,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: true @@ -44170,7 +44473,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *340 examples: default: value: @@ -44185,9 +44488,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44247,11 +44550,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *340 - *341 - *342 - *343 - *344 + - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -44281,7 +44584,7 @@ paths: enum: - patch - deployment - - *345 + - *346 - name: runtime_risk in: query description: |- @@ -44290,8 +44593,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *346 - *347 + - *348 - *112 - *110 - *111 @@ -44303,9 +44606,9 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 '304': *37 '400': *14 '403': *29 @@ -44349,7 +44652,7 @@ paths: type: integer secrets: type: array - items: &350 + items: &351 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -44426,7 +44729,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &612 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44443,7 +44746,7 @@ paths: - key_id - key examples: - default: &612 + default: &613 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44473,7 +44776,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -44769,7 +45072,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &620 + - &621 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44777,7 +45080,7 @@ paths: required: false schema: type: string - - &621 + - &622 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44785,7 +45088,7 @@ paths: required: false schema: type: string - - &622 + - &623 name: time_period description: |- The time period to filter by. @@ -44801,7 +45104,7 @@ paths: - week - month default: month - - &623 + - &624 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44826,7 +45129,7 @@ paths: application/json: schema: type: array - items: &624 + items: &625 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44932,7 +45235,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &351 + items: &352 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -44982,7 +45285,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &625 + default: &626 value: - id: 21 number: 42 @@ -45074,7 +45377,7 @@ paths: - *105 - *106 - *107 - - &352 + - &353 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -45100,7 +45403,7 @@ paths: application/json: schema: type: array - items: &626 + items: &627 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45206,7 +45509,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *351 + items: *352 url: type: string format: uri @@ -45217,7 +45520,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &627 + default: &628 value: - id: 21 number: 42 @@ -45309,7 +45612,7 @@ paths: - *105 - *106 - *107 - - *352 + - *353 - *17 - *19 responses: @@ -45319,7 +45622,7 @@ paths: application/json: schema: type: array - items: &628 + items: &629 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -45440,7 +45743,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &629 + default: &630 value: - id: 21 number: 42 @@ -45528,7 +45831,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Package description: A software package type: object @@ -45578,8 +45881,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *353 - required: *354 + properties: *354 + required: *355 nullable: true created_at: type: string @@ -45598,7 +45901,7 @@ paths: - created_at - updated_at examples: - default: &401 + default: &402 value: - id: 197 name: hello_docker @@ -45785,7 +46088,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &469 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45866,7 +46169,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &469 + default: &470 value: group_id: '123' group_name: Octocat admins @@ -45921,7 +46224,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &466 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45958,7 +46261,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &466 + default: &467 value: groups: - group_id: '123' @@ -46003,7 +46306,7 @@ paths: application/json: schema: type: array - items: &378 + items: &379 title: Organization Invitation description: Organization Invitation type: object @@ -46050,7 +46353,7 @@ paths: - invitation_teams_url - node_id examples: - default: &379 + default: &380 value: - id: 1 login: monalisa @@ -46117,7 +46420,7 @@ paths: application/json: schema: type: array - items: &434 + items: &435 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46131,7 +46434,7 @@ paths: - name - description examples: - default: &435 + default: &436 value: - name: add_assignee description: Assign or remove a user @@ -46172,7 +46475,7 @@ paths: application/json: schema: type: array - items: &355 + items: &356 title: Org Hook description: Org Hook type: object @@ -46341,9 +46644,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &356 + default: &357 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -46388,7 +46691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &357 + - &358 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. @@ -46401,9 +46704,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *356 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -46425,7 +46728,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *357 + - *358 requestBody: required: false content: @@ -46470,7 +46773,7 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: default: value: @@ -46510,7 +46813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *357 + - *358 responses: '204': description: Response @@ -46536,7 +46839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *357 + - *358 responses: '200': description: Response @@ -46565,7 +46868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *357 + - *358 requestBody: required: false content: @@ -46614,9 +46917,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *357 - - *17 - *358 + - *17 + - *359 responses: '200': description: Response @@ -46624,9 +46927,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 '400': *14 '422': *15 x-github: @@ -46650,16 +46953,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *357 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *362 + default: *363 '400': *14 '422': *15 x-github: @@ -46683,7 +46986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *357 + - *358 - *16 responses: '202': *39 @@ -46710,7 +47013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *357 + - *358 responses: '204': description: Response @@ -46733,7 +47036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &367 + - &368 name: actor_type in: path description: The type of the actor @@ -46746,14 +47049,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &368 + - &369 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &363 + - &364 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`.' @@ -46761,7 +47064,7 @@ paths: required: true schema: type: string - - &364 + - &365 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) @@ -46855,12 +47158,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *363 - *364 + - *365 - *19 - *17 - *112 - - &373 + - &374 name: sort description: The property to sort the results by. in: query @@ -46938,14 +47241,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *363 - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &365 + schema: &366 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -46961,7 +47264,7 @@ paths: type: integer format: int64 examples: - default: &366 + default: &367 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -46982,23 +47285,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &369 + - &370 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *363 - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: enabledForGitHubApps: true category: orgs @@ -47017,18 +47320,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *363 - *364 - - *367 + - *365 - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 x-github: enabledForGitHubApps: true category: orgs @@ -47046,9 +47349,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *89 - - *363 - *364 - - &370 + - *365 + - &371 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47061,7 +47364,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &372 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47077,7 +47380,7 @@ paths: type: integer format: int64 examples: - default: &372 + default: &373 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47114,18 +47417,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *369 - - *363 - - *364 - *370 + - *364 + - *365 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: enabledForGitHubApps: true category: orgs @@ -47143,19 +47446,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *367 - *368 - - *363 + - *369 - *364 - - *370 + - *365 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: enabledForGitHubApps: true category: orgs @@ -47173,13 +47476,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *89 - - *369 - - *363 + - *370 - *364 + - *365 - *19 - *17 - *112 - - *373 + - *374 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47260,7 +47563,7 @@ paths: application/json: schema: *22 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47380,12 +47683,12 @@ paths: application/json: schema: anyOf: - - &376 + - &377 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &375 + limit: &376 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -47410,7 +47713,7 @@ paths: properties: {} additionalProperties: false examples: - default: &377 + default: &378 value: limit: collaborators_only origin: organization @@ -47439,13 +47742,13 @@ paths: required: true content: application/json: - schema: &660 + schema: &661 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *375 + limit: *376 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -47469,9 +47772,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *377 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -47549,9 +47852,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *47 '404': *6 @@ -47629,7 +47932,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -47686,7 +47989,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &380 + - &381 name: invitation_id description: The unique identifier of the invitation. in: path @@ -47720,7 +48023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *380 + - *381 - *17 - *19 responses: @@ -47732,7 +48035,7 @@ paths: type: array items: *320 examples: - default: &399 + default: &400 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -47775,7 +48078,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -48008,9 +48311,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &382 + default: &383 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -48066,7 +48369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &383 + - &384 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -48165,9 +48468,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *382 + default: *383 '404': *6 '422': *7 x-github: @@ -48192,7 +48495,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *383 + - *384 responses: '204': *157 '404': *6 @@ -48222,7 +48525,7 @@ paths: application/json: schema: type: array - items: *384 + items: *385 examples: default: value: @@ -48307,9 +48610,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &385 + default: &386 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48342,7 +48645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &386 + - &387 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -48395,9 +48698,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 '404': *6 '422': *7 x-github: @@ -48422,7 +48725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *386 + - *387 responses: '204': description: Response @@ -48485,7 +48788,7 @@ paths: - closed - all default: open - - *387 + - *388 - name: type description: Can be the name of an issue type. in: query @@ -48516,7 +48819,7 @@ paths: type: array items: *227 examples: - default: *388 + default: *389 headers: Link: *47 '404': *6 @@ -48676,9 +48979,9 @@ paths: type: integer codespaces: type: array - items: *389 + items: *390 examples: - default: *390 + default: *391 '304': *37 '500': *40 '401': *25 @@ -48705,7 +49008,7 @@ paths: parameters: - *89 - *145 - - &391 + - &392 name: codespace_name in: path required: true @@ -48740,15 +49043,15 @@ paths: parameters: - *89 - *145 - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &575 + default: &576 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49004,7 +49307,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &393 title: Org Membership description: Org Membership type: object @@ -49071,7 +49374,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &393 + response-if-user-has-an-active-admin-membership-with-organization: &394 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49172,9 +49475,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: - response-if-user-already-had-membership-with-organization: *393 + response-if-user-already-had-membership-with-organization: *394 '422': *15 '403': *29 '451': *15 @@ -49246,7 +49549,7 @@ paths: application/json: schema: type: array - items: &394 + items: &395 title: Migration description: A migration. type: object @@ -49575,7 +49878,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -49754,7 +50057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &395 + - &396 name: migration_id description: The unique identifier of the migration. in: path @@ -49781,7 +50084,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -49951,7 +50254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *395 + - *396 responses: '302': description: Response @@ -49973,7 +50276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *395 + - *396 responses: '204': description: Response @@ -49997,7 +50300,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *395 + - *396 - &829 name: repo_name description: repo_name parameter @@ -50026,7 +50329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *395 + - *396 - *17 - *19 responses: @@ -50136,7 +50439,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &396 + items: &397 title: Organization Role description: Organization roles type: object @@ -50343,7 +50646,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default: value: @@ -50573,7 +50876,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default: value: @@ -50670,7 +50973,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: default: value: @@ -50828,8 +51131,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *397 - required: *398 + properties: *398 + required: *399 nullable: true type: description: The ownership type of the team @@ -50861,7 +51164,7 @@ paths: - type - parent examples: - default: *399 + default: *400 headers: Link: *47 '404': @@ -50919,13 +51222,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &455 + items: &456 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *397 - required: *398 + properties: *398 + required: *399 name: nullable: true type: string @@ -51249,9 +51552,9 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: - default: *401 + default: *402 '403': *29 '401': *25 '400': &832 @@ -51276,7 +51579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &402 + - &403 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 @@ -51294,7 +51597,7 @@ paths: - docker - nuget - container - - &403 + - &404 name: package_name description: The name of the package. in: path @@ -51307,7 +51610,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: default: value: @@ -51359,8 +51662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *402 - *403 + - *404 - *89 responses: '204': @@ -51393,8 +51696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *402 - *403 + - *404 - *89 - name: token description: package token @@ -51427,8 +51730,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: - - *402 - *403 + - *404 - *89 - *19 - *17 @@ -51449,7 +51752,7 @@ paths: application/json: schema: type: array - items: &404 + items: &405 title: Package Version description: A version of a software package type: object @@ -51574,10 +51877,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: - - *402 - *403 + - *404 - *89 - - &405 + - &406 name: package_version_id description: Unique identifier of the package version. in: path @@ -51589,7 +51892,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -51625,10 +51928,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *402 - *403 + - *404 - *89 - - *405 + - *406 responses: '204': description: Response @@ -51660,10 +51963,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *402 - *403 + - *404 - *89 - - *405 + - *406 responses: '204': description: Response @@ -51693,7 +51996,7 @@ paths: - *89 - *17 - *19 - - &406 + - &407 name: sort description: The property by which to sort the results. in: query @@ -51704,7 +52007,7 @@ paths: - created_at default: created_at - *112 - - &407 + - &408 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -51715,7 +52018,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &408 + - &409 name: repository description: The name of the repository to use to filter the results. in: query @@ -51723,7 +52026,7 @@ paths: schema: type: string example: Hello-World - - &409 + - &410 name: permission description: The permission to use to filter the results. in: query @@ -51731,7 +52034,7 @@ paths: schema: type: string example: issues_read - - &410 + - &411 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) @@ -51741,7 +52044,7 @@ paths: schema: type: string format: date-time - - &411 + - &412 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) @@ -51751,7 +52054,7 @@ paths: schema: type: string format: date-time - - &412 + - &413 name: token_id description: The ID of the token in: query @@ -52064,7 +52367,7 @@ paths: type: array items: *291 examples: - default: &413 + default: &414 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52201,14 +52504,14 @@ paths: - *89 - *17 - *19 - - *406 - - *112 - *407 + - *112 - *408 - *409 - *410 - *411 - *412 + - *413 responses: '500': *40 '422': *15 @@ -52490,7 +52793,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 x-github: @@ -52532,7 +52835,7 @@ paths: type: integer configurations: type: array - items: &414 + items: &415 title: Organization private registry description: Private registry configuration for an organization type: object @@ -52822,7 +53125,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &415 + org-private-registry-with-selected-visibility: &416 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -52918,9 +53221,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *414 + schema: *415 examples: - default: *415 + default: *416 '404': *6 x-github: githubCloudOnly: false @@ -53087,7 +53390,7 @@ paths: application/json: schema: type: array - items: &416 + items: &417 title: Projects v2 Project description: A projects v2 project type: object @@ -53230,7 +53533,7 @@ paths: - deleted_at - deleted_by examples: - default: &417 + default: &418 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53333,7 +53636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &418 + - &419 name: project_number description: The project's number. in: path @@ -53346,9 +53649,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *417 + default: *418 headers: Link: *47 '304': *37 @@ -53371,7 +53674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *418 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -53405,7 +53708,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &425 title: Projects v2 Item description: An item belonging to a project type: object @@ -53419,7 +53722,7 @@ paths: content: oneOf: - *227 - - &592 + - &593 title: Pull Request Simple description: Pull Request Simple type: object @@ -53525,8 +53828,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true active_lock_reason: type: string @@ -53608,7 +53911,7 @@ paths: _links: type: object properties: - comments: &421 + comments: &422 title: Link description: Hypermedia Link type: object @@ -53617,13 +53920,13 @@ paths: type: string required: - href - commits: *421 - statuses: *421 - html: *421 - issue: *421 - review_comments: *421 - review_comment: *421 - self: *421 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -53634,7 +53937,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: &712 + auto_merge: &713 title: Auto merge description: The status of auto merging a pull request. type: object @@ -53734,7 +54037,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &423 + content_type: &424 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -53774,7 +54077,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &425 + draft_issue: &426 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -53848,7 +54151,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *418 + - *419 - *89 - *17 - *110 @@ -53860,7 +54163,7 @@ paths: application/json: schema: type: array - items: &422 + items: &423 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54140,7 +54443,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: - - *418 + - *419 - *89 requestBody: required: true @@ -54325,7 +54628,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *422 + schema: *423 examples: text_field: &857 value: @@ -54433,7 +54736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *418 + - *419 - &862 name: field_id description: The unique identifier of the field. @@ -54447,7 +54750,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: &863 value: @@ -54505,7 +54808,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: - - *418 + - *419 - *89 - 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) @@ -54538,7 +54841,7 @@ paths: application/json: schema: type: array - items: &426 + items: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -54554,7 +54857,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *423 + content_type: *424 content: type: object additionalProperties: true @@ -54597,7 +54900,7 @@ paths: - updated_at - archived_at examples: - default: &427 + default: &428 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55295,7 +55598,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *418 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -55365,22 +55668,22 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *425 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *425 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *425 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *425 + value: *426 '304': *37 '403': *29 '401': *25 @@ -55400,9 +55703,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: - - *418 + - *419 - *89 - - &428 + - &429 name: item_id description: The unique identifier of the project item. in: path @@ -55428,9 +55731,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -55451,9 +55754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *418 + - *419 - *89 - - *428 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -55523,13 +55826,13 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - text_field: *427 - number_field: *427 - date_field: *427 - single_select_field: *427 - iteration_field: *427 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *25 '403': *29 '404': *6 @@ -55549,9 +55852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *418 + - *419 - *89 - - *428 + - *429 responses: '204': description: Response @@ -55575,7 +55878,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *418 + - *419 requestBody: required: true content: @@ -55744,7 +56047,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &429 + value: &430 value: id: 1 number: 1 @@ -55790,10 +56093,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *429 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *429 + value: *430 '304': *37 '403': *29 '401': *25 @@ -55821,7 +56124,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: - - *418 + - *419 - *89 - &864 name: view_number @@ -55855,9 +56158,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -56021,7 +56324,7 @@ paths: required: true content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -56386,7 +56689,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 x-github: @@ -56589,7 +56892,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &477 title: Full Repository description: Full Repository type: object @@ -56877,8 +57180,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *431 - required: *432 + properties: *432 + required: *433 nullable: true temp_clone_token: type: string @@ -56990,7 +57293,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &597 + properties: &598 url: type: string format: uri @@ -57006,12 +57309,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &598 + required: &599 - url - key - name - html_url - security_and_analysis: *433 + security_and_analysis: *434 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57095,7 +57398,7 @@ paths: - network_count - subscribers_count examples: - default: &478 + default: &479 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57622,9 +57925,9 @@ paths: application/json: schema: type: array - items: *434 + items: *435 examples: - default: *435 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57649,7 +57952,7 @@ paths: - *89 - *17 - *19 - - &734 + - &735 name: targets description: | A comma-separated list of rule targets to filter by. @@ -57740,11 +58043,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *436 + conditions: *437 rules: type: array description: An array of rules within the ruleset. - items: &438 + items: &439 title: Repository Rule type: object description: A repository rule. @@ -57809,7 +58112,7 @@ paths: application/json: schema: *193 examples: - default: &437 + default: &438 value: id: 21 name: super cool ruleset @@ -57865,7 +58168,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &736 + - &737 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 @@ -57877,14 +58180,14 @@ paths: x-multi-segment: true - *317 - *107 - - &737 + - &738 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 - - &738 + - &739 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -57904,7 +58207,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &740 title: Rule Suites description: Response type: array @@ -57959,7 +58262,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &740 + default: &741 value: - id: 21 actor_id: 12 @@ -58003,7 +58306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &741 + - &742 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58019,7 +58322,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &743 title: Rule Suite description: Response type: object @@ -58118,7 +58421,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &743 + default: &744 value: id: 21 actor_id: 12 @@ -58193,7 +58496,7 @@ paths: application/json: schema: *193 examples: - default: *437 + default: *438 '404': *6 '500': *40 put: @@ -58242,11 +58545,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *436 + conditions: *437 rules: description: An array of rules within the ruleset. type: array - items: *438 + items: *439 examples: default: value: @@ -58283,7 +58586,7 @@ paths: application/json: schema: *193 examples: - default: *437 + default: *438 '404': *6 '422': *15 '500': *40 @@ -58343,7 +58646,7 @@ paths: type: array items: *197 examples: - default: *439 + default: *440 '404': *6 '500': *40 x-github: @@ -58380,7 +58683,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -58443,15 +58746,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *441 - *442 - *443 - *444 - *445 + - *446 - *112 - *19 - *17 - - &745 + - &746 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 @@ -58461,7 +58764,7 @@ paths: required: false schema: type: string - - &746 + - &747 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 @@ -58471,10 +58774,10 @@ paths: required: false schema: type: string - - *446 - *447 - *448 - *449 + - *450 responses: '200': description: Response @@ -58482,9 +58785,9 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: - default: *451 + default: *452 headers: Link: *47 '404': *6 @@ -58519,9 +58822,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 '403': *29 '404': *6 patch: @@ -58674,7 +58977,7 @@ paths: application/json: schema: type: array - items: &767 + items: &768 description: A repository security advisory. type: object properties: @@ -58876,7 +59179,7 @@ paths: login: type: string description: The username of the user credited. - type: *454 + type: *455 credits_detailed: type: array nullable: true @@ -58886,7 +59189,7 @@ paths: type: object properties: user: *4 - type: *454 + type: *455 state: type: string description: The state of the user's acceptance of the @@ -58946,7 +59249,7 @@ paths: - private_fork additionalProperties: false examples: - default: &768 + default: &769 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -59333,7 +59636,7 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: default: value: @@ -59432,7 +59735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *456 + - *457 - *17 - *19 responses: @@ -59440,9 +59743,9 @@ paths: description: Success content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59723,7 +60026,7 @@ paths: type: array items: *150 examples: - default: *459 + default: *460 headers: Link: *47 x-github: @@ -59926,15 +60229,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: - *89 - - *460 + - *461 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *462 + default: *463 headers: Link: *47 x-github: @@ -59972,7 +60275,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &474 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60018,7 +60321,7 @@ paths: type: string nullable: true examples: - default: &474 + default: &475 value: groups: - group_id: '123' @@ -60144,7 +60447,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 headers: Link: *47 '403': *29 @@ -60230,7 +60533,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &464 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60293,8 +60596,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *397 - required: *398 + properties: *398 + required: *399 nullable: true members_count: type: integer @@ -60557,7 +60860,7 @@ paths: - repos_count - organization examples: - default: &464 + default: &465 value: id: 1 node_id: MDQ6VGVhbTE= @@ -60634,9 +60937,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -60720,16 +61023,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '201': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 '422': *15 '403': *29 @@ -60759,7 +61062,7 @@ paths: responses: '204': description: Response - '422': &467 + '422': &468 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -60788,10 +61091,10 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 - '422': *467 + default: *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60834,10 +61137,10 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *469 - '422': *467 + default: *470 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60861,7 +61164,7 @@ paths: responses: '204': description: Response - '422': *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60893,12 +61196,12 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *47 - '422': *467 + '422': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60980,7 +61283,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: Team Membership description: Team Membership type: object @@ -61007,7 +61310,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &810 + response-if-user-is-a-team-maintainer: &811 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61070,9 +61373,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: &811 + response-if-users-membership-with-team-is-now-pending: &812 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61148,7 +61451,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 x-github: @@ -61179,14 +61482,14 @@ paths: parameters: - *89 - *220 - - *471 - *472 + - *473 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &812 + schema: &813 title: Team Repository description: A team's access to a repository. type: object @@ -61751,8 +62054,8 @@ paths: parameters: - *89 - *220 - - *471 - *472 + - *473 requestBody: required: false content: @@ -61799,8 +62102,8 @@ paths: parameters: - *89 - *220 - - *471 - *472 + - *473 responses: '204': description: Response @@ -61833,10 +62136,10 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 - '422': *467 + default: *475 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61902,7 +62205,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -61914,7 +62217,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *467 + '422': *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61948,7 +62251,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: &813 + response-if-child-teams-exist: &814 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62102,7 +62405,7 @@ paths: resources: type: object properties: - core: &475 + core: &476 title: Rate Limit type: object properties: @@ -62119,17 +62422,17 @@ paths: - remaining - reset - used - graphql: *475 - search: *475 - code_search: *475 - source_import: *475 - integration_manifest: *475 - code_scanning_upload: *475 - actions_runner_registration: *475 - scim: *475 - dependency_snapshots: *475 - dependency_sbom: *475 - code_scanning_autofix: *475 + graphql: *476 + search: *476 + code_search: *476 + source_import: *476 + integration_manifest: *476 + code_scanning_upload: *476 + actions_runner_registration: *476 + scim: *476 + dependency_snapshots: *476 + dependency_sbom: *476 + code_scanning_autofix: *476 required: - core - search @@ -62236,14 +62539,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *476 + schema: *477 examples: default-response: summary: Default response @@ -62752,7 +63055,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *477 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62770,8 +63073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -63072,10 +63375,10 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 - '307': &479 + default: *479 + '307': &480 description: Temporary Redirect content: application/json: @@ -63104,8 +63407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -63127,7 +63430,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': *479 + '307': *480 '404': *6 '409': *121 x-github: @@ -63151,11 +63454,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 - - &496 + - &497 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63178,7 +63481,7 @@ paths: type: integer artifacts: type: array - items: &480 + items: &481 title: Artifact description: An artifact type: object @@ -63256,7 +63559,7 @@ paths: - expires_at - updated_at examples: - default: &497 + default: &498 value: total_count: 2 artifacts: @@ -63317,9 +63620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *471 - *472 - - &481 + - *473 + - &482 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63331,7 +63634,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: default: value: @@ -63369,9 +63672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *471 - *472 - - *481 + - *473 + - *482 responses: '204': description: Response @@ -63395,9 +63698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *471 - *472 - - *481 + - *473 + - *482 - name: archive_format in: path required: true @@ -63411,7 +63714,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': &663 + '410': &664 description: Gone content: application/json: @@ -63436,14 +63739,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &482 + schema: &483 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -63476,13 +63779,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: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *482 + schema: *483 examples: selected_actions: *44 responses: @@ -63511,14 +63814,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &483 + schema: &484 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -63551,13 +63854,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: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *483 + schema: *484 examples: selected_actions: *46 responses: @@ -63588,14 +63891,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: default: value: @@ -63621,11 +63924,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: - - *471 - *472 + - *473 - *17 - *19 - - &485 + - &486 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 @@ -63659,7 +63962,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -63701,7 +64004,7 @@ paths: - total_count - actions_caches examples: - default: &487 + default: &488 value: total_count: 1 actions_caches: @@ -63733,23 +64036,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: - - *471 - *472 + - *473 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *485 + - *486 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63769,8 +64072,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: - - *471 - *472 + - *473 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -63801,9 +64104,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: - - *471 - *472 - - &488 + - *473 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -63815,7 +64118,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &501 title: Job description: Information of a job execution in a workflow run type: object @@ -64122,9 +64425,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: - - *471 - *472 - - *488 + - *473 + - *489 responses: '302': description: Response @@ -64152,9 +64455,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: - - *471 - *472 - - *488 + - *473 + - *489 requestBody: required: false content: @@ -64199,8 +64502,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: - - *471 - *472 + - *473 responses: '200': description: Status response @@ -64250,8 +64553,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -64314,8 +64617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -64333,7 +64636,7 @@ paths: type: integer secrets: type: array - items: &502 + items: &503 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64353,7 +64656,7 @@ paths: - created_at - updated_at examples: - default: &503 + default: &504 value: total_count: 2 secrets: @@ -64386,9 +64689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *471 - *472 - - *489 + - *473 + - *490 - *19 responses: '200': @@ -64405,7 +64708,7 @@ paths: type: integer variables: type: array - items: &506 + items: &507 title: Actions Variable type: object properties: @@ -64435,7 +64738,7 @@ paths: - created_at - updated_at examples: - default: &507 + default: &508 value: total_count: 2 variables: @@ -64468,8 +64771,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64478,7 +64781,7 @@ paths: schema: type: object properties: - enabled: &490 + enabled: &491 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 @@ -64513,8 +64816,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -64525,7 +64828,7 @@ paths: schema: type: object properties: - enabled: *490 + enabled: *491 allowed_actions: *62 sha_pinning_required: *63 required: @@ -64558,14 +64861,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: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &491 + schema: &492 type: object properties: access_level: @@ -64583,7 +64886,7 @@ paths: required: - access_level examples: - default: &492 + default: &493 value: access_level: organization x-github: @@ -64608,15 +64911,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: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 responses: '204': description: Response @@ -64640,8 +64943,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64671,8 +64974,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: - - *471 - *472 + - *473 responses: '204': description: Empty response for successful settings update @@ -64706,8 +65009,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64734,8 +65037,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -64769,8 +65072,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64798,8 +65101,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -64830,8 +65133,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64862,8 +65165,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -64895,8 +65198,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -64925,8 +65228,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: - - *471 - *472 + - *473 responses: '204': description: Success response @@ -64966,8 +65269,8 @@ paths: in: query schema: type: string - - *471 - *472 + - *473 - *17 - *19 responses: @@ -65011,8 +65314,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -65044,8 +65347,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -65119,8 +65422,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: - - *471 - *472 + - *473 responses: '201': description: Response @@ -65156,8 +65459,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: - - *471 - *472 + - *473 responses: '201': description: Response @@ -65187,8 +65490,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: - - *471 - *472 + - *473 - *77 responses: '200': @@ -65218,8 +65521,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: - - *471 - *472 + - *473 - *77 responses: '204': @@ -65246,8 +65549,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: - - *471 - *472 + - *473 - *77 responses: '200': *83 @@ -65272,8 +65575,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: - - *471 - *472 + - *473 - *77 requestBody: required: true @@ -65322,8 +65625,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: - - *471 - *472 + - *473 - *77 requestBody: required: true @@ -65373,8 +65676,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: - - *471 - *472 + - *473 - *77 responses: '200': *298 @@ -65404,8 +65707,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: - - *471 - *472 + - *473 - *77 - *299 responses: @@ -65435,9 +65738,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: - - *471 - *472 - - &510 + - *473 + - &511 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. @@ -65445,7 +65748,7 @@ paths: required: false schema: type: string - - &511 + - &512 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -65453,7 +65756,7 @@ paths: required: false schema: type: string - - &512 + - &513 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -65462,7 +65765,7 @@ paths: required: false schema: type: string - - &513 + - &514 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 @@ -65489,7 +65792,7 @@ paths: - pending - *17 - *19 - - &514 + - &515 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)." @@ -65498,7 +65801,7 @@ paths: schema: type: string format: date-time - - &493 + - &494 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -65507,13 +65810,13 @@ paths: schema: type: boolean default: false - - &515 + - &516 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &516 + - &517 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -65536,7 +65839,7 @@ paths: type: integer workflow_runs: type: array - items: &494 + items: &495 title: Workflow Run description: An invocation of a workflow type: object @@ -65684,7 +65987,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &538 + properties: &539 id: type: string description: SHA for the commit @@ -65735,7 +66038,7 @@ paths: - name - email nullable: true - required: &539 + required: &540 - id - tree_id - message @@ -65782,7 +66085,7 @@ paths: - workflow_url - pull_requests examples: - default: &517 + default: &518 value: total_count: 1 workflow_runs: @@ -66018,24 +66321,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *471 - *472 - - &495 + - *473 + - &496 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: &498 + default: &499 value: id: 30433642 name: Build @@ -66276,9 +66579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '204': description: Response @@ -66301,9 +66604,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: - - *471 - *472 - - *495 + - *473 + - *496 responses: '200': description: Response @@ -66422,9 +66725,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: - - *471 - *472 - - *495 + - *473 + - *496 responses: '201': description: Response @@ -66457,12 +66760,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *471 - *472 - - *495 + - *473 + - *496 - *17 - *19 - - *496 + - *497 - *112 responses: '200': @@ -66479,9 +66782,9 @@ paths: type: integer artifacts: type: array - items: *480 + items: *481 examples: - default: *497 + default: *498 headers: Link: *47 x-github: @@ -66505,25 +66808,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *471 - *472 - - *495 - - &499 + - *473 + - *496 + - &500 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *493 + - *494 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *498 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66546,10 +66849,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: - - *471 - *472 - - *495 - - *499 + - *473 + - *496 + - *500 - *17 - *19 responses: @@ -66567,9 +66870,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *501 examples: - default: &501 + default: &502 value: total_count: 1 jobs: @@ -66682,10 +66985,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *471 - *472 - - *495 - - *499 + - *473 + - *496 + - *500 responses: '302': description: Response @@ -66713,9 +67016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '202': description: Response @@ -66748,9 +67051,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: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: true content: @@ -66817,9 +67120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '202': description: Response @@ -66852,9 +67155,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: - - *471 - *472 - - *495 + - *473 + - *496 - 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 @@ -66884,9 +67187,9 @@ paths: type: integer jobs: type: array - items: *500 + items: *501 examples: - default: *501 + default: *502 headers: Link: *47 x-github: @@ -66911,9 +67214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '302': description: Response @@ -66940,9 +67243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '204': description: Response @@ -66969,9 +67272,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: - - *471 - *472 - - *495 + - *473 + - *496 responses: '200': description: Response @@ -67031,7 +67334,7 @@ paths: items: type: object properties: - type: &630 + type: &631 type: string description: The type of reviewer. enum: @@ -67116,9 +67419,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: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: true content: @@ -67165,7 +67468,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67271,7 +67574,7 @@ paths: - created_at - updated_at examples: - default: &616 + default: &617 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67327,9 +67630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: false content: @@ -67373,9 +67676,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: - - *471 - *472 - - *495 + - *473 + - *496 requestBody: required: false content: @@ -67429,9 +67732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *471 - *472 - - *495 + - *473 + - *496 responses: '200': description: Response @@ -67568,8 +67871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -67587,9 +67890,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *503 examples: - default: *503 + default: *504 headers: Link: *47 x-github: @@ -67614,16 +67917,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67645,17 +67948,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '200': description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &643 + default: &644 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -67681,8 +67984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 requestBody: required: true @@ -67740,8 +68043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '204': @@ -67767,9 +68070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *471 - *472 - - *489 + - *473 + - *490 - *19 responses: '200': @@ -67786,9 +68089,9 @@ paths: type: integer variables: type: array - items: *506 + items: *507 examples: - default: *507 + default: *508 headers: Link: *47 x-github: @@ -67811,8 +68114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -67864,17 +68167,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *471 - *472 + - *473 - *304 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &644 + default: &645 value: name: USERNAME value: octocat @@ -67900,8 +68203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *471 - *472 + - *473 - *304 requestBody: required: true @@ -67944,8 +68247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *471 - *472 + - *473 - *304 responses: '204': @@ -67971,8 +68274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -67990,7 +68293,7 @@ paths: type: integer workflows: type: array - items: &508 + items: &509 title: Workflow description: A GitHub Actions workflow type: object @@ -68097,9 +68400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *471 - *472 - - &509 + - *473 + - &510 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68114,7 +68417,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -68147,9 +68450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '204': description: Response @@ -68174,9 +68477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -68257,9 +68560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '204': description: Response @@ -68286,19 +68589,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: - - *471 - *472 - - *509 + - *473 - *510 - *511 - *512 - *513 + - *514 - *17 - *19 - - *514 - - *493 - *515 + - *494 - *516 + - *517 responses: '200': description: Response @@ -68314,9 +68617,9 @@ paths: type: integer workflow_runs: type: array - items: *494 + items: *495 examples: - default: *517 + default: *518 headers: Link: *47 x-github: @@ -68349,9 +68652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *471 - *472 - - *509 + - *473 + - *510 responses: '200': description: Response @@ -68412,8 +68715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *471 - *472 + - *473 - *112 - *17 - *110 @@ -68577,8 +68880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -68615,8 +68918,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: - - *471 - *472 + - *473 - name: assignee in: path required: true @@ -68652,8 +68955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -68765,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *471 - *472 + - *473 - *17 - *110 - *111 @@ -68807,7 +69110,7 @@ paths: initiator: type: string examples: - default: *518 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68827,8 +69130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -68836,7 +69139,7 @@ paths: application/json: schema: type: array - items: &519 + items: &520 title: Autolink reference description: An autolink reference. type: object @@ -68890,8 +69193,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -68930,9 +69233,9 @@ paths: description: response content: application/json: - schema: *519 + schema: *520 examples: - default: &520 + default: &521 value: id: 1 key_prefix: TICKET- @@ -68963,9 +69266,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: - - *471 - *472 - - &521 + - *473 + - &522 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68977,9 +69280,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -68999,9 +69302,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: - - *471 - *472 - - *521 + - *473 + - *522 responses: '204': description: Response @@ -69025,8 +69328,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: - - *471 - *472 + - *473 responses: '200': description: Response if Dependabot is enabled @@ -69074,8 +69377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -69096,8 +69399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -69117,8 +69420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *471 - *472 + - *473 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69156,7 +69459,7 @@ paths: - url protected: type: boolean - protection: &523 + protection: &524 title: Branch Protection description: Branch Protection type: object @@ -69198,7 +69501,7 @@ paths: required: - contexts - checks - enforce_admins: &526 + enforce_admins: &527 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69213,7 +69516,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &528 + required_pull_request_reviews: &529 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -69289,7 +69592,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &525 + restrictions: &526 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -69566,9 +69869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *471 - *472 - - &524 + - *473 + - &525 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). @@ -69582,14 +69885,14 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &588 + commit: &589 title: Commit description: Commit type: object @@ -69623,7 +69926,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &522 + properties: &523 name: type: string example: '"Chris Wanstrath"' @@ -69639,7 +69942,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *523 nullable: true message: type: string @@ -69660,7 +69963,7 @@ paths: required: - sha - url - verification: &650 + verification: &651 title: Verification type: object properties: @@ -69730,7 +70033,7 @@ paths: type: integer files: type: array - items: &601 + items: &602 title: Diff Entry description: Diff Entry type: object @@ -69814,7 +70117,7 @@ paths: - self protected: type: boolean - protection: *523 + protection: *524 protection_url: type: string format: uri @@ -69921,7 +70224,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *477 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -69943,15 +70246,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -70145,9 +70448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -70402,7 +70705,7 @@ paths: url: type: string format: uri - required_status_checks: &531 + required_status_checks: &532 title: Status Check Policy description: Status Check Policy type: object @@ -70554,7 +70857,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *525 + restrictions: *526 required_conversation_resolution: type: object properties: @@ -70666,9 +70969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -70693,17 +70996,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -70725,17 +71028,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70754,9 +71057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -70781,17 +71084,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &529 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70887,9 +71190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -70987,9 +71290,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 '422': *15 x-github: githubCloudOnly: false @@ -71010,9 +71313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71039,17 +71342,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &530 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71072,17 +71375,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *530 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -71102,9 +71405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71129,17 +71432,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: &532 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71165,9 +71468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71219,9 +71522,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: - default: *532 + default: *533 '404': *6 '422': *15 x-github: @@ -71243,9 +71546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71269,9 +71572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -71305,9 +71608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71374,9 +71677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71440,9 +71743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: content: application/json: @@ -71508,15 +71811,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -71607,9 +71910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 responses: '204': description: Response @@ -71632,9 +71935,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: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -71644,7 +71947,7 @@ paths: type: array items: *5 examples: - default: &533 + default: &534 value: - id: 1 slug: octoapp @@ -71701,9 +72004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -71737,7 +72040,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -71758,9 +72061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -71794,7 +72097,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -71815,9 +72118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -71851,7 +72154,7 @@ paths: type: array items: *5 examples: - default: *533 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -71873,9 +72176,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: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -71885,7 +72188,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -71905,9 +72208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -71945,7 +72248,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -71966,9 +72269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: false content: @@ -72006,7 +72309,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -72027,9 +72330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: content: application/json: @@ -72066,7 +72369,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -72088,9 +72391,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: - - *471 - *472 - - *524 + - *473 + - *525 responses: '200': description: Response @@ -72124,9 +72427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72184,9 +72487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72244,9 +72547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72306,9 +72609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *471 - *472 - - *524 + - *473 + - *525 requestBody: required: true content: @@ -72330,7 +72633,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -72444,8 +72747,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *471 - *472 + - *473 - *105 - *106 - *107 @@ -72481,8 +72784,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *471 - *472 + - *473 - name: bypass_request_number in: path required: true @@ -72555,8 +72858,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - *105 - *106 - *107 @@ -72596,8 +72899,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - name: bypass_request_number in: path required: true @@ -72667,8 +72970,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - name: bypass_request_number in: path required: true @@ -72739,8 +73042,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *471 - *472 + - *473 - name: bypass_response_id in: path required: true @@ -72773,8 +73076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -73053,7 +73356,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &536 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73453,9 +73756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *471 - *472 - - &536 + - *473 + - &537 name: check_run_id description: The unique identifier of the check run. in: path @@ -73467,9 +73770,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &537 + default: &538 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73569,9 +73872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *471 - *472 - - *536 + - *473 + - *537 requestBody: required: true content: @@ -73811,9 +74114,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *537 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73833,9 +74136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *471 - *472 - - *536 + - *473 + - *537 - *17 - *19 responses: @@ -73930,9 +74233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *471 - *472 - - *536 + - *473 + - *537 responses: '201': description: Response @@ -73976,8 +74279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -73999,7 +74302,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &540 + schema: &541 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74089,8 +74392,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *538 - required: *539 + properties: *539 + required: *540 latest_check_runs_count: type: integer check_runs_url: @@ -74118,7 +74421,7 @@ paths: - check_runs_url - pull_requests examples: - default: &541 + default: &542 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74409,9 +74712,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74430,8 +74733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -74740,9 +75043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *471 - *472 - - &542 + - *473 + - &543 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74754,9 +75057,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74779,17 +75082,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: - - *471 - *472 - - *542 - - &594 + - *473 + - *543 + - &595 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &595 + - &596 name: status description: Returns check runs with the specified `status`. in: query @@ -74828,9 +75131,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *536 examples: - default: &596 + default: &597 value: total_count: 1 check_runs: @@ -74932,9 +75235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *471 - *472 - - *542 + - *473 + - *543 responses: '201': description: Response @@ -74967,21 +75270,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: - - *471 - *472 + - *473 - *324 - *325 - *19 - *17 - - &558 + - &559 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: *543 - - &559 + schema: *544 + - &560 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75012,7 +75315,7 @@ paths: be returned. in: query required: false - schema: *544 + schema: *545 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75036,7 +75339,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *545 + instances_url: *546 state: *115 fixed_at: *140 dismissed_by: @@ -75047,11 +75350,11 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *546 - dismissed_comment: *547 - rule: *548 - tool: *549 - most_recent_instance: *550 + dismissed_reason: *547 + dismissed_comment: *548 + rule: *549 + tool: *550 + most_recent_instance: *551 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -75177,7 +75480,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &551 + '403': &552 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75204,9 +75507,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: - - *471 - *472 - - &552 + - *473 + - &553 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75220,7 +75523,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &554 type: object properties: number: *130 @@ -75228,7 +75531,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *545 + instances_url: *546 state: *115 fixed_at: *140 dismissed_by: @@ -75239,8 +75542,8 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *547 + dismissed_comment: *548 rule: type: object properties: @@ -75294,8 +75597,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *549 - most_recent_instance: *550 + tool: *550 + most_recent_instance: *551 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -75394,7 +75697,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -75414,9 +75717,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: - - *471 - *472 - - *552 + - *473 + - *553 requestBody: required: true content: @@ -75431,8 +75734,8 @@ paths: enum: - open - dismissed - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *547 + dismissed_comment: *548 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -75460,7 +75763,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -75536,7 +75839,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &557 + '403': &558 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -75563,15 +75866,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: - - *471 - *472 - - *552 + - *473 + - *553 responses: '200': description: Response content: application/json: - schema: &554 + schema: &555 type: object properties: status: @@ -75597,13 +75900,13 @@ paths: - description - started_at examples: - default: &555 + default: &556 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &556 + '400': &557 description: Bad Request content: application/json: @@ -75614,7 +75917,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': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -75639,29 +75942,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: - - *471 - *472 - - *552 + - *473 + - *553 responses: '200': description: OK content: application/json: - schema: *554 + schema: *555 examples: - default: *555 + default: *556 '202': description: Accepted content: application/json: - schema: *554 + schema: *555 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *556 + '400': *557 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -75693,9 +75996,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: - - *471 - *472 - - *552 + - *473 + - *553 requestBody: required: false content: @@ -75740,8 +76043,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *556 - '403': *557 + '400': *557 + '403': *558 '404': *6 '422': description: Unprocessable Entity @@ -75765,13 +76068,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: - - *471 - *472 - - *552 + - *473 + - *553 - *19 - *17 - - *558 - *559 + - *560 responses: '200': description: Response @@ -75782,10 +76085,10 @@ paths: items: type: object properties: - ref: *543 - analysis_key: *560 - environment: *561 - category: *562 + ref: *544 + analysis_key: *561 + environment: *562 + category: *563 state: type: string description: State of a code scanning alert instance. @@ -75800,7 +76103,7 @@ paths: properties: text: type: string - location: *563 + location: *564 html_url: type: string classifications: @@ -75808,7 +76111,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: *564 + items: *565 examples: default: value: @@ -75845,7 +76148,7 @@ paths: end_column: 50 classifications: - source - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -75879,25 +76182,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: - - *471 - *472 + - *473 - *324 - *325 - *19 - *17 - - *559 + - *560 - 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: *543 + schema: *544 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &565 + schema: &566 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -75918,23 +76221,23 @@ paths: application/json: schema: type: array - items: &566 + items: &567 type: object properties: - ref: *543 - commit_sha: &574 + ref: *544 + commit_sha: &575 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: *560 + analysis_key: *561 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *562 + category: *563 error: type: string example: error reading field xyz @@ -75958,8 +76261,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *565 - tool: *549 + sarif_id: *566 + tool: *550 deletable: type: boolean warning: @@ -76020,7 +76323,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76056,8 +76359,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: - - *471 - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76070,7 +76373,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: response: summary: application/json response @@ -76124,7 +76427,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *551 + '403': *552 '404': *6 '422': description: Response if analysis could not be processed @@ -76211,8 +76514,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: - - *471 - *472 + - *473 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76265,7 +76568,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': *557 + '403': *558 '404': *6 '503': *198 x-github: @@ -76287,8 +76590,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -76296,7 +76599,7 @@ paths: application/json: schema: type: array - items: &567 + items: &568 title: CodeQL Database description: A CodeQL database. type: object @@ -76407,7 +76710,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': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76436,8 +76739,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: - - *471 - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -76449,7 +76752,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *568 examples: default: value: @@ -76481,9 +76784,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': &603 + '302': &604 description: Found - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -76505,8 +76808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *471 - *472 + - *473 - name: language in: path description: The language of the CodeQL database. @@ -76516,7 +76819,7 @@ paths: responses: '204': description: Response - '403': *557 + '403': *558 '404': *6 '503': *198 x-github: @@ -76544,8 +76847,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -76554,7 +76857,7 @@ paths: type: object additionalProperties: false properties: - language: &568 + language: &569 type: string description: The language targeted by the CodeQL query enum: @@ -76634,7 +76937,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &572 + schema: &573 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -76644,7 +76947,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *568 + query_language: *569 query_pack_url: type: string description: The download url for the query pack. @@ -76691,7 +76994,7 @@ paths: items: type: object properties: - repository: &569 + repository: &570 title: Repository Identifier description: Repository Identifier type: object @@ -76727,7 +77030,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &573 + analysis_status: &574 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76759,7 +77062,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &570 + access_mismatch_repos: &571 type: object properties: repository_count: @@ -76773,7 +77076,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: *569 + items: *570 required: - repository_count - repositories @@ -76795,8 +77098,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *570 - over_limit_repos: *570 + no_codeql_db_repos: *571 + over_limit_repos: *571 required: - access_mismatch_repos - not_found_repos @@ -76812,7 +77115,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &571 + value: &572 summary: Default response value: id: 1 @@ -76958,10 +77261,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *571 + value: *572 repository_lists: summary: Response for a successful variant analysis submission - value: *571 + value: *572 '404': *6 '422': description: Unable to process variant analysis submission @@ -76989,8 +77292,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: - - *471 - *472 + - *473 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77002,9 +77305,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *571 + default: *572 '404': *6 '503': *198 x-github: @@ -77027,7 +77330,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: - - *471 + - *472 - name: repo in: path description: The name of the controller repository. @@ -77062,7 +77365,7 @@ paths: type: object properties: repository: *122 - analysis_status: *573 + analysis_status: *574 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77187,8 +77490,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -77271,7 +77574,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *551 + '403': *552 '404': *6 '503': *198 x-github: @@ -77292,8 +77595,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -77385,7 +77688,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *557 + '403': *558 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -77456,8 +77759,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -77465,7 +77768,7 @@ paths: schema: type: object properties: - commit_sha: *574 + commit_sha: *575 ref: type: string description: |- @@ -77523,7 +77826,7 @@ paths: schema: type: object properties: - id: *565 + id: *566 url: type: string description: The REST API URL for checking the status of the upload. @@ -77537,7 +77840,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': *557 + '403': *558 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -77560,8 +77863,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: - - *471 - *472 + - *473 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -77607,7 +77910,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': *551 + '403': *552 '404': description: Not Found if the sarif id does not match any upload '503': *198 @@ -77632,8 +77935,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -77714,8 +78017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *471 - *472 + - *473 - 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 @@ -77835,8 +78138,8 @@ paths: parameters: - *17 - *19 - - *471 - *472 + - *473 responses: '200': description: Response @@ -77852,7 +78155,7 @@ paths: type: integer codespaces: type: array - items: *389 + items: *390 examples: default: value: @@ -78150,8 +78453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -78214,17 +78517,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '400': *14 '401': *25 '403': *29 @@ -78253,8 +78556,8 @@ paths: parameters: - *17 - *19 - - *471 - *472 + - *473 responses: '200': description: Response @@ -78318,8 +78621,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: - - *471 - *472 + - *473 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -78358,8 +78661,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *576 - required: *577 + properties: *577 + required: *578 examples: default: &820 value: @@ -78401,8 +78704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *471 - *472 + - *473 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -78486,8 +78789,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: - - *471 - *472 + - *473 - 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 @@ -78553,8 +78856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -78572,7 +78875,7 @@ paths: type: integer secrets: type: array - items: &581 + items: &582 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -78592,7 +78895,7 @@ paths: - created_at - updated_at examples: - default: *578 + default: *579 headers: Link: *47 x-github: @@ -78615,16 +78918,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *580 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78644,17 +78947,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '200': description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78674,8 +78977,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: - - *471 - *472 + - *473 - *301 requestBody: required: true @@ -78728,8 +79031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '204': @@ -78758,8 +79061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *471 - *472 + - *473 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78801,7 +79104,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &583 + properties: &584 login: type: string example: octocat @@ -78894,7 +79197,7 @@ paths: user_view_type: type: string example: public - required: &584 + required: &585 - avatar_url - events_url - followers_url @@ -78968,8 +79271,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: - - *471 - *472 + - *473 - *145 responses: '204': @@ -79016,8 +79319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *471 - *472 + - *473 - *145 requestBody: required: false @@ -79044,7 +79347,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &662 + schema: &663 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79273,8 +79576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *471 - *472 + - *473 - *145 responses: '204': @@ -79306,8 +79609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *471 - *472 + - *473 - *145 responses: '200': @@ -79328,8 +79631,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *583 - required: *584 + properties: *584 + required: *585 nullable: true required: - permission @@ -79384,8 +79687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -79395,7 +79698,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 title: Commit Comment description: Commit Comment type: object @@ -79453,7 +79756,7 @@ paths: - created_at - updated_at examples: - default: &590 + default: &591 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79512,17 +79815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: &591 + default: &592 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79579,8 +79882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -79603,7 +79906,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: default: value: @@ -79654,8 +79957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 responses: '204': @@ -79677,8 +79980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79705,7 +80008,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -79748,7 +80051,7 @@ paths: - content - created_at examples: - default: &666 + default: &667 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79793,8 +80096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -79827,9 +80130,9 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: &587 + default: &588 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79858,9 +80161,9 @@ paths: description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -79882,10 +80185,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *471 - *472 + - *473 - *243 - - &667 + - &668 name: reaction_id description: The unique identifier of the reaction. in: path @@ -79940,8 +80243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *471 - *472 + - *473 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -79997,9 +80300,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: &719 + default: &720 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80093,9 +80396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *471 - *472 - - &589 + - *473 + - &590 name: commit_sha description: The SHA of the commit. in: path @@ -80167,9 +80470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *471 - *472 - - *589 + - *473 + - *590 - *17 - *19 responses: @@ -80179,9 +80482,9 @@ paths: application/json: schema: type: array - items: *585 + items: *586 examples: - default: *590 + default: *591 headers: Link: *47 x-github: @@ -80209,9 +80512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *471 - *472 - - *589 + - *473 + - *590 requestBody: required: true content: @@ -80246,9 +80549,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *591 + default: *592 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80276,9 +80579,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: - - *471 - *472 - - *589 + - *473 + - *590 - *17 - *19 responses: @@ -80288,9 +80591,9 @@ paths: application/json: schema: type: array - items: *592 + items: *593 examples: - default: &711 + default: &712 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80827,11 +81130,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *471 - *472 + - *473 - *19 - *17 - - &593 + - &594 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)" @@ -80846,9 +81149,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: &696 + default: &697 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80961,11 +81264,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: - - *471 - *472 - - *593 + - *473 - *594 - *595 + - *596 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -80999,9 +81302,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *536 examples: - default: *596 + default: *597 headers: Link: *47 x-github: @@ -81026,9 +81329,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: - - *471 - *472 - - *593 + - *473 + - *594 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81036,7 +81339,7 @@ paths: schema: type: integer example: 1 - - *594 + - *595 - *17 - *19 responses: @@ -81054,7 +81357,7 @@ paths: type: integer check_suites: type: array - items: *540 + items: *541 examples: default: value: @@ -81254,9 +81557,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: - - *471 - *472 - - *593 + - *473 + - *594 - *17 - *19 responses: @@ -81454,9 +81757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *471 - *472 - - *593 + - *473 + - *594 - *17 - *19 responses: @@ -81466,7 +81769,7 @@ paths: application/json: schema: type: array - items: &772 + items: &773 title: Status description: The status of a commit. type: object @@ -81547,7 +81850,7 @@ paths: site_admin: false headers: Link: *47 - '301': *477 + '301': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81575,8 +81878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -81605,20 +81908,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *597 - required: *598 + properties: *598 + required: *599 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &599 + properties: &600 url: type: string format: uri html_url: type: string format: uri - required: &600 + required: &601 - url - html_url nullable: true @@ -81632,26 +81935,26 @@ paths: contributing: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true readme: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true issue_template: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true pull_request_template: title: Community Health File type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true required: - code_of_conduct @@ -81778,8 +82081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *471 - *472 + - *473 - *19 - *17 - name: basehead @@ -81822,8 +82125,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *588 - merge_base_commit: *588 + base_commit: *589 + merge_base_commit: *589 status: type: string enum: @@ -81843,10 +82146,10 @@ paths: example: 6 commits: type: array - items: *588 + items: *589 files: type: array - items: *601 + items: *602 required: - url - html_url @@ -82132,8 +82435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *471 - *472 + - *473 - name: path description: path parameter in: path @@ -82293,7 +82596,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &602 + response-if-content-is-a-file-github-object: &603 summary: Response if content is a file value: type: file @@ -82425,7 +82728,7 @@ paths: - size - type - url - - &724 + - &725 title: Content File description: Content File type: object @@ -82626,7 +82929,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *602 + response-if-content-is-a-file: *603 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -82695,7 +82998,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *603 + '302': *604 '304': *37 x-github: githubCloudOnly: false @@ -82718,8 +83021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *471 - *472 + - *473 - name: path description: path parameter in: path @@ -82812,7 +83115,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &605 title: File Commit description: File Commit type: object @@ -82964,7 +83267,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *605 examples: example-for-creating-a-file: value: @@ -83018,7 +83321,7 @@ paths: schema: oneOf: - *3 - - &645 + - &646 description: Repository rule violation was detected type: object properties: @@ -83039,7 +83342,7 @@ paths: items: type: object properties: - placeholder_id: &764 + placeholder_id: &765 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83071,8 +83374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *471 - *472 + - *473 - name: path description: path parameter in: path @@ -83133,7 +83436,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *605 examples: default: value: @@ -83188,8 +83491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *471 - *472 + - *473 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -83312,23 +83615,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *471 - *472 - - *340 + - *473 - *341 - *342 - *343 + - *344 - 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 - - *344 - - *605 - *345 + - *606 - *346 - *347 + - *348 - *112 - *110 - *111 @@ -83340,7 +83643,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 type: object description: A Dependabot alert. properties: @@ -83386,7 +83689,7 @@ paths: - unknown - direct - transitive - security_advisory: *606 + security_advisory: *607 security_vulnerability: *134 url: *135 html_url: *136 @@ -83417,8 +83720,8 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: *607 - dismissal_request: *608 + auto_dismissed_at: *608 + dismissal_request: *609 assignees: type: array description: The users assigned to this alert. @@ -83673,9 +83976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *471 - *472 - - &610 + - *473 + - &611 name: alert_number in: path description: |- @@ -83690,7 +83993,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -83822,9 +84125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *471 - *472 - - *610 + - *473 + - *611 requestBody: required: true content: @@ -83880,7 +84183,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -84010,8 +84313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -84029,7 +84332,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &614 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84082,16 +84385,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84111,15 +84414,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '200': description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -84145,8 +84448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 requestBody: required: true @@ -84199,8 +84502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *471 - *472 + - *473 - *301 responses: '204': @@ -84223,8 +84526,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: - - *471 - *472 + - *473 - 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 @@ -84384,8 +84687,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -84624,8 +84927,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -84700,7 +85003,7 @@ paths: - version - url additionalProperties: false - metadata: &614 + metadata: &615 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84733,7 +85036,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *614 + metadata: *615 resolved: type: object description: A collection of resolved package dependencies. @@ -84746,7 +85049,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *614 + metadata: *615 relationship: type: string description: A notation of whether a dependency is requested @@ -84875,8 +85178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *471 - *472 + - *473 - name: sha description: The SHA recorded at creation time. in: query @@ -84916,9 +85219,9 @@ paths: application/json: schema: type: array - items: *615 + items: *616 examples: - default: *616 + default: *617 headers: Link: *47 x-github: @@ -84984,8 +85287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -85066,7 +85369,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: simple-example: summary: Simple example @@ -85139,9 +85442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *471 - *472 - - &617 + - *473 + - &618 name: deployment_id description: deployment_id parameter in: path @@ -85153,7 +85456,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -85218,9 +85521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *471 - *472 - - *617 + - *473 + - *618 responses: '204': description: Response @@ -85242,9 +85545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *471 - *472 - - *617 + - *473 + - *618 - *17 - *19 responses: @@ -85254,7 +85557,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 title: Deployment Status description: The status of a deployment. type: object @@ -85415,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *471 - *472 - - *617 + - *473 + - *618 requestBody: required: true content: @@ -85492,9 +85795,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: &619 + default: &620 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -85550,9 +85853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *471 - *472 - - *617 + - *473 + - *618 - name: status_id in: path required: true @@ -85563,9 +85866,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: *619 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -85592,12 +85895,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 - - *620 + - *473 - *621 - *622 - *623 + - *624 - *17 - *19 responses: @@ -85607,9 +85910,9 @@ paths: application/json: schema: type: array - items: *624 + items: *625 examples: - default: *625 + default: *626 '404': *6 '403': *29 '500': *40 @@ -85633,8 +85936,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -85646,7 +85949,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *624 + schema: *625 examples: default: value: @@ -85702,8 +86005,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -85762,12 +86065,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 - - *620 + - *473 - *621 - *622 - *623 + - *624 - *17 - *19 responses: @@ -85777,9 +86080,9 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: *627 + default: *628 '404': *6 '403': *29 '500': *40 @@ -85803,8 +86106,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -85816,7 +86119,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *626 + schema: *627 examples: default: value: @@ -85867,8 +86170,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -85906,7 +86209,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *626 + schema: *627 examples: default: value: @@ -85957,8 +86260,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86029,8 +86332,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86063,12 +86366,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - *105 - *106 - *107 - - *352 + - *353 - *17 - *19 responses: @@ -86078,9 +86381,9 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: - default: *629 + default: *630 '404': *6 '403': *29 '500': *40 @@ -86105,8 +86408,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86118,7 +86421,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -86176,8 +86479,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *471 - *472 + - *473 - name: alert_number in: path required: true @@ -86246,8 +86549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -86304,8 +86607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -86322,7 +86625,7 @@ paths: type: integer environments: type: array - items: &631 + items: &632 title: Environment description: Details of a deployment environment type: object @@ -86374,7 +86677,7 @@ paths: type: type: string example: wait_timer - wait_timer: &633 + wait_timer: &634 type: integer example: 30 description: The amount of time to delay a job after @@ -86411,7 +86714,7 @@ paths: items: type: object properties: - type: *630 + type: *631 reviewer: anyOf: - *4 @@ -86435,7 +86738,7 @@ paths: - id - node_id - type - deployment_branch_policy: &634 + deployment_branch_policy: &635 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -86551,9 +86854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *471 - *472 - - &632 + - *473 + - &633 name: environment_name in: path required: true @@ -86566,9 +86869,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: - default: &635 + default: &636 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86652,9 +86955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *471 - *472 - - *632 + - *473 + - *633 requestBody: required: false content: @@ -86663,7 +86966,7 @@ paths: type: object nullable: true properties: - wait_timer: *633 + wait_timer: *634 prevent_self_review: type: boolean example: false @@ -86680,13 +86983,13 @@ paths: items: type: object properties: - type: *630 + type: *631 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *634 + deployment_branch_policy: *635 additionalProperties: false examples: default: @@ -86706,9 +87009,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: - default: *635 + default: *636 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -86732,9 +87035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *471 - *472 - - *632 + - *473 + - *633 responses: '204': description: Default response @@ -86759,9 +87062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *17 - *19 responses: @@ -86779,7 +87082,7 @@ paths: example: 2 branch_policies: type: array - items: &636 + items: &637 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -86836,9 +87139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 + - *473 + - *633 requestBody: required: true content: @@ -86884,9 +87187,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - example-wildcard: &637 + example-wildcard: &638 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -86928,10 +87231,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 - - &638 + - *473 + - *633 + - &639 name: branch_policy_id in: path required: true @@ -86943,9 +87246,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86964,10 +87267,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 - - *638 + - *473 + - *633 + - *639 requestBody: required: true content: @@ -86995,9 +87298,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87016,10 +87319,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *471 - *472 - - *632 - - *638 + - *473 + - *633 + - *639 responses: '204': description: Response @@ -87044,9 +87347,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: - - *632 + - *633 + - *473 - *472 - - *471 responses: '200': description: List of deployment protection rules @@ -87062,7 +87365,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &639 + items: &640 title: Deployment protection rule description: Deployment protection rule type: object @@ -87081,7 +87384,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &640 + app: &641 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87180,9 +87483,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: - - *632 + - *633 + - *473 - *472 - - *471 requestBody: content: application/json: @@ -87203,9 +87506,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *639 + schema: *640 examples: - default: &641 + default: &642 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87240,9 +87543,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: - - *632 + - *633 + - *473 - *472 - - *471 - *19 - *17 responses: @@ -87261,7 +87564,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *640 + items: *641 examples: default: value: @@ -87296,10 +87599,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: - - *471 - *472 - - *632 - - &642 + - *473 + - *633 + - &643 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -87311,9 +87614,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *641 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87334,10 +87637,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: - - *632 + - *633 + - *473 - *472 - - *471 - - *642 + - *643 responses: '204': description: Response @@ -87363,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *17 - *19 responses: @@ -87383,9 +87686,9 @@ paths: type: integer secrets: type: array - items: *502 + items: *503 examples: - default: *503 + default: *504 headers: Link: *47 x-github: @@ -87410,17 +87713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *471 - *472 - - *632 + - *473 + - *633 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87442,18 +87745,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *301 responses: '200': description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *643 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87475,9 +87778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *301 requestBody: required: true @@ -87535,9 +87838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *301 responses: '204': @@ -87563,10 +87866,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *471 - *472 - - *632 - - *489 + - *473 + - *633 + - *490 - *19 responses: '200': @@ -87583,9 +87886,9 @@ paths: type: integer variables: type: array - items: *506 + items: *507 examples: - default: *507 + default: *508 headers: Link: *47 x-github: @@ -87608,9 +87911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *471 - *472 - - *632 + - *473 + - *633 requestBody: required: true content: @@ -87662,18 +87965,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *471 - *472 - - *632 + - *473 + - *633 - *304 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *644 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87694,10 +87997,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *471 - *472 + - *473 - *304 - - *632 + - *633 requestBody: required: true content: @@ -87739,10 +88042,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *471 - *472 + - *473 - *304 - - *632 + - *633 responses: '204': description: Response @@ -87764,8 +88067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -87833,8 +88136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *471 - *472 + - *473 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -87993,8 +88296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -88026,9 +88329,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 '400': *14 '422': *15 '403': *29 @@ -88049,8 +88352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -88110,7 +88413,7 @@ paths: schema: oneOf: - *265 - - *645 + - *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88135,8 +88438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *471 - *472 + - *473 - name: file_sha in: path required: true @@ -88235,8 +88538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -88345,7 +88648,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &647 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -88559,15 +88862,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *471 - *472 - - *589 + - *473 + - *590 responses: '200': description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -88623,9 +88926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *471 - *472 - - &647 + - *473 + - &648 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. @@ -88642,7 +88945,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: Git Reference description: Git references within a repository type: object @@ -88717,17 +89020,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *471 - *472 - - *647 + - *473 + - *648 responses: '200': description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: &649 + default: &650 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -88756,8 +89059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -88786,9 +89089,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -88814,9 +89117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *471 - *472 - - *647 + - *473 + - *648 requestBody: required: true content: @@ -88845,9 +89148,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 '422': *15 '409': *121 x-github: @@ -88865,9 +89168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *471 - *472 - - *647 + - *473 + - *648 responses: '204': description: Response @@ -88922,8 +89225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -88990,7 +89293,7 @@ paths: description: Response content: application/json: - schema: &651 + schema: &652 title: Git Tag description: Metadata for a Git tag type: object @@ -89041,7 +89344,7 @@ paths: - sha - type - url - verification: *650 + verification: *651 required: - sha - url @@ -89051,7 +89354,7 @@ paths: - tag - message examples: - default: &652 + default: &653 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89124,8 +89427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *471 - *472 + - *473 - name: tag_sha in: path required: true @@ -89136,9 +89439,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *652 examples: - default: *652 + default: *653 '404': *6 '409': *121 x-github: @@ -89162,8 +89465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -89236,7 +89539,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &654 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -89332,8 +89635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *471 - *472 + - *473 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -89356,7 +89659,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *654 examples: default-response: summary: Default response @@ -89415,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -89426,7 +89729,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Webhook description: Webhooks for repositories. type: object @@ -89554,8 +89857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -89607,9 +89910,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: &655 + default: &656 value: type: Repository id: 12345678 @@ -89657,17 +89960,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '200': description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -89687,9 +89990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 requestBody: required: true content: @@ -89734,9 +90037,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '422': *15 '404': *6 x-github: @@ -89757,9 +90060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '204': description: Response @@ -89783,9 +90086,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: - - *471 - *472 - - *357 + - *473 + - *358 responses: '200': description: Response @@ -89812,9 +90115,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: - - *471 - *472 - - *357 + - *473 + - *358 requestBody: required: false content: @@ -89858,11 +90161,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *471 - *472 - - *357 - - *17 + - *473 - *358 + - *17 + - *359 responses: '200': description: Response @@ -89870,9 +90173,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 '400': *14 '422': *15 x-github: @@ -89891,18 +90194,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: - - *471 - *472 - - *357 + - *473 + - *358 - *16 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *362 + default: *363 '400': *14 '422': *15 x-github: @@ -89921,9 +90224,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: - - *471 - *472 - - *357 + - *473 + - *358 - *16 responses: '202': *39 @@ -89946,9 +90249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '204': description: Response @@ -89973,9 +90276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *471 - *472 - - *357 + - *473 + - *358 responses: '204': description: Response @@ -89998,8 +90301,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: - - *471 - *472 + - *473 responses: '200': description: Response if immutable releases are enabled @@ -90045,8 +90348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *471 - *472 + - *473 responses: '204': *157 '409': *121 @@ -90066,8 +90369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *471 - *472 + - *473 responses: '204': *157 '409': *121 @@ -90124,14 +90427,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &656 + schema: &657 title: Import description: A repository import from an external source. type: object @@ -90230,7 +90533,7 @@ paths: - html_url - authors_url examples: - default: &659 + default: &660 value: vcs: subversion use_lfs: true @@ -90246,7 +90549,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': &657 + '503': &658 description: Unavailable due to service under maintenance. content: application/json: @@ -90275,8 +90578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -90324,7 +90627,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: default: value: @@ -90349,7 +90652,7 @@ paths: type: string '422': *15 '404': *6 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90377,8 +90680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -90427,7 +90730,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: example-1: summary: Example 1 @@ -90475,7 +90778,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': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90498,12 +90801,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *471 - *472 + - *473 responses: '204': description: Response - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90529,8 +90832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *471 - *472 + - *473 - &842 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -90545,7 +90848,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: Porter Author description: Porter Author type: object @@ -90599,7 +90902,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': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90624,8 +90927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *471 - *472 + - *473 - name: author_id in: path required: true @@ -90655,7 +90958,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -90668,7 +90971,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90692,8 +90995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -90734,7 +91037,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90762,8 +91065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -90790,11 +91093,11 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *659 + default: *660 '422': *15 - '503': *657 + '503': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90817,8 +91120,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -90826,8 +91129,8 @@ paths: application/json: schema: *22 examples: - default: *374 - '301': *477 + default: *375 + '301': *478 '404': *6 x-github: githubCloudOnly: false @@ -90847,8 +91150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -90856,12 +91159,12 @@ paths: application/json: schema: anyOf: - - *376 + - *377 - type: object properties: {} additionalProperties: false examples: - default: &661 + default: &662 value: limit: collaborators_only origin: repository @@ -90886,13 +91189,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: true content: application/json: - schema: *660 + schema: *661 examples: default: summary: Example request body @@ -90904,9 +91207,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *661 + default: *662 '409': description: Response x-github: @@ -90928,8 +91231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -90952,8 +91255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -90963,7 +91266,7 @@ paths: application/json: schema: type: array - items: *662 + items: *663 examples: default: &834 value: @@ -91096,9 +91399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *471 - *472 - - *380 + - *473 + - *381 requestBody: required: false content: @@ -91127,7 +91430,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -91258,9 +91561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *471 - *472 - - *380 + - *473 + - *381 responses: '204': description: Response @@ -91291,8 +91594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *471 - *472 + - *473 - 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 @@ -91340,7 +91643,7 @@ paths: required: false schema: type: string - - *387 + - *388 - name: sort description: What to sort results by. in: query @@ -91365,7 +91668,7 @@ paths: type: array items: *227 examples: - default: &674 + default: &675 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91514,7 +91817,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *477 + '301': *478 '422': *15 '404': *6 x-github: @@ -91543,8 +91846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -91621,7 +91924,7 @@ paths: application/json: schema: *227 examples: - default: &671 + default: &672 value: id: 1 node_id: MDU6SXNzdWUx @@ -91778,7 +92081,7 @@ paths: '422': *15 '503': *198 '404': *6 - '410': *663 + '410': *664 x-github: triggersNotification: true githubCloudOnly: false @@ -91806,8 +92109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *471 - *472 + - *473 - *251 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -91828,9 +92131,9 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: &673 + default: &674 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91888,17 +92191,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: &665 + default: &666 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91953,8 +92256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -91977,9 +92280,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '422': *15 x-github: githubCloudOnly: false @@ -91997,8 +92300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '204': @@ -92027,15 +92330,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -92091,7 +92394,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *664 '422': *15 x-github: githubCloudOnly: false @@ -92108,8 +92411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 responses: '204': @@ -92117,7 +92420,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *664 '503': *198 x-github: githubCloudOnly: false @@ -92135,8 +92438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92163,9 +92466,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 @@ -92186,8 +92489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -92220,16 +92523,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -92251,10 +92554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *471 - *472 + - *473 - *243 - - *667 + - *668 responses: '204': description: Response @@ -92274,8 +92577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -92285,7 +92588,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Issue Event description: Issue Event type: object @@ -92328,8 +92631,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *668 - required: *669 + properties: *669 + required: *670 nullable: true label: title: Issue Event Label @@ -92637,8 +92940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *471 - *472 + - *473 - name: event_id in: path required: true @@ -92649,7 +92952,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -92842,7 +93145,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *663 + '410': *664 '403': *29 x-github: githubCloudOnly: false @@ -92876,9 +93179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *471 - *472 - - &672 + - *473 + - &673 name: issue_number description: The number that identifies the issue. in: path @@ -92894,7 +93197,7 @@ paths: examples: default: summary: Issue - value: *671 + value: *672 pinned_comment: summary: Issue with pinned comment value: @@ -93093,9 +93396,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 '304': *37 x-github: githubCloudOnly: false @@ -93120,9 +93423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -93243,13 +93546,13 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 '422': *15 '503': *198 '403': *29 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93267,9 +93570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -93297,7 +93600,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93313,9 +93616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: content: application/json: @@ -93342,7 +93645,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93364,9 +93667,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: - - *471 - *472 - - *672 + - *473 + - *673 - name: assignee in: path required: true @@ -93406,9 +93709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *234 - *17 - *19 @@ -93419,13 +93722,13 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: *673 + default: *674 headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93454,9 +93757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -93478,16 +93781,16 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *663 + '410': *664 '422': *15 '404': *6 x-github: @@ -93515,9 +93818,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: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -93529,12 +93832,12 @@ paths: type: array items: *227 examples: - default: *674 + default: *675 headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93562,9 +93865,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: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -93588,15 +93891,15 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *477 + '301': *478 '403': *29 - '410': *663 + '410': *664 '422': *15 '404': *6 x-github: @@ -93627,9 +93930,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: - - *471 - *472 - - *672 + - *473 + - *673 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -93643,13 +93946,13 @@ paths: application/json: schema: *227 examples: - default: *671 - '301': *477 + default: *672 + '301': *478 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *664 x-github: triggersNotification: true githubCloudOnly: false @@ -93675,9 +93978,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: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -93689,12 +93992,12 @@ paths: type: array items: *227 examples: - default: *674 + default: *675 headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93711,9 +94014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -93727,7 +94030,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &677 + - &678 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -93781,7 +94084,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &679 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93917,7 +94220,7 @@ paths: - performed_via_github_app - assignee - assigner - - &679 + - &680 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93968,7 +94271,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &681 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -94019,7 +94322,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &682 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -94073,7 +94376,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &683 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -94120,7 +94423,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &684 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -94167,7 +94470,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &685 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94227,7 +94530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &686 title: Locked Issue Event description: Locked Issue Event type: object @@ -94275,7 +94578,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &686 + - &687 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -94341,7 +94644,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &687 + - &688 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -94407,7 +94710,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &688 + - &689 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94473,7 +94776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &689 + - &690 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94564,7 +94867,7 @@ paths: color: red headers: Link: *47 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94581,9 +94884,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: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -94593,9 +94896,9 @@ paths: application/json: schema: type: array - items: *675 + items: *676 examples: - default: &778 + default: &779 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -94619,9 +94922,9 @@ paths: value: '2025-12-25' headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94638,9 +94941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -94652,7 +94955,7 @@ paths: type: array items: *226 examples: - default: &676 + default: &677 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94670,9 +94973,9 @@ paths: default: false headers: Link: *47 - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94688,9 +94991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -94735,10 +95038,10 @@ paths: type: array items: *226 examples: - default: *676 - '301': *477 + default: *677 + '301': *478 '404': *6 - '410': *663 + '410': *664 '422': *15 x-github: githubCloudOnly: false @@ -94755,9 +95058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -94819,10 +95122,10 @@ paths: type: array items: *226 examples: - default: *676 - '301': *477 + default: *677 + '301': *478 '404': *6 - '410': *663 + '410': *664 '422': *15 x-github: githubCloudOnly: false @@ -94839,15 +95142,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 responses: '204': description: Response - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94866,9 +95169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - name: name in: path required: true @@ -94892,9 +95195,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *477 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94914,9 +95217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: false content: @@ -94944,7 +95247,7 @@ paths: '204': description: Response '403': *29 - '410': *663 + '410': *664 '404': *6 '422': *15 x-github: @@ -94962,9 +95265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 responses: '204': description: Response @@ -94994,9 +95297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 responses: '200': description: Response @@ -95004,10 +95307,10 @@ paths: application/json: schema: *227 examples: - default: *671 - '301': *477 + default: *672 + '301': *478 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95024,9 +95327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - 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. @@ -95052,13 +95355,13 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95076,9 +95379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95110,16 +95413,16 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -95141,10 +95444,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *471 - *472 - - *672 - - *667 + - *473 + - *673 + - *668 responses: '204': description: Response @@ -95173,9 +95476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95199,7 +95502,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -95232,9 +95535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -95246,11 +95549,11 @@ paths: type: array items: *227 examples: - default: *674 + default: *675 headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95278,9 +95581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95309,14 +95612,14 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *663 + '410': *664 '422': *15 '404': *6 x-github: @@ -95336,9 +95639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 requestBody: required: true content: @@ -95371,7 +95674,7 @@ paths: application/json: schema: *227 examples: - default: *671 + default: *672 '403': *29 '404': *6 '422': *7 @@ -95393,9 +95696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *471 - *472 - - *672 + - *473 + - *673 - *17 - *19 responses: @@ -95410,7 +95713,6 @@ paths: description: Timeline Event type: object anyOf: - - *677 - *678 - *679 - *680 @@ -95423,6 +95725,7 @@ paths: - *687 - *688 - *689 + - *690 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95483,8 +95786,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *690 - required: *691 + properties: *691 + required: *692 nullable: true required: - event @@ -95739,7 +96042,7 @@ paths: type: string comments: type: array - items: &713 + items: &714 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95954,7 +96257,7 @@ paths: type: string comments: type: array - items: *585 + items: *586 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -96243,7 +96546,7 @@ paths: headers: Link: *47 '404': *6 - '410': *663 + '410': *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96260,8 +96563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -96271,7 +96574,7 @@ paths: application/json: schema: type: array - items: &692 + items: &693 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96337,8 +96640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -96374,9 +96677,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *693 examples: - default: &693 + default: &694 value: id: 1 key: ssh-rsa AAA... @@ -96410,9 +96713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *471 - *472 - - &694 + - *473 + - &695 name: key_id description: The unique identifier of the key. in: path @@ -96424,9 +96727,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *693 examples: - default: *693 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -96444,9 +96747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *471 - *472 - - *694 + - *473 + - *695 responses: '204': description: Response @@ -96466,8 +96769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -96479,7 +96782,7 @@ paths: type: array items: *226 examples: - default: *676 + default: *677 headers: Link: *47 '404': *6 @@ -96500,8 +96803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -96539,7 +96842,7 @@ paths: application/json: schema: *226 examples: - default: &695 + default: &696 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96571,8 +96874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *471 - *472 + - *473 - name: name in: path required: true @@ -96585,7 +96888,7 @@ paths: application/json: schema: *226 examples: - default: *695 + default: *696 '404': *6 x-github: githubCloudOnly: false @@ -96602,8 +96905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *471 - *472 + - *473 - name: name in: path required: true @@ -96668,8 +96971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *471 - *472 + - *473 - name: name in: path required: true @@ -96695,8 +96998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -96732,8 +97035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *471 - *472 + - *473 responses: '202': *39 '403': @@ -96761,8 +97064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -96788,9 +97091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *471 - *472 - - *558 + - *473 + - *559 responses: '200': description: Response @@ -96935,8 +97238,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97001,8 +97304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97036,9 +97339,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *588 + schema: *589 examples: - default: *696 + default: *697 '204': description: Response when already merged '404': @@ -97063,8 +97366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *471 - *472 + - *473 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97105,12 +97408,12 @@ paths: application/json: schema: type: array - items: &697 + items: &698 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 examples: default: value: @@ -97166,8 +97469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97207,9 +97510,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: &698 + default: &699 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97268,9 +97571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *471 - *472 - - &699 + - *473 + - &700 name: milestone_number description: The number that identifies the milestone. in: path @@ -97282,9 +97585,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *698 + default: *699 '404': *6 x-github: githubCloudOnly: false @@ -97301,9 +97604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *471 - *472 - - *699 + - *473 + - *700 requestBody: required: false content: @@ -97341,9 +97644,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *698 examples: - default: *698 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97359,9 +97662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *471 - *472 - - *699 + - *473 + - *700 responses: '204': description: Response @@ -97382,9 +97685,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: - - *471 - *472 - - *699 + - *473 + - *700 - *17 - *19 responses: @@ -97396,7 +97699,7 @@ paths: type: array items: *226 examples: - default: *676 + default: *677 headers: Link: *47 x-github: @@ -97415,12 +97718,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: - - *471 - *472 - - *700 + - *473 - *701 - - *234 - *702 + - *234 + - *703 - *17 - *19 responses: @@ -97432,7 +97735,7 @@ paths: type: array items: *254 examples: - default: *703 + default: *704 headers: Link: *47 x-github: @@ -97456,8 +97759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -97515,14 +97818,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: &704 + schema: &705 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97647,7 +97950,7 @@ paths: - custom_404 - public examples: - default: &705 + default: &706 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97688,8 +97991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97743,9 +98046,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *705 examples: - default: *705 + default: *706 '422': *15 '409': *121 x-github: @@ -97768,8 +98071,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -97876,8 +98179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -97903,8 +98206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -97914,7 +98217,7 @@ paths: application/json: schema: type: array - items: &706 + items: &707 title: Page Build description: Page Build type: object @@ -98008,8 +98311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *471 - *472 + - *473 responses: '201': description: Response @@ -98054,16 +98357,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *706 + schema: *707 examples: - default: &707 + default: &708 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98111,8 +98414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *471 - *472 + - *473 - name: build_id in: path required: true @@ -98123,9 +98426,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: - default: *707 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98145,8 +98448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -98251,9 +98554,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: - - *471 - *472 - - &708 + - *473 + - &709 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98311,9 +98614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *471 - *472 - - *708 + - *473 + - *709 responses: '204': *157 '404': *6 @@ -98340,8 +98643,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -98599,8 +98902,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: - - *471 - *472 + - *473 responses: '200': description: Private vulnerability reporting status @@ -98637,8 +98940,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: - - *471 - *472 + - *473 responses: '204': *157 '422': *14 @@ -98659,8 +98962,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: - - *471 - *472 + - *473 responses: '204': *157 '422': *14 @@ -98682,8 +98985,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -98693,7 +98996,7 @@ paths: type: array items: *158 examples: - default: *709 + default: *710 '403': *29 '404': *6 x-github: @@ -98715,8 +99018,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -98732,7 +99035,7 @@ paths: required: - properties examples: - default: *710 + default: *711 responses: '204': description: No Content when custom property values are successfully created @@ -98770,8 +99073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *471 - *472 + - *473 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98831,9 +99134,9 @@ paths: application/json: schema: type: array - items: *592 + items: *593 examples: - default: *711 + default: *712 headers: Link: *47 '304': *37 @@ -98865,8 +99168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -98931,7 +99234,7 @@ paths: description: Response content: application/json: - schema: &715 + schema: &716 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99042,8 +99345,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true active_lock_reason: type: string @@ -99075,7 +99378,7 @@ paths: items: *4 requested_teams: type: array - items: *455 + items: *456 head: type: object properties: @@ -99113,14 +99416,14 @@ paths: _links: type: object properties: - comments: *421 - commits: *421 - statuses: *421 - html: *421 - issue: *421 - review_comments: *421 - review_comment: *421 - self: *421 + comments: *422 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -99131,7 +99434,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: *712 + auto_merge: *713 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -99221,7 +99524,7 @@ paths: - merged_by - review_comments examples: - default: &716 + default: &717 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99748,8 +100051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *471 - *472 + - *473 - name: sort in: query required: false @@ -99778,9 +100081,9 @@ paths: application/json: schema: type: array - items: *713 + items: *714 examples: - default: &718 + default: &719 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99857,17 +100160,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: - - *471 - *472 + - *473 - *243 responses: '200': description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: &714 + default: &715 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99942,8 +100245,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: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -99966,9 +100269,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: - default: *714 + default: *715 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99984,8 +100287,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: - - *471 - *472 + - *473 - *243 responses: '204': @@ -100007,8 +100310,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: - - *471 - *472 + - *473 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100035,9 +100338,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 @@ -100058,8 +100361,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: - - *471 - *472 + - *473 - *243 requestBody: required: true @@ -100092,16 +100395,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -100123,10 +100426,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *471 - *472 + - *473 - *243 - - *667 + - *668 responses: '204': description: Response @@ -100169,9 +100472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *471 - *472 - - &717 + - *473 + - &718 name: pull_number description: The number that identifies the pull request. in: path @@ -100184,9 +100487,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *715 + schema: *716 examples: - default: *716 + default: *717 '304': *37 '404': *6 '406': @@ -100221,9 +100524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -100265,9 +100568,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: *716 + default: *717 '422': *15 '403': *29 x-github: @@ -100289,9 +100592,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: true content: @@ -100351,17 +100654,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -100391,9 +100694,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: - - *471 - *472 - - *717 + - *473 + - *718 - *251 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100414,9 +100717,9 @@ paths: application/json: schema: type: array - items: *713 + items: *714 examples: - default: *718 + default: *719 headers: Link: *47 x-github: @@ -100449,9 +100752,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: true content: @@ -100556,7 +100859,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: example-for-a-multi-line-comment: value: @@ -100644,9 +100947,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: - - *471 - *472 - - *717 + - *473 + - *718 - *243 requestBody: required: true @@ -100669,7 +100972,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *714 examples: default: value: @@ -100755,9 +101058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 - *17 - *19 responses: @@ -100767,9 +101070,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *719 + default: *720 headers: Link: *47 x-github: @@ -100799,9 +101102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *471 - *472 - - *717 + - *473 + - *718 - *17 - *19 responses: @@ -100811,7 +101114,7 @@ paths: application/json: schema: type: array - items: *601 + items: *602 examples: default: value: @@ -100849,9 +101152,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: - - *471 - *472 - - *717 + - *473 + - *718 responses: '204': description: Response if pull request has been merged @@ -100874,9 +101177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -100987,9 +101290,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: - - *471 - *472 - - *717 + - *473 + - *718 responses: '200': description: Response @@ -101064,9 +101367,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -101103,7 +101406,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: default: value: @@ -101639,9 +101942,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: true content: @@ -101675,7 +101978,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: default: value: @@ -102180,9 +102483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *471 - *472 - - *717 + - *473 + - *718 - *17 - *19 responses: @@ -102192,7 +102495,7 @@ paths: application/json: schema: type: array - items: &720 + items: &721 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102343,9 +102646,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: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -102431,9 +102734,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &722 + default: &723 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102496,10 +102799,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: - - *471 - *472 - - *717 - - &721 + - *473 + - *718 + - &722 name: review_id description: The unique identifier of the review. in: path @@ -102511,9 +102814,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: &723 + default: &724 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102572,10 +102875,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 requestBody: required: true content: @@ -102598,7 +102901,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: default: value: @@ -102660,18 +102963,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 responses: '200': description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *722 + default: *723 '422': *7 '404': *6 x-github: @@ -102698,10 +103001,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 - *17 - *19 responses: @@ -102784,9 +103087,9 @@ paths: _links: type: object properties: - self: *421 - html: *421 - pull_request: *421 + self: *422 + html: *422 + pull_request: *422 required: - self - html @@ -102936,10 +103239,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 requestBody: required: true content: @@ -102967,7 +103270,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: default: value: @@ -103030,10 +103333,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: - - *471 - *472 - - *717 - - *721 + - *473 + - *718 + - *722 requestBody: required: true content: @@ -103068,9 +103371,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *721 examples: - default: *723 + default: *724 '404': *6 '422': *7 '403': *29 @@ -103092,9 +103395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *471 - *472 - - *717 + - *473 + - *718 requestBody: required: false content: @@ -103157,8 +103460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *471 - *472 + - *473 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103171,9 +103474,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: &725 + default: &726 value: type: file encoding: base64 @@ -103215,8 +103518,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: - - *471 - *472 + - *473 - name: dir description: The alternate path to look for a README file in: path @@ -103236,9 +103539,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *725 + default: *726 '404': *6 '422': *15 x-github: @@ -103260,8 +103563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -103271,7 +103574,7 @@ paths: application/json: schema: type: array - items: *726 + items: *727 examples: default: value: @@ -103365,8 +103668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -103442,9 +103745,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: &730 + default: &731 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103549,9 +103852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *471 - *472 - - &728 + - *473 + - &729 name: asset_id description: The unique identifier of the asset. in: path @@ -103563,9 +103866,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: &729 + default: &730 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 @@ -103600,7 +103903,7 @@ paths: type: User site_admin: false '404': *6 - '302': *603 + '302': *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103616,9 +103919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *471 - *472 - - *728 + - *473 + - *729 requestBody: required: false content: @@ -103646,9 +103949,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *729 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103664,9 +103967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *471 - *472 - - *728 + - *473 + - *729 responses: '204': description: Response @@ -103690,8 +103993,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -103776,16 +104079,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *471 - *472 + - *473 responses: '200': description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: *730 + default: *731 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103802,8 +104105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *471 - *472 + - *473 - name: tag description: tag parameter in: path @@ -103816,9 +104119,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: *730 + default: *731 '404': *6 x-github: githubCloudOnly: false @@ -103840,9 +104143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *471 - *472 - - &731 + - *473 + - &732 name: release_id description: The unique identifier of the release. in: path @@ -103856,9 +104159,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: *726 + schema: *727 examples: - default: *730 + default: *731 '401': description: Unauthorized x-github: @@ -103876,9 +104179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 requestBody: required: false content: @@ -103942,9 +104245,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *727 examples: - default: *730 + default: *731 '404': description: Not Found if the discussion category name is invalid content: @@ -103965,9 +104268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 responses: '204': description: Response @@ -103987,9 +104290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *471 - *472 - - *731 + - *473 + - *732 - *17 - *19 responses: @@ -103999,7 +104302,7 @@ paths: application/json: schema: type: array - items: *727 + items: *728 examples: default: value: @@ -104081,9 +104384,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: - - *471 - *472 - - *731 + - *473 + - *732 - name: name in: query required: true @@ -104109,7 +104412,7 @@ paths: description: Response for successful upload content: application/json: - schema: *727 + schema: *728 examples: response-for-successful-upload: value: @@ -104164,9 +104467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 - 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. @@ -104190,9 +104493,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *666 + default: *667 headers: Link: *47 '404': *6 @@ -104213,9 +104516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *471 - *472 - - *731 + - *473 + - *732 requestBody: required: true content: @@ -104245,16 +104548,16 @@ paths: description: Reaction exists content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '201': description: Reaction created content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '422': *15 x-github: githubCloudOnly: false @@ -104276,10 +104579,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *471 - *472 - - *731 - - *667 + - *473 + - *732 + - *668 responses: '204': description: Response @@ -104303,9 +104606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *471 - *472 - - *524 + - *473 + - *525 - *17 - *19 responses: @@ -104322,7 +104625,7 @@ paths: oneOf: - allOf: - *172 - - &732 + - &733 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104343,67 +104646,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *173 - - *732 + - *733 - allOf: - *174 - - *732 + - *733 - allOf: - *175 - - *732 + - *733 - allOf: + - *734 - *733 - - *732 - allOf: - *176 - - *732 + - *733 - allOf: - *177 - - *732 + - *733 - allOf: - *178 - - *732 + - *733 - allOf: - *179 - - *732 + - *733 - allOf: - *180 - - *732 + - *733 - allOf: - *181 - - *732 + - *733 - allOf: - *182 - - *732 + - *733 - allOf: - *183 - - *732 + - *733 - allOf: - *184 - - *732 + - *733 - allOf: - *185 - - *732 + - *733 - allOf: - *186 - - *732 + - *733 - allOf: - *187 - - *732 + - *733 - allOf: - *188 - - *732 + - *733 - allOf: - *189 - - *732 + - *733 - allOf: - *190 - - *732 + - *733 - allOf: - *191 - - *732 + - *733 - allOf: - *192 - - *732 + - *733 examples: default: value: @@ -104442,8 +104745,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - *17 - *19 - name: includes_parents @@ -104454,7 +104757,7 @@ paths: schema: type: boolean default: true - - *734 + - *735 responses: '200': description: Response @@ -104509,8 +104812,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 requestBody: description: Request body required: true @@ -104539,7 +104842,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *735 + items: *736 required: - name - enforcement @@ -104572,7 +104875,7 @@ paths: application/json: schema: *193 examples: - default: &744 + default: &745 value: id: 42 name: super cool ruleset @@ -104620,12 +104923,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *471 - *472 - - *736 - - *107 + - *473 - *737 + - *107 - *738 + - *739 - *17 - *19 responses: @@ -104633,9 +104936,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *740 examples: - default: *740 + default: *741 '404': *6 '500': *40 x-github: @@ -104656,17 +104959,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *471 - *472 - - *741 + - *473 + - *742 responses: '200': description: Response content: application/json: - schema: *742 + schema: *743 examples: - default: *743 + default: *744 '404': *6 '500': *40 x-github: @@ -104694,8 +104997,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104717,7 +105020,7 @@ paths: application/json: schema: *193 examples: - default: *744 + default: *745 '404': *6 '500': *40 put: @@ -104735,8 +105038,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104770,7 +105073,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *735 + items: *736 examples: default: value: @@ -104800,7 +105103,7 @@ paths: application/json: schema: *193 examples: - default: *744 + default: *745 '404': *6 '422': *15 '500': *40 @@ -104819,8 +105122,8 @@ paths: category: repos subcategory: rules parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104843,8 +105146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *471 - *472 + - *473 - *17 - *19 - name: ruleset_id @@ -104862,7 +105165,7 @@ paths: type: array items: *197 examples: - default: *439 + default: *440 '404': *6 '500': *40 x-github: @@ -104881,8 +105184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *471 - *472 + - *473 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104900,7 +105203,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -104955,22 +105258,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: - - *471 - *472 - - *441 + - *473 - *442 - *443 - *444 - *445 + - *446 - *112 - *19 - *17 - - *745 - *746 - - *446 + - *747 - *447 - *448 - *449 + - *450 responses: '200': description: Response @@ -104978,7 +105281,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 type: object properties: number: *130 @@ -104997,8 +105300,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *747 - resolution: *748 + state: *748 + resolution: *749 resolved_at: type: string format: date-time @@ -105094,7 +105397,7 @@ paths: pull request. ' - oneOf: *749 + oneOf: *750 nullable: true has_more_locations: type: boolean @@ -105243,16 +105546,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: - - *471 - *472 - - *552 - - *449 + - *473 + - *553 + - *450 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -105306,9 +105609,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: - - *471 - *472 - - *552 + - *473 + - *553 requestBody: required: true content: @@ -105316,8 +105619,8 @@ paths: schema: type: object properties: - state: *747 - resolution: *748 + state: *748 + resolution: *749 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105351,7 +105654,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -105446,9 +105749,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: - - *471 - *472 - - *552 + - *473 + - *553 - *19 - *17 responses: @@ -105485,7 +105788,6 @@ paths: example: commit details: oneOf: - - *751 - *752 - *753 - *754 @@ -105498,6 +105800,7 @@ paths: - *761 - *762 - *763 + - *764 examples: default: value: @@ -105583,8 +105886,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -105592,14 +105895,14 @@ paths: schema: type: object properties: - reason: &765 + reason: &766 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *764 + placeholder_id: *765 required: - reason - placeholder_id @@ -105616,7 +105919,7 @@ paths: schema: type: object properties: - reason: *765 + reason: *766 expire_at: type: string format: date-time @@ -105662,8 +105965,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: - - *471 - *472 + - *473 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -105678,7 +105981,7 @@ paths: properties: incremental_scans: type: array - items: &766 + items: &767 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105704,15 +106007,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *766 + items: *767 backfill_scans: type: array - items: *766 + items: *767 custom_pattern_backfill_scans: type: array items: allOf: - - *766 + - *767 - type: object properties: pattern_name: @@ -105782,8 +106085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *471 - *472 + - *473 - *112 - name: sort description: The property to sort the results by. @@ -105827,9 +106130,9 @@ paths: application/json: schema: type: array - items: *767 + items: *768 examples: - default: *768 + default: *769 '400': *14 '404': *6 x-github: @@ -105852,8 +106155,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -105926,7 +106229,7 @@ paths: login: type: string description: The username of the user credited. - type: *454 + type: *455 required: - login - type @@ -106013,9 +106316,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: - default: &770 + default: &771 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106248,8 +106551,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: - - *471 - *472 + - *473 requestBody: required: true content: @@ -106353,7 +106656,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: default: value: @@ -106500,17 +106803,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: - - *471 - *472 - - *769 + - *473 + - *770 responses: '200': description: Response content: application/json: - schema: *767 + schema: *768 examples: - default: *770 + default: *771 '403': *29 '404': *6 x-github: @@ -106534,9 +106837,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: - - *471 - *472 - - *769 + - *473 + - *770 requestBody: required: true content: @@ -106609,7 +106912,7 @@ paths: login: type: string description: The username of the user credited. - type: *454 + type: *455 required: - login - type @@ -106695,10 +106998,10 @@ paths: description: Response content: application/json: - schema: *767 + schema: *768 examples: - default: *770 - add_credit: *770 + default: *771 + add_credit: *771 '403': *29 '404': *6 '422': @@ -106736,9 +107039,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: - - *471 - *472 - - *769 + - *473 + - *770 responses: '202': *39 '400': *14 @@ -106765,17 +107068,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: - - *471 - *472 - - *769 + - *473 + - *770 responses: '202': description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 '400': *14 '422': *15 '403': *29 @@ -106801,8 +107104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -106901,8 +107204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *471 - *472 + - *473 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106911,7 +107214,7 @@ paths: application/json: schema: type: array - items: &771 + items: &772 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106944,8 +107247,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: - - *471 - *472 + - *473 responses: '200': description: Response @@ -107021,8 +107324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -107118,8 +107421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *471 - *472 + - *473 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107273,8 +107576,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: - - *471 - *472 + - *473 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107284,7 +107587,7 @@ paths: application/json: schema: type: array - items: *771 + items: *772 examples: default: value: @@ -107317,8 +107620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *471 - *472 + - *473 - name: sha in: path required: true @@ -107372,7 +107675,7 @@ paths: description: Response content: application/json: - schema: *772 + schema: *773 examples: default: value: @@ -107426,8 +107729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -107459,14 +107762,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *471 - *472 + - *473 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &773 + schema: &774 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107534,8 +107837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *471 - *472 + - *473 requestBody: required: false content: @@ -107561,7 +107864,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -107588,8 +107891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -107609,8 +107912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -107689,8 +107992,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *471 - *472 + - *473 - name: ref in: path required: true @@ -107726,8 +108029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *471 - *472 + - *473 - *17 - *19 responses: @@ -107739,7 +108042,7 @@ paths: type: array items: *320 examples: - default: *399 + default: *400 headers: Link: *47 '404': *6 @@ -107759,8 +108062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *471 - *472 + - *473 - *19 - *17 responses: @@ -107768,7 +108071,7 @@ paths: description: Response content: application/json: - schema: &774 + schema: &775 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107780,7 +108083,7 @@ paths: required: - names examples: - default: &775 + default: &776 value: names: - octocat @@ -107803,8 +108106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -107835,9 +108138,9 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: - default: *775 + default: *776 '404': *6 '422': *7 x-github: @@ -107858,9 +108161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *471 - *472 - - &776 + - *473 + - &777 name: per description: The time frame to display results for. in: query @@ -107889,7 +108192,7 @@ paths: example: 128 clones: type: array - items: &777 + items: &778 title: Traffic type: object properties: @@ -107976,8 +108279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -108067,8 +108370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *471 - *472 + - *473 responses: '200': description: Response @@ -108128,9 +108431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *471 - *472 - - *776 + - *473 + - *777 responses: '200': description: Response @@ -108149,7 +108452,7 @@ paths: example: 3782 views: type: array - items: *777 + items: *778 required: - uniques - count @@ -108226,8 +108529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *471 - *472 + - *473 requestBody: required: true content: @@ -108501,8 +108804,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: - - *471 - *472 + - *473 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108525,8 +108828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -108548,8 +108851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *471 - *472 + - *473 responses: '204': description: Response @@ -108575,8 +108878,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *471 - *472 + - *473 - name: ref in: path required: true @@ -108668,9 +108971,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108818,7 +109121,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *285 - - *672 + - *673 requestBody: required: true content: @@ -108882,9 +109185,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *675 + items: *676 examples: - default: *778 + default: *779 '400': *14 '403': *29 '404': *6 @@ -108921,7 +109224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *285 - - *672 + - *673 requestBody: required: true content: @@ -108986,9 +109289,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *675 + items: *676 examples: - default: *778 + default: *779 '400': *14 '403': *29 '404': *6 @@ -109020,8 +109323,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *285 - - *672 - - *383 + - *673 + - *384 responses: '204': description: Issue field value deleted successfully @@ -109063,7 +109366,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &786 + - &787 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -109072,7 +109375,7 @@ paths: schema: type: string example: members - - &791 + - &792 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -109083,7 +109386,7 @@ paths: default: 1 format: int32 example: 1 - - &792 + - &793 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -109125,7 +109428,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &781 + items: &782 allOf: - type: object required: @@ -109200,7 +109503,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: &793 + meta: &794 type: object description: The metadata associated with the creation/updates to the user. @@ -109260,30 +109563,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &782 + '400': &783 description: Bad request content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '401': *780 - '403': &783 + schema: *780 + '401': *781 + '403': &784 description: Permission denied - '429': &784 + '429': &785 description: Too many requests content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '500': &785 + schema: *780 + '500': &786 description: Internal server error content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 + schema: *780 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109307,7 +109610,7 @@ paths: required: true content: application/json: - schema: &789 + schema: &790 type: object required: - schemas @@ -109367,9 +109670,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *781 + schema: *782 examples: - group: &787 + group: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -109388,13 +109691,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': *782 - '401': *780 - '403': *783 - '409': &790 + '400': *783 + '401': *781 + '403': *784 + '409': &791 description: Duplicate record detected - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109411,7 +109714,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: - - &788 + - &789 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109419,22 +109722,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *786 + - *787 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *781 + schema: *782 examples: - default: *787 - '400': *782 - '401': *780 - '403': *783 + default: *788 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109453,13 +109756,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: - - *788 + - *789 - *41 requestBody: required: true content: application/json: - schema: *789 + schema: *790 examples: group: summary: Group @@ -109485,17 +109788,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *781 + schema: *782 examples: - group: *787 - groupWithMembers: *787 - '400': *782 - '401': *780 - '403': *783 + group: *788 + groupWithMembers: *788 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109519,13 +109822,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: - - *788 + - *789 - *41 requestBody: required: true content: application/json: - schema: &800 + schema: &801 type: object required: - Operations @@ -109585,17 +109888,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *781 + schema: *782 examples: - updateGroup: *787 - addMembers: *787 - '400': *782 - '401': *780 - '403': *783 + updateGroup: *788 + addMembers: *788 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109611,17 +109914,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: - - *788 + - *789 - *41 responses: '204': description: Group was deleted, no content - '400': *782 - '401': *780 - '403': *783 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109655,8 +109958,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *791 - *792 + - *793 - *41 responses: '200': @@ -109689,7 +109992,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &795 + items: &796 allOf: - type: object required: @@ -109768,7 +110071,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &794 + roles: &795 type: array description: The roles assigned to the user. items: @@ -109824,7 +110127,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *793 + meta: *794 startIndex: type: integer description: A starting index for the returned page @@ -109861,11 +110164,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *782 - '401': *780 - '403': *783 - '429': *784 - '500': *785 + '400': *783 + '401': *781 + '403': *784 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109889,7 +110192,7 @@ paths: required: true content: application/json: - schema: &798 + schema: &799 type: object required: - schemas @@ -109971,9 +110274,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *794 + roles: *795 examples: - user: &799 + user: &800 summary: User value: schemas: @@ -110020,9 +110323,9 @@ paths: description: User has been created content: application/scim+json: - schema: *795 + schema: *796 examples: - user: &796 + user: &797 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110048,13 +110351,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: *796 - '400': *782 - '401': *780 - '403': *783 - '409': *790 - '429': *784 - '500': *785 + enterpriseOwner: *797 + '400': *783 + '401': *781 + '403': *784 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110071,7 +110374,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: - - &797 + - &798 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110084,15 +110387,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *795 + schema: *796 examples: - default: *796 - '400': *782 - '401': *780 - '403': *783 + default: *797 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110143,30 +110446,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: - - *797 + - *798 - *41 requestBody: required: true content: application/json: - schema: *798 + schema: *799 examples: - user: *799 + user: *800 responses: '200': description: User was updated content: application/scim+json: - schema: *795 + schema: *796 examples: - user: *796 - '400': *782 - '401': *780 - '403': *783 + user: *797 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110207,13 +110510,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: - - *797 + - *798 - *41 requestBody: required: true content: application/json: - schema: *800 + schema: *801 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -110253,18 +110556,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *795 + schema: *796 examples: - userMultiValuedProperties: *796 - userSingleValuedProperties: *796 - disableUser: *796 - '400': *782 - '401': *780 - '403': *783 + userMultiValuedProperties: *797 + userSingleValuedProperties: *797 + disableUser: *797 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '409': *790 - '429': *784 - '500': *785 + '409': *791 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110284,17 +110587,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: - - *797 + - *798 - *41 responses: '204': description: User was deleted, no content - '400': *782 - '401': *780 - '403': *783 + '400': *783 + '401': *781 + '403': *784 '404': *6 - '429': *784 - '500': *785 + '429': *785 + '500': *786 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110381,7 +110684,7 @@ paths: example: 1 Resources: type: array - items: &801 + items: &802 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110612,22 +110915,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': *37 - '404': &802 + '404': &803 description: Resource not found content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '403': &803 + schema: *780 + '403': &804 description: Forbidden content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '400': *782 - '429': *784 + schema: *780 + '400': *783 + '429': *785 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -110653,9 +110956,9 @@ paths: description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: &804 + default: &805 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110678,17 +110981,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': *37 - '404': *802 - '403': *803 - '500': *785 + '404': *803 + '403': *804 + '500': *786 '409': description: Conflict content: application/json: - schema: *779 + schema: *780 application/scim+json: - schema: *779 - '400': *782 + schema: *780 + '400': *783 requestBody: required: true content: @@ -110786,17 +111089,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *797 + - *798 responses: '200': description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: *804 - '404': *802 - '403': *803 + default: *805 + '404': *803 + '403': *804 '304': *37 x-github: githubCloudOnly: true @@ -110820,18 +111123,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *797 + - *798 responses: '200': description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: *804 + default: *805 '304': *37 - '404': *802 - '403': *803 + '404': *803 + '403': *804 requestBody: required: true content: @@ -110944,19 +111247,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *797 + - *798 responses: '200': description: Response content: application/scim+json: - schema: *801 + schema: *802 examples: - default: *804 + default: *805 '304': *37 - '404': *802 - '403': *803 - '400': *782 + '404': *803 + '403': *804 + '400': *783 '429': description: Response content: @@ -111047,12 +111350,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *797 + - *798 responses: '204': description: Response - '404': *802 - '403': *803 + '404': *803 + '403': *804 '304': *37 x-github: githubCloudOnly: true @@ -111185,7 +111488,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &805 + text_matches: &806 title: Search Result Text Matches type: array items: @@ -111348,7 +111651,7 @@ paths: enum: - author-date - committer-date - - &806 + - &807 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 @@ -111419,7 +111722,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *523 nullable: true comment_count: type: integer @@ -111439,7 +111742,7 @@ paths: url: type: string format: uri - verification: *650 + verification: *651 required: - author - committer @@ -111458,7 +111761,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *522 + properties: *523 nullable: true parents: type: array @@ -111476,7 +111779,7 @@ paths: type: number node_id: type: string - text_matches: *805 + text_matches: *806 required: - sha - node_id @@ -111669,7 +111972,7 @@ paths: - interactions - created - updated - - *806 + - *807 - *17 - *19 - name: advanced_search @@ -111766,11 +112069,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: type: string state_reason: @@ -111780,8 +112083,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true comments: type: integer @@ -111795,7 +112098,7 @@ paths: type: string format: date-time nullable: true - text_matches: *805 + text_matches: *806 pull_request: type: object properties: @@ -111839,7 +112142,7 @@ paths: timeline_url: type: string format: uri - type: *384 + type: *385 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -112027,7 +112330,7 @@ paths: enum: - created - updated - - *806 + - *807 - *17 - *19 responses: @@ -112071,7 +112374,7 @@ paths: nullable: true score: type: number - text_matches: *805 + text_matches: *806 required: - id - node_id @@ -112157,7 +112460,7 @@ paths: - forks - help-wanted-issues - updated - - *806 + - *807 - *17 - *19 responses: @@ -112407,7 +112710,7 @@ paths: - admin - pull - push - text_matches: *805 + text_matches: *806 temp_clone_token: type: string allow_merge_commit: @@ -112708,7 +113011,7 @@ paths: type: string format: uri nullable: true - text_matches: *805 + text_matches: *806 related: type: array nullable: true @@ -112901,7 +113204,7 @@ paths: - followers - repositories - joined - - *806 + - *807 - *17 - *19 responses: @@ -113005,7 +113308,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *805 + text_matches: *806 blog: type: string nullable: true @@ -113084,7 +113387,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &809 + - &810 name: team_id description: The unique identifier of the team. in: path @@ -113096,9 +113399,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 x-github: githubCloudOnly: false @@ -113125,7 +113428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *809 + - *810 requestBody: required: true content: @@ -113188,16 +113491,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '201': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 '404': *6 '422': *15 '403': *29 @@ -113225,7 +113528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *809 + - *810 responses: '204': description: Response @@ -113254,7 +113557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *809 + - *810 - *17 - *19 responses: @@ -113264,9 +113567,9 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: - default: *379 + default: *380 headers: Link: *47 x-github: @@ -113292,7 +113595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *809 + - *810 - name: role description: Filters members returned by their role in the team. in: query @@ -113343,7 +113646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *809 + - *810 - *145 responses: '204': @@ -113380,7 +113683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *809 + - *810 - *145 responses: '204': @@ -113420,7 +113723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *809 + - *810 - *145 responses: '204': @@ -113457,16 +113760,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: - - *809 + - *810 - *145 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - response-if-user-is-a-team-maintainer: *810 + response-if-user-is-a-team-maintainer: *811 '404': *6 x-github: githubCloudOnly: false @@ -113499,7 +113802,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: - - *809 + - *810 - *145 requestBody: required: false @@ -113525,9 +113828,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: *811 + response-if-users-membership-with-team-is-now-pending: *812 '403': description: Forbidden if team synchronization is set up '422': @@ -113561,7 +113864,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: - - *809 + - *810 - *145 responses: '204': @@ -113589,7 +113892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *809 + - *810 - *17 - *19 responses: @@ -113601,7 +113904,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 '404': *6 @@ -113631,15 +113934,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: - - *809 - - *471 + - *810 - *472 + - *473 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *812 + schema: *813 examples: alternative-response-with-extra-repository-information: value: @@ -113790,9 +114093,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: - - *809 - - *471 + - *810 - *472 + - *473 requestBody: required: false content: @@ -113842,9 +114145,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: - - *809 - - *471 + - *810 - *472 + - *473 responses: '204': description: Response @@ -113873,15 +114176,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: - - *809 + - *810 responses: '200': description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *474 + default: *475 '403': *29 '404': *6 x-github: @@ -113908,7 +114211,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: - - *809 + - *810 requestBody: required: true content: @@ -113965,7 +114268,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: default: value: @@ -113996,7 +114299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *809 + - *810 - *17 - *19 responses: @@ -114008,7 +114311,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: *813 + response-if-child-teams-exist: *814 headers: Link: *47 '404': *6 @@ -114041,7 +114344,7 @@ paths: application/json: schema: oneOf: - - &814 + - &815 title: Private User description: Private User type: object @@ -114556,7 +114859,7 @@ paths: description: Response content: application/json: - schema: *814 + schema: *815 examples: default: value: @@ -114759,9 +115062,9 @@ paths: type: integer codespaces: type: array - items: *389 + items: *390 examples: - default: *390 + default: *391 '304': *37 '500': *40 '401': *25 @@ -114900,17 +115203,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -114954,7 +115257,7 @@ paths: type: integer secrets: type: array - items: &815 + items: &816 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114994,7 +115297,7 @@ paths: - visibility - selected_repositories_url examples: - default: *578 + default: *579 headers: Link: *47 x-github: @@ -115070,7 +115373,7 @@ paths: description: Response content: application/json: - schema: *815 + schema: *816 examples: default: value: @@ -115216,7 +115519,7 @@ paths: type: array items: *291 examples: - default: *816 + default: *335 '401': *25 '403': *29 '404': *6 @@ -115360,15 +115663,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: - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '304': *37 '500': *40 '401': *25 @@ -115394,7 +115697,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: - - *391 + - *392 requestBody: required: false content: @@ -115424,9 +115727,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *6 @@ -115448,7 +115751,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: - - *391 + - *392 responses: '202': *39 '304': *37 @@ -115477,7 +115780,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: - - *391 + - *392 responses: '202': description: Response @@ -115556,7 +115859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *391 + - *392 - name: export_id in: path required: true @@ -115592,7 +115895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *391 + - *392 responses: '200': description: Response @@ -115639,7 +115942,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: - - *391 + - *392 requestBody: required: true content: @@ -115689,13 +115992,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *476 + repository: *477 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *576 - required: *577 + properties: *577 + required: *578 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -116469,15 +116772,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: - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '304': *37 '500': *40 '400': *14 @@ -116509,15 +116812,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: - - *391 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *575 + default: *576 '500': *40 '401': *25 '403': *29 @@ -116547,7 +116850,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: &831 value: @@ -117638,12 +117941,12 @@ paths: application/json: schema: anyOf: - - *376 + - *377 - type: object properties: {} additionalProperties: false examples: - default: *377 + default: *378 '204': description: Response when there are no restrictions x-github: @@ -117667,7 +117970,7 @@ paths: required: true content: application/json: - schema: *660 + schema: *661 examples: default: value: @@ -117678,7 +117981,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -117759,7 +118062,7 @@ paths: - closed - all default: open - - *387 + - *388 - name: sort description: What to sort results by. in: query @@ -117784,7 +118087,7 @@ paths: type: array items: *227 examples: - default: *388 + default: *389 headers: Link: *47 '404': *6 @@ -117953,7 +118256,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: - - *694 + - *695 responses: '200': description: Response @@ -117984,7 +118287,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: - - *694 + - *695 responses: '204': description: Response @@ -118189,7 +118492,7 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: default: value: @@ -118303,7 +118606,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -118390,7 +118693,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -118462,7 +118765,7 @@ paths: application/json: schema: type: array - items: *394 + items: *395 examples: default: value: @@ -118715,7 +119018,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -118895,7 +119198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *395 + - *396 - name: exclude in: query required: false @@ -118908,7 +119211,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -119102,7 +119405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *395 + - *396 responses: '302': description: Response @@ -119128,7 +119431,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *395 + - *396 responses: '204': description: Response @@ -119157,7 +119460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *395 + - *396 - *829 responses: '204': @@ -119182,7 +119485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *395 + - *396 - *17 - *19 responses: @@ -119281,7 +119584,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: *831 '400': *832 @@ -119304,14 +119607,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: - - *402 - *403 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: default: &851 value: @@ -119426,8 +119729,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: - - *402 - *403 + - *404 responses: '204': description: Response @@ -119457,8 +119760,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: - - *402 - *403 + - *404 - name: token description: package token schema: @@ -119490,8 +119793,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: - - *402 - *403 + - *404 - *19 - *17 - name: state @@ -119511,7 +119814,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -119560,15 +119863,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: - - *402 - *403 - - *405 + - *404 + - *406 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -119604,9 +119907,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: - - *402 - *403 - - *405 + - *404 + - *406 responses: '204': description: Response @@ -119636,9 +119939,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: - - *402 - *403 - - *405 + - *404 + - *406 responses: '204': description: Response @@ -120094,9 +120397,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120135,7 +120438,7 @@ paths: application/json: schema: type: array - items: *662 + items: *663 examples: default: *834 headers: @@ -120160,7 +120463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *380 + - *381 responses: '204': description: Response @@ -120184,7 +120487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *380 + - *381 responses: '204': description: Response @@ -120750,8 +121053,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: - - *471 - *472 + - *473 responses: '204': description: Response if this repository is starred by you @@ -120779,8 +121082,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -120804,8 +121107,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: - - *471 - *472 + - *473 responses: '204': description: Response @@ -120840,7 +121143,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 '304': *37 @@ -120877,7 +121180,7 @@ paths: application/json: schema: type: array - items: *463 + items: *464 examples: default: value: @@ -120963,7 +121266,7 @@ paths: application/json: schema: oneOf: - - *814 + - *815 - *841 examples: default-response: &845 @@ -121065,7 +121368,7 @@ paths: required: true schema: type: string - - *418 + - *419 requestBody: required: true description: Details of the draft item to create in the project. @@ -121099,9 +121402,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: - draft_issue: *425 + draft_issue: *426 '304': *37 '403': *29 '401': *25 @@ -121160,7 +121463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *843 - - *418 + - *419 requestBody: required: true content: @@ -121235,13 +121538,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *429 + value: *430 board_view: summary: Response for creating a board view with filter - value: *429 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *429 + value: *430 '304': *37 '403': *29 '401': *25 @@ -121283,7 +121586,7 @@ paths: application/json: schema: oneOf: - - *814 + - *815 - *841 examples: default-response: *845 @@ -121566,7 +121869,7 @@ paths: initiator: type: string examples: - default: *518 + default: *519 '201': description: Response content: @@ -121605,7 +121908,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: *831 '403': *29 @@ -122097,7 +122400,7 @@ paths: application/json: schema: *22 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122232,7 +122535,7 @@ paths: application/json: schema: type: array - items: *400 + items: *401 examples: default: *831 '403': *29 @@ -122257,15 +122560,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *402 - *403 + - *404 - *145 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: default: *851 x-github: @@ -122288,8 +122591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *402 - *403 + - *404 - *145 responses: '204': @@ -122322,8 +122625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *402 - *403 + - *404 - *145 - name: token description: package token @@ -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-a-user parameters: - - *402 - *403 + - *404 - *145 responses: '200': @@ -122366,7 +122669,7 @@ paths: application/json: schema: type: array - items: *404 + items: *405 examples: default: value: @@ -122424,16 +122727,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: - - *402 - *403 - - *405 + - *404 + - *406 - *145 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -122468,10 +122771,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *402 - *403 + - *404 - *145 - - *405 + - *406 responses: '204': description: Response @@ -122503,10 +122806,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *402 - *403 + - *404 - *145 - - *405 + - *406 responses: '204': description: Response @@ -122547,9 +122850,9 @@ paths: application/json: schema: type: array - items: *416 + items: *417 examples: - default: *417 + default: *418 headers: Link: *47 '304': *37 @@ -122571,16 +122874,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *418 + - *419 - *145 responses: '200': description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *417 + default: *418 headers: Link: *47 '304': *37 @@ -122602,7 +122905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *418 + - *419 - *145 - *17 - *110 @@ -122614,7 +122917,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: *852 headers: @@ -122638,7 +122941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *145 - - *418 + - *419 requestBody: required: true content: @@ -122721,7 +123024,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: text_field: *857 number_field: *858 @@ -122748,7 +123051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *418 + - *419 - *862 - *145 responses: @@ -122756,7 +123059,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: default: *863 headers: @@ -122781,7 +123084,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: - - *418 + - *419 - *145 - *110 - *111 @@ -122814,9 +123117,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -122838,7 +123141,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *145 - - *418 + - *419 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -122908,22 +123211,22 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *425 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *425 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *425 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *425 + value: *426 '304': *37 '403': *29 '401': *25 @@ -122943,9 +123246,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: - - *418 + - *419 - *145 - - *428 + - *429 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -122965,9 +123268,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -122988,9 +123291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *418 + - *419 - *145 - - *428 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -123060,13 +123363,13 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - text_field: *427 - number_field: *427 - date_field: *427 - single_select_field: *427 - iteration_field: *427 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *25 '403': *29 '404': *6 @@ -123086,9 +123389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *418 + - *419 - *145 - - *428 + - *429 responses: '204': description: Response @@ -123110,7 +123413,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: - - *418 + - *419 - *145 - *864 - name: fields @@ -123138,9 +123441,9 @@ paths: application/json: schema: type: array - items: *426 + items: *427 examples: - default: *427 + default: *428 headers: Link: *47 '304': *37 @@ -123361,7 +123664,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 x-github: @@ -123497,7 +123800,7 @@ paths: type: array items: *291 examples: - default: *413 + default: *414 headers: Link: *47 x-github: @@ -129817,7 +130120,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130140,7 +130443,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130470,7 +130773,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130812,7 +131115,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -131082,7 +131385,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131363,7 +131666,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131674,7 +131977,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *548 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -132769,7 +133072,7 @@ x-webhooks: type: string enum: - assignees_changed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -132853,7 +133156,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -132938,7 +133241,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133023,7 +133326,7 @@ x-webhooks: type: string enum: - created - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133106,7 +133409,7 @@ x-webhooks: type: string enum: - dismissed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133189,7 +133492,7 @@ x-webhooks: type: string enum: - fixed - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133273,7 +133576,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -133356,7 +133659,7 @@ x-webhooks: type: string enum: - reopened - alert: *609 + alert: *610 installation: *869 organization: *870 enterprise: *868 @@ -134864,7 +135167,7 @@ x-webhooks: nullable: true pull_requests: type: array - items: *715 + items: *716 repository: *871 organization: *870 installation: *869 @@ -143917,8 +144220,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *690 - required: *691 + properties: *691 + required: *692 nullable: true user: title: User @@ -144793,8 +145096,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144810,7 +145113,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -145381,8 +145684,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *690 - required: *691 + properties: *691 + required: *692 nullable: true required: - url @@ -146183,8 +146486,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146200,7 +146503,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -147418,8 +147721,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147435,7 +147738,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -148642,8 +148945,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148659,7 +148962,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -149867,8 +150170,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149884,7 +150187,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -151458,11 +151761,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151478,7 +151781,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -152458,11 +152761,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152478,7 +152781,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -153583,11 +153886,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153603,7 +153906,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -154594,11 +154897,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154614,7 +154917,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -155724,11 +156027,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155741,7 +156044,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *384 + type: *385 title: description: Title of the issue type: string @@ -156719,11 +157022,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156736,7 +157039,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *384 + type: *385 title: description: Title of the issue type: string @@ -157738,11 +158041,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +158058,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *384 + type: *385 title: description: Title of the issue type: string @@ -158726,11 +159029,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158746,7 +159049,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -159689,11 +159992,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159794,7 +160097,7 @@ x-webhooks: required: - login - id - type: *384 + type: *385 required: - id - number @@ -161063,11 +161366,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161083,7 +161386,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -162060,11 +162363,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162080,7 +162383,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -163074,11 +163377,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163172,7 +163475,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *384 + type: *385 organization: *870 repository: *871 sender: *4 @@ -164043,11 +164346,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164063,7 +164366,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -164733,7 +165036,7 @@ x-webhooks: enterprise: *868 installation: *869 issue: *904 - type: *384 + type: *385 organization: *870 repository: *871 sender: *4 @@ -165868,11 +166171,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *807 - issue_dependencies_summary: *808 + sub_issues_summary: *808 + issue_dependencies_summary: *809 issue_field_values: type: array - items: *675 + items: *676 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165888,7 +166191,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *384 + type: *385 updated_at: type: string format: date-time @@ -166133,7 +166436,7 @@ x-webhooks: enterprise: *868 installation: *869 issue: *904 - type: *384 + type: *385 organization: *870 repository: *871 sender: *4 @@ -174152,7 +174455,7 @@ x-webhooks: - closed installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174235,7 +174538,7 @@ x-webhooks: - created installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174318,7 +174621,7 @@ x-webhooks: - deleted installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174437,7 +174740,7 @@ x-webhooks: type: string installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -174554,7 +174857,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *423 + content_type: *424 creator: *4 created_at: type: string @@ -175288,7 +175591,7 @@ x-webhooks: - reopened installation: *869 organization: *870 - projects_v2: *416 + projects_v2: *417 sender: *4 required: - action @@ -182889,7 +183192,7 @@ x-webhooks: organization: *870 pull_request: &928 allOf: - - *715 + - *716 - type: object properties: allow_auto_merge: @@ -183118,7 +183421,7 @@ x-webhooks: enum: - demilestoned enterprise: *868 - milestone: *697 + milestone: *698 number: *927 organization: *870 pull_request: &929 @@ -195142,7 +195445,7 @@ x-webhooks: enum: - milestoned enterprise: *868 - milestone: *697 + milestone: *698 number: *927 organization: *870 pull_request: *929 @@ -237377,7 +237680,7 @@ x-webhooks: installation: *869 organization: *870 repository: *871 - repository_advisory: *767 + repository_advisory: *768 sender: *4 required: - action @@ -237457,7 +237760,7 @@ x-webhooks: installation: *869 organization: *870 repository: *871 - repository_advisory: *767 + repository_advisory: *768 sender: *4 required: - action @@ -238544,16 +238847,16 @@ x-webhooks: properties: added: type: array - items: *735 + items: *736 deleted: type: array - items: *735 + items: *736 updated: type: array items: type: object properties: - rule: *735 + rule: *736 changes: type: object properties: @@ -241139,11 +241442,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *433 + security_and_analysis: *434 enterprise: *868 installation: *869 organization: *870 - repository: *476 + repository: *477 sender: *4 required: - changes @@ -246366,7 +246669,7 @@ x-webhooks: type: string required: - conclusion - deployment: *615 + deployment: *616 required: - action - repository @@ -246708,7 +247011,7 @@ x-webhooks: required: - status - steps - deployment: *615 + deployment: *616 required: - action - repository @@ -246925,7 +247228,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *616 required: - action - repository @@ -247143,7 +247446,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *616 required: - action - repository diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 3a857595e..bdbbf5060 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -5098,6 +5098,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.", @@ -6099,6 +6107,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.", @@ -6968,6 +6984,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.", @@ -7454,6 +7478,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.", @@ -9619,6 +9651,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.", @@ -10671,6 +10711,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.", @@ -11640,6 +11688,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.", @@ -12320,6 +12376,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.", @@ -29074,6 +29138,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.", @@ -29870,958 +29942,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": { - "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", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { - "type": "boolean", - "example": true - }, - "single_file_paths": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "config.yml", - ".github/issue_TEMPLATE.md" - ] - }, - "app_slug": { - "type": "string", - "example": "github-actions" - }, - "suspended_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "suspended_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "contact_email": { - "type": "string", - "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", - "nullable": true - } - }, - "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", - "example": 1 - }, - "account": { - "nullable": true, - "anyOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" - }, - "avatar_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - } - ] - }, - "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", - "example": "https://api.github.com/app/installations/1/access_tokens" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/installation/repositories" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/organizations/github/settings/installations/1" - }, - "app_id": { - "type": "integer", - "example": 1 - }, - "client_id": { - "type": "string", - "example": "Iv1.ab1112223334445c" - }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { - "type": "string", - "example": "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": { + "organization_copilot_agent_settings": { "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", + "description": "The level of permission to grant the access token to view and manage Copilot coding agent settings for an organization.", "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.", @@ -31246,400 +30374,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", - "example": 1 - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "example": "Team Environment" - }, - "full_name": { - "type": "string", - "example": "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": { @@ -32165,6 +30902,1365 @@ "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", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "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", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "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", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "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", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "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.", @@ -49971,6 +50067,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.", @@ -158973,26 +159077,2383 @@ } }, "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": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", + "example": 1296269 + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "type": "string", + "example": "Hello-World" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "example": "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", + "example": "contributor_covenant" + }, + "name": { + "type": "string", + "example": "Contributor Covenant" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/codes_of_conduct/contributor_covenant" + }, + "body": { + "type": "string", + "example": "# 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", + "format": "uri", + "nullable": true + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string", + "nullable": true + }, + "node_id": { + "type": "string" + } + }, + "nullable": true + }, + "forks": { + "type": "integer", + "example": 0 + }, + "open_issues": { + "type": "integer", + "example": 0 + }, + "watchers": { + "type": "integer", + "example": 0 + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "security_and_analysis": { + "nullable": true, + "type": "object", + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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": [ { @@ -159003,71 +161464,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": { @@ -159092,8 +161531,8 @@ } } }, - "401": { - "description": "Requires authentication", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -159118,8 +161557,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -159144,8 +161583,8 @@ } } }, - "404": { - "description": "Resource not found", + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -159169,16 +161608,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" } } }, @@ -185572,6 +188008,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.", @@ -186588,6 +189032,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.", @@ -431631,6 +434083,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.", @@ -678694,6 +681154,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.", @@ -757008,6 +759476,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.", @@ -993736,6 +996212,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.", @@ -996389,6 +998873,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.", @@ -998949,6 +1001441,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.", @@ -1001509,6 +1004009,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.", @@ -1004201,6 +1006709,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.", @@ -1006900,6 +1009416,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.", @@ -1011267,6 +1013791,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 743d2110c..131a19454 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -887,7 +887,7 @@ paths: - subscriptions_url - type - url - type: &456 + type: &457 type: string description: The type of credit the user is receiving. enum: @@ -1080,7 +1080,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: - - &772 + - &773 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1636,7 +1636,7 @@ paths: schema: type: integer default: 30 - - &359 + - &360 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 @@ -1652,7 +1652,7 @@ paths: application/json: schema: type: array - items: &360 + items: &361 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1732,7 +1732,7 @@ paths: - installation_id - repository_id examples: - default: &361 + default: &362 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1764,7 +1764,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &782 + schema: &783 title: Scim Error description: Scim Error type: object @@ -1860,7 +1860,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &363 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1974,7 +1974,7 @@ paths: - request - response examples: - default: &363 + default: &364 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2501,6 +2501,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 @@ -2970,7 +2978,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &432 + properties: &433 id: description: Unique identifier of the repository example: 42 @@ -3426,7 +3434,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &433 + required: &434 - archive_url - assignees_url - blobs_url @@ -3500,7 +3508,7 @@ paths: - watchers_count - created_at - updated_at - x-github-breaking-changes: &434 + x-github-breaking-changes: &435 - changeset: remove_use_squash_pr_title_as_default patch: properties: @@ -9206,7 +9214,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &783 + '401': &784 description: Authorization failure '404': *6 x-github: @@ -13417,7 +13425,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &547 + instances_url: &548 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13452,7 +13460,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &548 + dismissed_reason: &549 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13461,13 +13469,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &549 + dismissed_comment: &550 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &550 + rule: &551 type: object properties: id: @@ -13520,7 +13528,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &551 + tool: &552 type: object properties: name: *113 @@ -13530,26 +13538,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *114 - most_recent_instance: &552 + most_recent_instance: &553 type: object properties: - ref: &545 + ref: &546 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &562 + analysis_key: &563 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: &563 + environment: &564 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: &564 + category: &565 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13563,7 +13571,7 @@ paths: properties: text: type: string - location: &565 + location: &566 type: object description: Describe a region within a file for the alert. properties: @@ -13584,7 +13592,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: &566 + items: &567 type: string description: A classification of the file. For example to identify it as generated. @@ -15925,7 +15933,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &398 + properties: &399 id: description: Unique identifier of the team type: integer @@ -15997,7 +16005,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &399 + required: &400 - id - node_id - url @@ -16670,7 +16678,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &335 + '413': &336 description: Payload Too Large content: application/json: @@ -17737,7 +17745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &340 + - &341 name: state in: query description: |- @@ -17746,7 +17754,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &341 + - &342 name: severity in: query description: |- @@ -17755,7 +17763,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &342 + - &343 name: ecosystem in: query description: |- @@ -17764,14 +17772,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &343 + - &344 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 - - &344 + - &345 name: epss_percentage in: query description: |- @@ -17783,7 +17791,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 - - &607 + - &608 name: has in: query description: |- @@ -17797,7 +17805,7 @@ paths: type: string enum: - patch - - &345 + - &346 name: assignee in: query description: |- @@ -17806,7 +17814,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &346 + - &347 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17816,7 +17824,7 @@ paths: enum: - development - runtime - - &347 + - &348 name: sort in: query description: |- @@ -17842,7 +17850,7 @@ paths: application/json: schema: type: array - items: &348 + items: &349 type: object description: A Dependabot alert. properties: @@ -17905,7 +17913,7 @@ paths: - unknown - direct - transitive - security_advisory: &608 + security_advisory: &609 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -18156,14 +18164,14 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: &609 + auto_dismissed_at: &610 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &610 + dismissal_request: &611 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18225,7 +18233,7 @@ paths: - repository additionalProperties: false examples: - default: &349 + default: &350 value: - number: 2 state: dismissed @@ -19201,7 +19209,7 @@ paths: application/json: schema: *22 examples: - default: &375 + default: &376 value: id: 1 account: @@ -19455,7 +19463,7 @@ paths: - name - created_on examples: - default: &461 + default: &462 value: total_count: 2 network_configurations: @@ -19680,7 +19688,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: - *41 - - &462 + - &463 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19692,7 +19700,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &464 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19726,7 +19734,7 @@ paths: - subnet_id - region examples: - default: &464 + default: &465 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20545,7 +20553,7 @@ paths: required: true content: application/json: - schema: &431 + schema: &432 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21737,7 +21745,7 @@ paths: nullable: true anyOf: - *164 - - &438 + - &439 title: Organization ruleset conditions type: object description: |- @@ -21784,7 +21792,7 @@ paths: - *167 rules: type: array - items: &738 + items: &739 title: Repository Rule type: object description: A repository rule. @@ -21793,7 +21801,7 @@ paths: - *173 - *174 - *175 - - &736 + - &737 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -22121,7 +22129,7 @@ paths: type: string format: date-time examples: - default: &441 + default: &442 value: - version_id: 3 actor: @@ -22174,7 +22182,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &443 allOf: - *197 - type: object @@ -22229,7 +22237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &443 + - &444 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -22240,7 +22248,7 @@ paths: enum: - open - resolved - - &444 + - &445 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -22250,7 +22258,7 @@ paths: required: false schema: type: string - - &445 + - &446 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22259,7 +22267,7 @@ paths: required: false schema: type: string - - &446 + - &447 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22278,7 +22286,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &447 + - &448 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. @@ -22294,7 +22302,7 @@ paths: - *17 - *110 - *111 - - &448 + - &449 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22303,7 +22311,7 @@ paths: required: false schema: type: string - - &449 + - &450 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22312,7 +22320,7 @@ paths: schema: type: boolean default: false - - &450 + - &451 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22321,7 +22329,7 @@ paths: schema: type: boolean default: false - - &451 + - &452 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22337,7 +22345,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 type: object properties: number: *130 @@ -22356,14 +22364,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &750 + state: &751 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: &751 + resolution: &752 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -22470,8 +22478,8 @@ paths: pull request. ' - oneOf: &752 - - &754 + oneOf: &753 + - &755 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22523,7 +22531,7 @@ paths: - blob_url - commit_sha - commit_url - - &755 + - &756 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. @@ -22578,7 +22586,7 @@ paths: - page_url - commit_sha - commit_url - - &756 + - &757 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22592,7 +22600,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &757 + - &758 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22606,7 +22614,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &758 + - &759 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22620,7 +22628,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &759 + - &760 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22634,7 +22642,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &760 + - &761 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22648,7 +22656,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &761 + - &762 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22662,7 +22670,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &762 + - &763 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. @@ -22676,7 +22684,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &763 + - &764 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. @@ -22690,7 +22698,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &764 + - &765 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. @@ -22704,7 +22712,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &765 + - &766 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. @@ -22718,7 +22726,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &766 + - &767 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -22745,7 +22753,7 @@ paths: required: *21 nullable: true examples: - default: &453 + default: &454 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22954,7 +22962,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &455 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -23037,7 +23045,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *199 examples: - default: &455 + default: &456 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -23173,7 +23181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &458 + - &459 name: advanced_security_product in: query description: | @@ -23193,7 +23201,7 @@ paths: description: Success content: application/json: - schema: &459 + schema: &460 type: object properties: total_advanced_security_committers: @@ -23248,7 +23256,7 @@ paths: required: - repositories examples: - default: &460 + default: &461 value: total_advanced_security_committers: 2 total_count: 2 @@ -26727,7 +26735,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &670 + properties: &671 id: type: integer format: int64 @@ -26840,7 +26848,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &420 + properties: &421 url: type: string format: uri @@ -26910,7 +26918,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &421 + required: &422 - closed_issues - creator - description @@ -26989,7 +26997,7 @@ paths: timeline_url: type: string format: uri - type: &385 + type: &386 title: Issue Type description: The type of issue. type: object @@ -27103,7 +27111,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &810 + sub_issues_summary: &811 title: Sub-issues Summary type: object properties: @@ -27190,7 +27198,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &693 + properties: &694 pinned_at: type: string format: date-time @@ -27202,7 +27210,7 @@ paths: properties: *20 required: *21 nullable: true - required: &694 + required: &695 - pinned_at - pinned_by nullable: true @@ -27216,7 +27224,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &811 + issue_dependencies_summary: &812 title: Issue Dependencies Summary type: object properties: @@ -27235,7 +27243,7 @@ paths: - total_blocking issue_field_values: type: array - items: &678 + items: &679 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27296,7 +27304,7 @@ paths: - node_id - data_type - value - required: &671 + required: &672 - assignee - closed_at - comments @@ -27317,7 +27325,7 @@ paths: - user - created_at - updated_at - x-github-breaking-changes: &672 + x-github-breaking-changes: &673 - changeset: deprecate_beta_media_type patch: properties: @@ -27377,7 +27385,7 @@ paths: action: type: string issue: *227 - comment: &666 + comment: &667 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -28043,7 +28051,7 @@ paths: type: string release: allOf: - - &729 + - &730 title: Release description: A release. type: object @@ -28114,7 +28122,7 @@ paths: author: *4 assets: type: array - items: &730 + items: &731 title: Release Asset description: Data related to a release. type: object @@ -28722,7 +28730,7 @@ paths: url: type: string format: uri - user: &817 + user: &818 title: Public User description: Public User type: object @@ -30602,7 +30610,7 @@ paths: - closed - all default: open - - &388 + - &389 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30653,7 +30661,7 @@ paths: type: array items: *227 examples: - default: &389 + default: &390 value: - id: 1 node_id: MDU6SXNzdWUx @@ -32038,14 +32046,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: - - &473 + - &474 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &474 + - &475 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -32107,7 +32115,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &479 + '301': &480 description: Moved permanently content: application/json: @@ -32129,7 +32137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &703 + - &704 name: all description: If `true`, show notifications marked as read. in: query @@ -32137,7 +32145,7 @@ paths: schema: type: boolean default: false - - &704 + - &705 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -32147,7 +32155,7 @@ paths: type: boolean default: false - *234 - - &705 + - &706 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: @@ -32183,7 +32191,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &353 + properties: &354 id: type: integer format: int64 @@ -32471,7 +32479,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &435 + security_and_analysis: &436 nullable: true type: object properties: @@ -32592,7 +32600,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &354 + required: &355 - archive_url - assignees_url - blobs_url @@ -32639,7 +32647,7 @@ paths: - teams_url - trees_url - url - x-github-breaking-changes: &355 + x-github-breaking-changes: &356 - changeset: remove_has_downloads patch: properties: @@ -32686,7 +32694,7 @@ paths: - url - subscription_url examples: - default: &706 + default: &707 value: - id: '1' repository: @@ -33283,7 +33291,7 @@ paths: type: integer custom_roles: type: array - items: &336 + items: &337 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -33331,7 +33339,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &338 value: id: 8030 name: Security Engineer @@ -33816,7 +33824,7 @@ paths: type: array items: *158 examples: - default: &712 + default: &713 value: - property_name: environment value: production @@ -33866,7 +33874,7 @@ paths: required: - properties examples: - default: &713 + default: &714 value: properties: - property_name: environment @@ -34707,7 +34715,7 @@ paths: type: integer repository_cache_usages: type: array - items: &486 + items: &487 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36935,7 +36943,7 @@ paths: type: array items: *291 examples: - default: &820 + default: &335 value: total_count: 1 repositories: @@ -37977,7 +37985,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -38006,7 +38014,7 @@ paths: - key_id - key examples: - default: &507 + default: &508 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38419,7 +38427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *89 - - &491 + - &492 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)." @@ -40075,7 +40083,7 @@ paths: initiator: type: string examples: - default: &520 + default: &521 value: attestations: - bundle: @@ -41006,7 +41014,7 @@ paths: be returned. in: query required: false - schema: &546 + schema: &547 type: string description: Severity of a code scanning alert. enum: @@ -42062,7 +42070,7 @@ paths: type: integer codespaces: type: array - items: &390 + items: &391 type: object title: Codespace description: A codespace. @@ -42092,7 +42100,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &578 + properties: &579 name: type: string description: The name of the machine. @@ -42134,7 +42142,7 @@ paths: - ready - in_progress nullable: true - required: &579 + required: &580 - name - display_name - operating_system @@ -42339,7 +42347,7 @@ paths: - pulls_url - recent_folders examples: - default: &391 + default: &392 value: total_count: 3 codespaces: @@ -43002,7 +43010,7 @@ paths: - updated_at - visibility examples: - default: &580 + default: &581 value: total_count: 2 secrets: @@ -43040,7 +43048,7 @@ paths: description: Response content: application/json: - schema: &581 + schema: &582 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -43069,7 +43077,7 @@ paths: - key_id - key examples: - default: &582 + default: &583 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43101,7 +43109,7 @@ paths: application/json: schema: *334 examples: - default: &584 + default: &585 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43898,6 +43906,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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '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: + - *89 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + repositories: + type: array + items: *291 + required: + - total_count + - repositories + examples: + default: *335 + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + 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: + - *89 + 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': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + '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: + - *89 + - *285 + responses: + '204': + description: No Content + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + '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: + - *89 + - *285 + responses: + '204': + description: No Content + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '409': *121 + 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 @@ -44032,7 +44335,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *335 + '413': *336 '422': *7 x-github: githubCloudOnly: @@ -44463,7 +44766,7 @@ paths: type: integer custom_roles: type: array - items: *336 + items: *337 examples: default: value: @@ -44555,7 +44858,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &339 type: object properties: name: @@ -44596,9 +44899,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44629,9 +44932,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: true @@ -44659,7 +44962,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &340 type: object properties: name: @@ -44697,9 +45000,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44757,7 +45060,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *339 examples: default: value: @@ -44771,9 +45074,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44810,9 +45113,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: true @@ -44846,7 +45149,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *340 examples: default: value: @@ -44861,9 +45164,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '422': *15 '404': *6 x-github: @@ -44923,11 +45226,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *340 - *341 - *342 - *343 - *344 + - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -44957,7 +45260,7 @@ paths: enum: - patch - deployment - - *345 + - *346 - name: runtime_risk in: query description: |- @@ -44966,8 +45269,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *346 - *347 + - *348 - *112 - *110 - *111 @@ -44979,9 +45282,9 @@ paths: application/json: schema: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 '304': *37 '400': *14 '403': *29 @@ -45025,7 +45328,7 @@ paths: type: integer secrets: type: array - items: &350 + items: &351 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -45102,7 +45405,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -45119,7 +45422,7 @@ paths: - key_id - key examples: - default: &614 + default: &615 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -45149,7 +45452,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -45455,7 +45758,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - &622 + - &623 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45463,7 +45766,7 @@ paths: required: false schema: type: string - - &623 + - &624 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45471,7 +45774,7 @@ paths: required: false schema: type: string - - &624 + - &625 name: time_period description: |- The time period to filter by. @@ -45487,7 +45790,7 @@ paths: - week - month default: month - - &625 + - &626 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45512,7 +45815,7 @@ paths: application/json: schema: type: array - items: &626 + items: &627 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45618,7 +45921,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &351 + items: &352 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -45668,7 +45971,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &627 + default: &628 value: - id: 21 number: 42 @@ -45760,7 +46063,7 @@ paths: - *105 - *106 - *107 - - &352 + - &353 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -45786,7 +46089,7 @@ paths: application/json: schema: type: array - items: &628 + items: &629 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45892,7 +46195,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *351 + items: *352 url: type: string format: uri @@ -45903,7 +46206,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &629 + default: &630 value: - id: 21 number: 42 @@ -45995,7 +46298,7 @@ paths: - *105 - *106 - *107 - - *352 + - *353 - *17 - *19 responses: @@ -46005,7 +46308,7 @@ paths: application/json: schema: type: array - items: &630 + items: &631 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -46126,7 +46429,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &631 + default: &632 value: - id: 21 number: 42 @@ -46214,7 +46517,7 @@ paths: application/json: schema: type: array - items: &401 + items: &402 title: Package description: A software package type: object @@ -46264,9 +46567,9 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *353 - required: *354 - x-github-breaking-changes: *355 + properties: *354 + required: *355 + x-github-breaking-changes: *356 nullable: true created_at: type: string @@ -46285,7 +46588,7 @@ paths: - created_at - updated_at examples: - default: &402 + default: &403 value: - id: 197 name: hello_docker @@ -46472,7 +46775,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46553,7 +46856,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &471 + default: &472 value: group_id: '123' group_name: Octocat admins @@ -46608,7 +46911,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &468 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46645,7 +46948,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &468 + default: &469 value: groups: - group_id: '123' @@ -46690,7 +46993,7 @@ paths: application/json: schema: type: array - items: &379 + items: &380 title: Organization Invitation description: Organization Invitation type: object @@ -46737,7 +47040,7 @@ paths: - invitation_teams_url - node_id examples: - default: &380 + default: &381 value: - id: 1 login: monalisa @@ -46804,7 +47107,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46818,7 +47121,7 @@ paths: - name - description examples: - default: &437 + default: &438 value: - name: add_assignee description: Assign or remove a user @@ -46859,7 +47162,7 @@ paths: application/json: schema: type: array - items: &356 + items: &357 title: Org Hook description: Org Hook type: object @@ -47028,9 +47331,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *357 examples: - default: &357 + default: &358 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -47075,7 +47378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &358 + - &359 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. @@ -47088,9 +47391,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *357 examples: - default: *357 + default: *358 '404': *6 x-github: githubCloudOnly: false @@ -47112,7 +47415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *358 + - *359 requestBody: required: false content: @@ -47157,7 +47460,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *357 examples: default: value: @@ -47197,7 +47500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *358 + - *359 responses: '204': description: Response @@ -47223,7 +47526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *358 + - *359 responses: '200': description: Response @@ -47252,7 +47555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *358 + - *359 requestBody: required: false content: @@ -47301,9 +47604,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *358 - - *17 - *359 + - *17 + - *360 responses: '200': description: Response @@ -47311,9 +47614,9 @@ paths: application/json: schema: type: array - items: *360 + items: *361 examples: - default: *361 + default: *362 '400': *14 '422': *15 x-github: @@ -47337,16 +47640,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *358 + - *359 - *16 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '400': *14 '422': *15 x-github: @@ -47370,7 +47673,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *358 + - *359 - *16 responses: '202': *39 @@ -47397,7 +47700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *358 + - *359 responses: '204': description: Response @@ -47420,7 +47723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &368 + - &369 name: actor_type in: path description: The type of the actor @@ -47433,14 +47736,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &369 + - &370 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &364 + - &365 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`.' @@ -47448,7 +47751,7 @@ paths: required: true schema: type: string - - &365 + - &366 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) @@ -47542,12 +47845,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *364 - *365 + - *366 - *19 - *17 - *112 - - &374 + - &375 name: sort description: The property to sort the results by. in: query @@ -47625,14 +47928,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *364 - *365 + - *366 responses: '200': description: Response content: application/json: - schema: &366 + schema: &367 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47648,7 +47951,7 @@ paths: type: integer format: int64 examples: - default: &367 + default: &368 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47669,23 +47972,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &370 + - &371 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *364 - *365 + - *366 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: - default: *367 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -47704,18 +48007,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *364 - *365 - - *368 + - *366 - *369 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: - default: *367 + default: *368 x-github: enabledForGitHubApps: true category: orgs @@ -47733,9 +48036,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *89 - - *364 - *365 - - &371 + - *366 + - &372 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47748,7 +48051,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &373 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47764,7 +48067,7 @@ paths: type: integer format: int64 examples: - default: &373 + default: &374 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47801,18 +48104,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *370 - - *364 - - *365 - *371 + - *365 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -47830,19 +48133,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *368 - *369 - - *364 + - *370 - *365 - - *371 + - *366 + - *372 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: enabledForGitHubApps: true category: orgs @@ -47860,13 +48163,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *89 - - *370 - - *364 + - *371 - *365 + - *366 - *19 - *17 - *112 - - *374 + - *375 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47947,7 +48250,7 @@ paths: application/json: schema: *22 examples: - default: *375 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48067,12 +48370,12 @@ paths: application/json: schema: anyOf: - - &377 + - &378 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &376 + limit: &377 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -48097,7 +48400,7 @@ paths: properties: {} additionalProperties: false examples: - default: &378 + default: &379 value: limit: collaborators_only origin: organization @@ -48126,13 +48429,13 @@ paths: required: true content: application/json: - schema: &662 + schema: &663 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *376 + limit: *377 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -48156,9 +48459,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -48236,9 +48539,9 @@ paths: application/json: schema: type: array - items: *379 + items: *380 examples: - default: *380 + default: *381 headers: Link: *47 '404': *6 @@ -48316,7 +48619,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: default: value: @@ -48373,7 +48676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &381 + - &382 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48407,7 +48710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *381 + - *382 - *17 - *19 responses: @@ -48419,7 +48722,7 @@ paths: type: array items: *320 examples: - default: &400 + default: &401 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48462,7 +48765,7 @@ paths: application/json: schema: type: array - items: &382 + items: &383 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -48695,9 +48998,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &383 + default: &384 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -48753,7 +49056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *89 - - &384 + - &385 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -48852,9 +49155,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 '404': *6 '422': *7 x-github: @@ -48879,7 +49182,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *89 - - *384 + - *385 responses: '204': *157 '404': *6 @@ -48909,7 +49212,7 @@ paths: application/json: schema: type: array - items: *385 + items: *386 examples: default: value: @@ -48994,9 +49297,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &386 + default: &387 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -49029,7 +49332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *89 - - &387 + - &388 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -49082,9 +49385,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *386 + default: *387 '404': *6 '422': *7 x-github: @@ -49109,7 +49412,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *89 - - *387 + - *388 responses: '204': description: Response @@ -49172,7 +49475,7 @@ paths: - closed - all default: open - - *388 + - *389 - name: type description: Can be the name of an issue type. in: query @@ -49203,7 +49506,7 @@ paths: type: array items: *227 examples: - default: *389 + default: *390 headers: Link: *47 '404': *6 @@ -49368,9 +49671,9 @@ paths: type: integer codespaces: type: array - items: *390 + items: *391 examples: - default: *391 + default: *392 '304': *37 '500': *40 '401': *25 @@ -49397,7 +49700,7 @@ paths: parameters: - *89 - *145 - - &392 + - &393 name: codespace_name in: path required: true @@ -49432,15 +49735,15 @@ paths: parameters: - *89 - *145 - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: &577 + default: &578 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49696,7 +49999,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &394 title: Org Membership description: Org Membership type: object @@ -49763,7 +50066,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &394 + response-if-user-has-an-active-admin-membership-with-organization: &395 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49864,9 +50167,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - response-if-user-already-had-membership-with-organization: *394 + response-if-user-already-had-membership-with-organization: *395 '422': *15 '403': *29 x-github: @@ -49943,7 +50246,7 @@ paths: application/json: schema: type: array - items: &395 + items: &396 title: Migration description: A migration. type: object @@ -50283,7 +50586,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -50462,7 +50765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &396 + - &397 name: migration_id description: The unique identifier of the migration. in: path @@ -50489,7 +50792,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -50659,7 +50962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *396 + - *397 responses: '302': description: Response @@ -50681,7 +50984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *396 + - *397 responses: '204': description: Response @@ -50705,7 +51008,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *396 + - *397 - &833 name: repo_name description: repo_name parameter @@ -50734,7 +51037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *396 + - *397 - *17 - *19 responses: @@ -50746,7 +51049,7 @@ paths: type: array items: *291 examples: - default: &407 + default: &408 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50975,7 +51278,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &397 + items: &398 title: Organization Role description: Organization roles type: object @@ -51182,7 +51485,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -51412,7 +51715,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -51509,7 +51812,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: default: value: @@ -51667,8 +51970,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 nullable: true type: description: The ownership type of the team @@ -51700,7 +52003,7 @@ paths: - type - parent examples: - default: *400 + default: *401 headers: Link: *47 '404': @@ -51758,13 +52061,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &457 + items: &458 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 name: nullable: true type: string @@ -52088,9 +52391,9 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: - default: *402 + default: *403 '403': *29 '401': *25 '400': &836 @@ -52115,7 +52418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &403 + - &404 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 @@ -52133,7 +52436,7 @@ paths: - docker - nuget - container - - &404 + - &405 name: package_name description: The name of the package. in: path @@ -52146,7 +52449,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -52198,8 +52501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *403 - *404 + - *405 - *89 responses: '204': @@ -52232,8 +52535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *403 - *404 + - *405 - *89 - name: token description: package token @@ -52266,8 +52569,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: - - *403 - *404 + - *405 - *89 - *19 - *17 @@ -52288,7 +52591,7 @@ paths: application/json: schema: type: array - items: &405 + items: &406 title: Package Version description: A version of a software package type: object @@ -52413,10 +52716,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: - - *403 - *404 + - *405 - *89 - - &406 + - &407 name: package_version_id description: Unique identifier of the package version. in: path @@ -52428,7 +52731,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -52464,10 +52767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *403 - *404 + - *405 - *89 - - *406 + - *407 responses: '204': description: Response @@ -52499,10 +52802,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *403 - *404 + - *405 - *89 - - *406 + - *407 responses: '204': description: Response @@ -52532,7 +52835,7 @@ paths: - *89 - *17 - *19 - - &408 + - &409 name: sort description: The property by which to sort the results. in: query @@ -52543,7 +52846,7 @@ paths: - created_at default: created_at - *112 - - &409 + - &410 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -52554,7 +52857,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &410 + - &411 name: repository description: The name of the repository to use to filter the results. in: query @@ -52562,7 +52865,7 @@ paths: schema: type: string example: Hello-World - - &411 + - &412 name: permission description: The permission to use to filter the results. in: query @@ -52570,7 +52873,7 @@ paths: schema: type: string example: issues_read - - &412 + - &413 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) @@ -52580,7 +52883,7 @@ paths: schema: type: string format: date-time - - &413 + - &414 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) @@ -52590,7 +52893,7 @@ paths: schema: type: string format: date-time - - &414 + - &415 name: token_id description: The ID of the token in: query @@ -52903,7 +53206,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -52929,14 +53232,14 @@ paths: - *89 - *17 - *19 - - *408 - - *112 - *409 + - *112 - *410 - *411 - *412 - *413 - *414 + - *415 responses: '500': *40 '422': *15 @@ -53218,7 +53521,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -53260,7 +53563,7 @@ paths: type: integer configurations: type: array - items: &415 + items: &416 title: Organization private registry description: Private registry configuration for an organization type: object @@ -53550,7 +53853,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &416 + org-private-registry-with-selected-visibility: &417 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53646,9 +53949,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -53815,7 +54118,7 @@ paths: application/json: schema: type: array - items: &417 + items: &418 title: Projects v2 Project description: A projects v2 project type: object @@ -53958,7 +54261,7 @@ paths: - deleted_at - deleted_by examples: - default: &418 + default: &419 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -54061,7 +54364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &419 + - &420 name: project_number description: The project's number. in: path @@ -54074,9 +54377,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 headers: Link: *47 '304': *37 @@ -54099,7 +54402,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *89 - - *419 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -54133,7 +54436,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &426 title: Projects v2 Item description: An item belonging to a project type: object @@ -54147,7 +54450,7 @@ paths: content: oneOf: - *227 - - &594 + - &595 title: Pull Request Simple description: Pull Request Simple type: object @@ -54253,8 +54556,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 nullable: true active_lock_reason: type: string @@ -54347,7 +54650,7 @@ paths: _links: type: object properties: - comments: &422 + comments: &423 title: Link description: Hypermedia Link type: object @@ -54356,13 +54659,13 @@ paths: type: string required: - href - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -54373,7 +54676,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: &715 + auto_merge: &716 title: Auto merge description: The status of auto merging a pull request. type: object @@ -54547,7 +54850,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &424 + content_type: &425 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -54587,7 +54890,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &426 + draft_issue: &427 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54661,7 +54964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *419 + - *420 - *89 - *17 - *110 @@ -54673,7 +54976,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54953,7 +55256,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: - - *419 + - *420 - *89 requestBody: required: true @@ -55138,7 +55441,7 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *423 + schema: *424 examples: text_field: &860 value: @@ -55246,7 +55549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *419 + - *420 - &865 name: field_id description: The unique identifier of the field. @@ -55260,7 +55563,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: &866 value: @@ -55318,7 +55621,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: - - *419 + - *420 - *89 - 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) @@ -55351,7 +55654,7 @@ paths: application/json: schema: type: array - items: &427 + items: &428 title: Projects v2 Item description: An item belonging to a project type: object @@ -55367,7 +55670,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *424 + content_type: *425 content: type: object additionalProperties: true @@ -55410,7 +55713,7 @@ paths: - updated_at - archived_at examples: - default: &428 + default: &429 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -56108,7 +56411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *89 - - *419 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -56178,22 +56481,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *427 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *427 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *427 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *427 '304': *37 '403': *29 '401': *25 @@ -56213,9 +56516,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: - - *419 + - *420 - *89 - - &429 + - &430 name: item_id description: The unique identifier of the project item. in: path @@ -56241,9 +56544,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -56264,9 +56567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *419 + - *420 - *89 - - *429 + - *430 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -56336,13 +56639,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *429 + number_field: *429 + date_field: *429 + single_select_field: *429 + iteration_field: *429 '401': *25 '403': *29 '404': *6 @@ -56362,9 +56665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *419 + - *420 - *89 - - *429 + - *430 responses: '204': description: Response @@ -56388,7 +56691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *89 - - *419 + - *420 requestBody: required: true content: @@ -56557,7 +56860,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &430 + value: &431 value: id: 1 number: 1 @@ -56603,10 +56906,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *430 + value: *431 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *431 '304': *37 '403': *29 '401': *25 @@ -56634,7 +56937,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: - - *419 + - *420 - *89 - &867 name: view_number @@ -56668,9 +56971,9 @@ paths: application/json: schema: type: array - items: *427 + items: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -56834,7 +57137,7 @@ paths: required: true content: application/json: - schema: *431 + schema: *432 examples: default: value: @@ -57199,7 +57502,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -57402,7 +57705,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &479 title: Full Repository description: Full Repository type: object @@ -57693,9 +57996,9 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *432 - required: *433 - x-github-breaking-changes: *434 + properties: *433 + required: *434 + x-github-breaking-changes: *435 nullable: true temp_clone_token: type: string @@ -57810,7 +58113,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &599 + properties: &600 url: type: string format: uri @@ -57826,12 +58129,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &600 + required: &601 - url - key - name - html_url - security_and_analysis: *435 + security_and_analysis: *436 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57926,7 +58229,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &480 + default: &481 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58458,9 +58761,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *437 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58485,7 +58788,7 @@ paths: - *89 - *17 - *19 - - &737 + - &738 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58576,11 +58879,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *438 + conditions: *439 rules: type: array description: An array of rules within the ruleset. - items: &440 + items: &441 title: Repository Rule type: object description: A repository rule. @@ -58645,7 +58948,7 @@ paths: application/json: schema: *193 examples: - default: &439 + default: &440 value: id: 21 name: super cool ruleset @@ -58701,7 +59004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &739 + - &740 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 @@ -58713,14 +59016,14 @@ paths: x-multi-segment: true - *317 - *107 - - &740 + - &741 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 - - &741 + - &742 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58740,7 +59043,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &743 title: Rule Suites description: Response type: array @@ -58795,7 +59098,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &743 + default: &744 value: - id: 21 actor_id: 12 @@ -58839,7 +59142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &744 + - &745 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58855,7 +59158,7 @@ paths: description: Response content: application/json: - schema: &745 + schema: &746 title: Rule Suite description: Response type: object @@ -58954,7 +59257,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &746 + default: &747 value: id: 21 actor_id: 12 @@ -59029,7 +59332,7 @@ paths: application/json: schema: *193 examples: - default: *439 + default: *440 '404': *6 '500': *40 put: @@ -59078,11 +59381,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *171 - conditions: *438 + conditions: *439 rules: description: An array of rules within the ruleset. type: array - items: *440 + items: *441 examples: default: value: @@ -59119,7 +59422,7 @@ paths: application/json: schema: *193 examples: - default: *439 + default: *440 '404': *6 '422': *15 '500': *40 @@ -59179,7 +59482,7 @@ paths: type: array items: *197 examples: - default: *441 + default: *442 '404': *6 '500': *40 x-github: @@ -59216,7 +59519,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -59279,15 +59582,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *443 - *444 - *445 - *446 - *447 + - *448 - *112 - *19 - *17 - - &748 + - &749 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 @@ -59297,7 +59600,7 @@ paths: required: false schema: type: string - - &749 + - &750 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 @@ -59307,10 +59610,10 @@ paths: required: false schema: type: string - - *448 - *449 - *450 - *451 + - *452 responses: '200': description: Response @@ -59318,9 +59621,9 @@ paths: application/json: schema: type: array - items: *452 + items: *453 examples: - default: *453 + default: *454 headers: Link: *47 '404': *6 @@ -59355,9 +59658,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *455 + default: *456 '403': *29 '404': *6 patch: @@ -59510,7 +59813,7 @@ paths: application/json: schema: type: array - items: &770 + items: &771 description: A repository security advisory. type: object properties: @@ -59730,7 +60033,7 @@ paths: login: type: string description: The username of the user credited. - type: *456 + type: *457 credits_detailed: type: array nullable: true @@ -59740,7 +60043,7 @@ paths: type: object properties: user: *4 - type: *456 + type: *457 state: type: string description: The state of the user's acceptance of the @@ -59833,7 +60136,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &771 + default: &772 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -60220,7 +60523,7 @@ paths: application/json: schema: type: array - items: *457 + items: *458 examples: default: value: @@ -60319,7 +60622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *89 - - *458 + - *459 - *17 - *19 responses: @@ -60327,9 +60630,9 @@ paths: description: Success content: application/json: - schema: *459 + schema: *460 examples: - default: *460 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60610,7 +60913,7 @@ paths: type: array items: *150 examples: - default: *461 + default: *462 headers: Link: *47 x-github: @@ -60813,15 +61116,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: - *89 - - *462 + - *463 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 headers: Link: *47 x-github: @@ -60859,7 +61162,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &476 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60905,7 +61208,7 @@ paths: type: string nullable: true examples: - default: &476 + default: &477 value: groups: - group_id: '123' @@ -61031,7 +61334,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 headers: Link: *47 '403': *29 @@ -61125,7 +61428,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &466 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -61188,8 +61491,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 nullable: true members_count: type: integer @@ -61452,7 +61755,7 @@ paths: - repos_count - organization examples: - default: &466 + default: &467 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61540,9 +61843,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -61626,16 +61929,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 '201': description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 '404': *6 '422': *15 '403': *29 @@ -61665,7 +61968,7 @@ paths: responses: '204': description: Response - '422': &469 + '422': &470 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -61694,10 +61997,10 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 - '422': *469 + default: *469 + '422': *470 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61740,10 +62043,10 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 - '422': *469 + default: *472 + '422': *470 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61767,7 +62070,7 @@ paths: responses: '204': description: Response - '422': *469 + '422': *470 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61799,12 +62102,12 @@ paths: application/json: schema: type: array - items: *379 + items: *380 examples: - default: *380 + default: *381 headers: Link: *47 - '422': *469 + '422': *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61886,7 +62189,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &473 title: Team Membership description: Team Membership type: object @@ -61913,7 +62216,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &813 + response-if-user-is-a-team-maintainer: &814 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61976,9 +62279,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - response-if-users-membership-with-team-is-now-pending: &814 + response-if-users-membership-with-team-is-now-pending: &815 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -62054,7 +62357,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -62085,14 +62388,14 @@ paths: parameters: - *89 - *220 - - *473 - *474 + - *475 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &815 + schema: &816 title: Team Repository description: A team's access to a repository. type: object @@ -62742,8 +63045,8 @@ paths: parameters: - *89 - *220 - - *473 - *474 + - *475 requestBody: required: false content: @@ -62790,8 +63093,8 @@ paths: parameters: - *89 - *220 - - *473 - *474 + - *475 responses: '204': description: Response @@ -62824,10 +63127,10 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 - '422': *469 + default: *477 + '422': *470 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62893,7 +63196,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -62905,7 +63208,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *469 + '422': *470 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62939,7 +63242,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: &816 + response-if-child-teams-exist: &817 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -63093,7 +63396,7 @@ paths: resources: type: object properties: - core: &477 + core: &478 title: Rate Limit type: object properties: @@ -63110,21 +63413,21 @@ paths: - remaining - reset - used - graphql: *477 - search: *477 - code_search: *477 - source_import: *477 - integration_manifest: *477 - code_scanning_upload: *477 - actions_runner_registration: *477 - scim: *477 - dependency_snapshots: *477 - dependency_sbom: *477 - code_scanning_autofix: *477 + graphql: *478 + search: *478 + code_search: *478 + source_import: *478 + integration_manifest: *478 + code_scanning_upload: *478 + actions_runner_registration: *478 + scim: *478 + dependency_snapshots: *478 + dependency_sbom: *478 + code_scanning_autofix: *478 required: - core - search - rate: *477 + rate: *478 required: - rate - resources @@ -63237,14 +63540,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *478 + schema: *479 examples: default-response: summary: Default response @@ -63753,7 +64056,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *479 + '301': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63771,8 +64074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *473 - *474 + - *475 requestBody: required: false content: @@ -64073,10 +64376,10 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 - '307': &481 + default: *481 + '307': &482 description: Temporary Redirect content: application/json: @@ -64105,8 +64408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -64128,7 +64431,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': *481 + '307': *482 '404': *6 '409': *121 x-github: @@ -64152,11 +64455,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *473 - *474 + - *475 - *17 - *19 - - &498 + - &499 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -64179,7 +64482,7 @@ paths: type: integer artifacts: type: array - items: &482 + items: &483 title: Artifact description: An artifact type: object @@ -64257,7 +64560,7 @@ paths: - expires_at - updated_at examples: - default: &499 + default: &500 value: total_count: 2 artifacts: @@ -64318,9 +64621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *473 - *474 - - &483 + - *475 + - &484 name: artifact_id description: The unique identifier of the artifact. in: path @@ -64332,7 +64635,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -64370,9 +64673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *473 - *474 - - *483 + - *475 + - *484 responses: '204': description: Response @@ -64396,9 +64699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *473 - *474 - - *483 + - *475 + - *484 - name: archive_format in: path required: true @@ -64412,7 +64715,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': &665 + '410': &666 description: Gone content: application/json: @@ -64437,14 +64740,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: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64477,13 +64780,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: - - *473 - *474 + - *475 requestBody: required: true content: application/json: - schema: *484 + schema: *485 examples: selected_actions: *44 responses: @@ -64512,14 +64815,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: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: &485 + schema: &486 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64552,13 +64855,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: - - *473 - *474 + - *475 requestBody: required: true content: application/json: - schema: *485 + schema: *486 examples: selected_actions: *46 responses: @@ -64589,14 +64892,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: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: default: value: @@ -64622,11 +64925,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: - - *473 - *474 + - *475 - *17 - *19 - - &487 + - &488 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 @@ -64660,7 +64963,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &489 title: Repository actions caches description: Repository actions caches type: object @@ -64702,7 +65005,7 @@ paths: - total_count - actions_caches examples: - default: &489 + default: &490 value: total_count: 1 actions_caches: @@ -64734,23 +65037,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: - - *473 - *474 + - *475 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *487 + - *488 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64770,8 +65073,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: - - *473 - *474 + - *475 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64802,9 +65105,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: - - *473 - *474 - - &490 + - *475 + - &491 name: job_id description: The unique identifier of the job. in: path @@ -64816,7 +65119,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: Job description: Information of a job execution in a workflow run type: object @@ -65123,9 +65426,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: - - *473 - *474 - - *490 + - *475 + - *491 responses: '302': description: Response @@ -65153,9 +65456,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: - - *473 - *474 - - *490 + - *475 + - *491 requestBody: required: false content: @@ -65200,8 +65503,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: - - *473 - *474 + - *475 responses: '200': description: Status response @@ -65251,8 +65554,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -65315,8 +65618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -65334,7 +65637,7 @@ paths: type: integer secrets: type: array - items: &504 + items: &505 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -65354,7 +65657,7 @@ paths: - created_at - updated_at examples: - default: &505 + default: &506 value: total_count: 2 secrets: @@ -65387,9 +65690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *473 - *474 - - *491 + - *475 + - *492 - *19 responses: '200': @@ -65406,7 +65709,7 @@ paths: type: integer variables: type: array - items: &508 + items: &509 title: Actions Variable type: object properties: @@ -65436,7 +65739,7 @@ paths: - created_at - updated_at examples: - default: &509 + default: &510 value: total_count: 2 variables: @@ -65469,8 +65772,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -65479,7 +65782,7 @@ paths: schema: type: object properties: - enabled: &492 + enabled: &493 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 @@ -65514,8 +65817,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: - - *473 - *474 + - *475 responses: '204': description: Response @@ -65526,7 +65829,7 @@ paths: schema: type: object properties: - enabled: *492 + enabled: *493 allowed_actions: *62 sha_pinning_required: *63 required: @@ -65559,14 +65862,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: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: &493 + schema: &494 type: object properties: access_level: @@ -65584,7 +65887,7 @@ paths: required: - access_level examples: - default: &494 + default: &495 value: access_level: organization x-github: @@ -65609,15 +65912,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: - - *473 - *474 + - *475 requestBody: required: true content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 responses: '204': description: Response @@ -65641,8 +65944,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -65672,8 +65975,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: - - *473 - *474 + - *475 responses: '204': description: Empty response for successful settings update @@ -65707,8 +66010,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -65735,8 +66038,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: - - *473 - *474 + - *475 responses: '204': description: Response @@ -65770,8 +66073,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -65799,8 +66102,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -65831,8 +66134,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -65863,8 +66166,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: - - *473 - *474 + - *475 responses: '204': description: Response @@ -65896,8 +66199,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -65926,8 +66229,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: - - *473 - *474 + - *475 responses: '204': description: Success response @@ -65967,8 +66270,8 @@ paths: in: query schema: type: string - - *473 - *474 + - *475 - *17 - *19 responses: @@ -66012,8 +66315,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -66045,8 +66348,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -66120,8 +66423,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: - - *473 - *474 + - *475 responses: '201': description: Response @@ -66157,8 +66460,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: - - *473 - *474 + - *475 responses: '201': description: Response @@ -66188,8 +66491,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: - - *473 - *474 + - *475 - *77 responses: '200': @@ -66219,8 +66522,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: - - *473 - *474 + - *475 - *77 responses: '204': @@ -66247,8 +66550,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: - - *473 - *474 + - *475 - *77 responses: '200': *83 @@ -66273,8 +66576,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: - - *473 - *474 + - *475 - *77 requestBody: required: true @@ -66323,8 +66626,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: - - *473 - *474 + - *475 - *77 requestBody: required: true @@ -66374,8 +66677,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: - - *473 - *474 + - *475 - *77 responses: '200': *298 @@ -66405,8 +66708,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: - - *473 - *474 + - *475 - *77 - *299 responses: @@ -66436,9 +66739,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: - - *473 - *474 - - &512 + - *475 + - &513 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. @@ -66446,7 +66749,7 @@ paths: required: false schema: type: string - - &513 + - &514 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66454,7 +66757,7 @@ paths: required: false schema: type: string - - &514 + - &515 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -66463,7 +66766,7 @@ paths: required: false schema: type: string - - &515 + - &516 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 @@ -66490,7 +66793,7 @@ paths: - pending - *17 - *19 - - &516 + - &517 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)." @@ -66499,7 +66802,7 @@ paths: schema: type: string format: date-time - - &495 + - &496 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66508,13 +66811,13 @@ paths: schema: type: boolean default: false - - &517 + - &518 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &518 + - &519 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66537,7 +66840,7 @@ paths: type: integer workflow_runs: type: array - items: &496 + items: &497 title: Workflow Run description: An invocation of a workflow type: object @@ -66685,7 +66988,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &540 + properties: &541 id: type: string description: SHA for the commit @@ -66736,7 +67039,7 @@ paths: - name - email nullable: true - required: &541 + required: &542 - id - tree_id - message @@ -66783,7 +67086,7 @@ paths: - workflow_url - pull_requests examples: - default: &519 + default: &520 value: total_count: 1 workflow_runs: @@ -67019,24 +67322,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *473 - *474 - - &497 + - *475 + - &498 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *495 + - *496 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: &500 + default: &501 value: id: 30433642 name: Build @@ -67277,9 +67580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *473 - *474 - - *497 + - *475 + - *498 responses: '204': description: Response @@ -67302,9 +67605,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: - - *473 - *474 - - *497 + - *475 + - *498 responses: '200': description: Response @@ -67423,9 +67726,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: - - *473 - *474 - - *497 + - *475 + - *498 responses: '201': description: Response @@ -67458,12 +67761,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *473 - *474 - - *497 + - *475 + - *498 - *17 - *19 - - *498 + - *499 - *112 responses: '200': @@ -67480,9 +67783,9 @@ paths: type: integer artifacts: type: array - items: *482 + items: *483 examples: - default: *499 + default: *500 headers: Link: *47 x-github: @@ -67506,25 +67809,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *473 - *474 - - *497 - - &501 + - *475 + - *498 + - &502 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *495 + - *496 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67547,10 +67850,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: - - *473 - *474 - - *497 - - *501 + - *475 + - *498 + - *502 - *17 - *19 responses: @@ -67568,9 +67871,9 @@ paths: type: integer jobs: type: array - items: *502 + items: *503 examples: - default: &503 + default: &504 value: total_count: 1 jobs: @@ -67683,10 +67986,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *473 - *474 - - *497 - - *501 + - *475 + - *498 + - *502 responses: '302': description: Response @@ -67714,9 +68017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *473 - *474 - - *497 + - *475 + - *498 responses: '202': description: Response @@ -67749,9 +68052,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: - - *473 - *474 - - *497 + - *475 + - *498 requestBody: required: true content: @@ -67818,9 +68121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *473 - *474 - - *497 + - *475 + - *498 responses: '202': description: Response @@ -67853,9 +68156,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: - - *473 - *474 - - *497 + - *475 + - *498 - 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 @@ -67885,9 +68188,9 @@ paths: type: integer jobs: type: array - items: *502 + items: *503 examples: - default: *503 + default: *504 headers: Link: *47 x-github: @@ -67912,9 +68215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *473 - *474 - - *497 + - *475 + - *498 responses: '302': description: Response @@ -67941,9 +68244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *473 - *474 - - *497 + - *475 + - *498 responses: '204': description: Response @@ -67970,9 +68273,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: - - *473 - *474 - - *497 + - *475 + - *498 responses: '200': description: Response @@ -68032,7 +68335,7 @@ paths: items: type: object properties: - type: &632 + type: &633 type: string description: The type of reviewer. enum: @@ -68117,9 +68420,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: - - *473 - *474 - - *497 + - *475 + - *498 requestBody: required: true content: @@ -68166,7 +68469,7 @@ paths: application/json: schema: type: array - items: &617 + items: &618 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -68272,7 +68575,7 @@ paths: - created_at - updated_at examples: - default: &618 + default: &619 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -68328,9 +68631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *473 - *474 - - *497 + - *475 + - *498 requestBody: required: false content: @@ -68374,9 +68677,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: - - *473 - *474 - - *497 + - *475 + - *498 requestBody: required: false content: @@ -68430,9 +68733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *473 - *474 - - *497 + - *475 + - *498 responses: '200': description: Response @@ -68569,8 +68872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -68588,9 +68891,9 @@ paths: type: integer secrets: type: array - items: *504 + items: *505 examples: - default: *505 + default: *506 headers: Link: *47 x-github: @@ -68615,16 +68918,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68646,17 +68949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &645 + default: &646 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68682,8 +68985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 requestBody: required: true @@ -68741,8 +69044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 responses: '204': @@ -68768,9 +69071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *473 - *474 - - *491 + - *475 + - *492 - *19 responses: '200': @@ -68787,9 +69090,9 @@ paths: type: integer variables: type: array - items: *508 + items: *509 examples: - default: *509 + default: *510 headers: Link: *47 x-github: @@ -68812,8 +69115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -68865,17 +69168,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *473 - *474 + - *475 - *304 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &646 + default: &647 value: name: USERNAME value: octocat @@ -68901,8 +69204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *473 - *474 + - *475 - *304 requestBody: required: true @@ -68945,8 +69248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *473 - *474 + - *475 - *304 responses: '204': @@ -68972,8 +69275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -68991,7 +69294,7 @@ paths: type: integer workflows: type: array - items: &510 + items: &511 title: Workflow description: A GitHub Actions workflow type: object @@ -69098,9 +69401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *473 - *474 - - &511 + - *475 + - &512 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -69115,7 +69418,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -69148,9 +69451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *473 - *474 - - *511 + - *475 + - *512 responses: '204': description: Response @@ -69175,9 +69478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *473 - *474 - - *511 + - *475 + - *512 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -69272,9 +69575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *473 - *474 - - *511 + - *475 + - *512 responses: '204': description: Response @@ -69301,19 +69604,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: - - *473 - *474 - - *511 + - *475 - *512 - *513 - *514 - *515 + - *516 - *17 - *19 - - *516 - - *495 - *517 + - *496 - *518 + - *519 responses: '200': description: Response @@ -69329,9 +69632,9 @@ paths: type: integer workflow_runs: type: array - items: *496 + items: *497 examples: - default: *519 + default: *520 headers: Link: *47 x-github: @@ -69364,9 +69667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *473 - *474 - - *511 + - *475 + - *512 responses: '200': description: Response @@ -69427,8 +69730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *473 - *474 + - *475 - *112 - *17 - *110 @@ -69592,8 +69895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -69630,8 +69933,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: - - *473 - *474 + - *475 - name: assignee in: path required: true @@ -69667,8 +69970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -69780,8 +70083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *473 - *474 + - *475 - *17 - *110 - *111 @@ -69838,7 +70141,7 @@ paths: initiator: type: string examples: - default: *520 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69872,8 +70175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -69881,7 +70184,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Autolink reference description: An autolink reference. type: object @@ -69935,8 +70238,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -69975,9 +70278,9 @@ paths: description: response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: id: 1 key_prefix: TICKET- @@ -70008,9 +70311,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: - - *473 - *474 - - &523 + - *475 + - &524 name: autolink_id description: The unique identifier of the autolink. in: path @@ -70022,9 +70325,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -70044,9 +70347,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: - - *473 - *474 - - *523 + - *475 + - *524 responses: '204': description: Response @@ -70070,8 +70373,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: - - *473 - *474 + - *475 responses: '200': description: Response if Dependabot is enabled @@ -70119,8 +70422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -70141,8 +70444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -70162,8 +70465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *473 - *474 + - *475 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -70201,7 +70504,7 @@ paths: - url protected: type: boolean - protection: &525 + protection: &526 title: Branch Protection description: Branch Protection type: object @@ -70243,7 +70546,7 @@ paths: required: - contexts - checks - enforce_admins: &528 + enforce_admins: &529 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -70258,7 +70561,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &530 + required_pull_request_reviews: &531 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70334,7 +70637,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &527 + restrictions: &528 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70611,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *473 - *474 - - &526 + - *475 + - &527 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). @@ -70627,14 +70930,14 @@ paths: description: Response content: application/json: - schema: &536 + schema: &537 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &590 + commit: &591 title: Commit description: Commit type: object @@ -70668,7 +70971,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &524 + properties: &525 name: type: string example: '"Chris Wanstrath"' @@ -70684,7 +70987,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *524 + properties: *525 nullable: true message: type: string @@ -70705,7 +71008,7 @@ paths: required: - sha - url - verification: &652 + verification: &653 title: Verification type: object properties: @@ -70775,7 +71078,7 @@ paths: type: integer files: type: array - items: &603 + items: &604 title: Diff Entry description: Diff Entry type: object @@ -70859,7 +71162,7 @@ paths: - self protected: type: boolean - protection: *525 + protection: *526 protection_url: type: string format: uri @@ -70966,7 +71269,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *479 + '301': *480 '404': *6 x-github: githubCloudOnly: false @@ -70988,15 +71291,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -71190,9 +71493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -71447,7 +71750,7 @@ paths: url: type: string format: uri - required_status_checks: &533 + required_status_checks: &534 title: Status Check Policy description: Status Check Policy type: object @@ -71599,7 +71902,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *527 + restrictions: *528 required_conversation_resolution: type: object properties: @@ -71711,9 +72014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '204': description: Response @@ -71738,17 +72041,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &529 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71770,17 +72073,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71799,9 +72102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '204': description: Response @@ -71826,17 +72129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71932,9 +72235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: false content: @@ -72032,9 +72335,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '422': *15 x-github: githubCloudOnly: false @@ -72055,9 +72358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '204': description: Response @@ -72084,17 +72387,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &532 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -72117,17 +72420,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *532 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -72147,9 +72450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '204': description: Response @@ -72174,17 +72477,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -72210,9 +72513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: false content: @@ -72264,9 +72567,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *6 '422': *15 x-github: @@ -72288,9 +72591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '204': description: Response @@ -72314,9 +72617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response @@ -72350,9 +72653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: false content: @@ -72419,9 +72722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: false content: @@ -72485,9 +72788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: content: application/json: @@ -72553,15 +72856,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -72652,9 +72955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 responses: '204': description: Response @@ -72677,9 +72980,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: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response @@ -72689,7 +72992,7 @@ paths: type: array items: *5 examples: - default: &535 + default: &536 value: - id: 1 slug: octoapp @@ -72746,9 +73049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -72782,7 +73085,7 @@ paths: type: array items: *5 examples: - default: *535 + default: *536 '422': *15 x-github: githubCloudOnly: false @@ -72803,9 +73106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -72839,7 +73142,7 @@ paths: type: array items: *5 examples: - default: *535 + default: *536 '422': *15 x-github: githubCloudOnly: false @@ -72860,9 +73163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -72896,7 +73199,7 @@ paths: type: array items: *5 examples: - default: *535 + default: *536 '422': *15 x-github: githubCloudOnly: false @@ -72918,9 +73221,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: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response @@ -72930,7 +73233,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -72950,9 +73253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: false content: @@ -72990,7 +73293,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -73011,9 +73314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: false content: @@ -73051,7 +73354,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -73072,9 +73375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: content: application/json: @@ -73111,7 +73414,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -73133,9 +73436,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: - - *473 - *474 - - *526 + - *475 + - *527 responses: '200': description: Response @@ -73169,9 +73472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -73229,9 +73532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -73289,9 +73592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -73351,9 +73654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *473 - *474 - - *526 + - *475 + - *527 requestBody: required: true content: @@ -73375,7 +73678,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -73489,8 +73792,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *473 - *474 + - *475 - *105 - *106 - *107 @@ -73526,8 +73829,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *473 - *474 + - *475 - name: bypass_request_number in: path required: true @@ -73600,8 +73903,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *473 - *474 + - *475 - *105 - *106 - *107 @@ -73641,8 +73944,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *473 - *474 + - *475 - name: bypass_request_number in: path required: true @@ -73712,8 +74015,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *473 - *474 + - *475 - name: bypass_request_number in: path required: true @@ -73784,8 +74087,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *473 - *474 + - *475 - name: bypass_response_id in: path required: true @@ -73818,8 +74121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -74098,7 +74401,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: CheckRun description: A check performed on the code of a given code change type: object @@ -74498,9 +74801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *473 - *474 - - &538 + - *475 + - &539 name: check_run_id description: The unique identifier of the check run. in: path @@ -74512,9 +74815,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: &539 + default: &540 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74614,9 +74917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *473 - *474 - - *538 + - *475 + - *539 requestBody: required: true content: @@ -74856,9 +75159,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *539 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74878,9 +75181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *473 - *474 - - *538 + - *475 + - *539 - *17 - *19 responses: @@ -74975,9 +75278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *473 - *474 - - *538 + - *475 + - *539 responses: '201': description: Response @@ -75021,8 +75324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -75044,7 +75347,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &542 + schema: &543 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -75134,8 +75437,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *540 - required: *541 + properties: *541 + required: *542 latest_check_runs_count: type: integer check_runs_url: @@ -75163,7 +75466,7 @@ paths: - check_runs_url - pull_requests examples: - default: &543 + default: &544 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75454,9 +75757,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75475,8 +75778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -75785,9 +76088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *473 - *474 - - &544 + - *475 + - &545 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75799,9 +76102,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75824,17 +76127,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: - - *473 - *474 - - *544 - - &596 + - *475 + - *545 + - &597 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &597 + - &598 name: status description: Returns check runs with the specified `status`. in: query @@ -75873,9 +76176,9 @@ paths: type: integer check_runs: type: array - items: *537 + items: *538 examples: - default: &598 + default: &599 value: total_count: 1 check_runs: @@ -75977,9 +76280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *473 - *474 - - *544 + - *475 + - *545 responses: '201': description: Response @@ -76012,21 +76315,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: - - *473 - *474 + - *475 - *324 - *325 - *19 - *17 - - &560 + - &561 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: *545 - - &561 + schema: *546 + - &562 name: pr description: The number of the pull request for the results you want to list. in: query @@ -76057,7 +76360,7 @@ paths: be returned. in: query required: false - schema: *546 + schema: *547 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -76081,7 +76384,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *547 + instances_url: *548 state: *115 fixed_at: *140 dismissed_by: @@ -76092,11 +76395,11 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *548 - dismissed_comment: *549 - rule: *550 - tool: *551 - most_recent_instance: *552 + dismissed_reason: *549 + dismissed_comment: *550 + rule: *551 + tool: *552 + most_recent_instance: *553 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -76222,7 +76525,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &553 + '403': &554 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76249,9 +76552,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: - - *473 - *474 - - &554 + - *475 + - &555 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76265,7 +76568,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &556 type: object properties: number: *130 @@ -76273,7 +76576,7 @@ paths: updated_at: *138 url: *135 html_url: *136 - instances_url: *547 + instances_url: *548 state: *115 fixed_at: *140 dismissed_by: @@ -76284,8 +76587,8 @@ paths: required: *21 nullable: true dismissed_at: *139 - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *549 + dismissed_comment: *550 rule: type: object properties: @@ -76339,8 +76642,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *551 - most_recent_instance: *552 + tool: *552 + most_recent_instance: *553 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -76439,7 +76742,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -76459,9 +76762,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: - - *473 - *474 - - *554 + - *475 + - *555 requestBody: required: true content: @@ -76476,8 +76779,8 @@ paths: enum: - open - dismissed - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *549 + dismissed_comment: *550 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76505,7 +76808,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: default: value: @@ -76581,7 +76884,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &559 + '403': &560 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76608,15 +76911,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: - - *473 - *474 - - *554 + - *475 + - *555 responses: '200': description: Response content: application/json: - schema: &556 + schema: &557 type: object properties: status: @@ -76642,13 +76945,13 @@ paths: - description - started_at examples: - default: &557 + default: &558 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &558 + '400': &559 description: Bad Request content: application/json: @@ -76659,7 +76962,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': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -76684,29 +76987,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: - - *473 - *474 - - *554 + - *475 + - *555 responses: '200': description: OK content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '202': description: Accepted content: application/json: - schema: *556 + schema: *557 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *558 + '400': *559 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76738,9 +77041,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: - - *473 - *474 - - *554 + - *475 + - *555 requestBody: required: false content: @@ -76785,8 +77088,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *558 - '403': *559 + '400': *559 + '403': *560 '404': *6 '422': description: Unprocessable Entity @@ -76810,13 +77113,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: - - *473 - *474 - - *554 + - *475 + - *555 - *19 - *17 - - *560 - *561 + - *562 responses: '200': description: Response @@ -76827,10 +77130,10 @@ paths: items: type: object properties: - ref: *545 - analysis_key: *562 - environment: *563 - category: *564 + ref: *546 + analysis_key: *563 + environment: *564 + category: *565 state: type: string description: State of a code scanning alert instance. @@ -76845,7 +77148,7 @@ paths: properties: text: type: string - location: *565 + location: *566 html_url: type: string classifications: @@ -76853,7 +77156,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: *566 + items: *567 examples: default: value: @@ -76890,7 +77193,7 @@ paths: end_column: 50 classifications: - source - '403': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -76924,25 +77227,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: - - *473 - *474 + - *475 - *324 - *325 - *19 - *17 - - *561 + - *562 - 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: *545 + schema: *546 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &567 + schema: &568 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -76963,23 +77266,23 @@ paths: application/json: schema: type: array - items: &568 + items: &569 type: object properties: - ref: *545 - commit_sha: &576 + ref: *546 + commit_sha: &577 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: *562 + analysis_key: *563 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *564 + category: *565 error: type: string example: error reading field xyz @@ -77003,8 +77306,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *567 - tool: *551 + sarif_id: *568 + tool: *552 deletable: type: boolean warning: @@ -77065,7 +77368,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -77101,8 +77404,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: - - *473 - *474 + - *475 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77115,7 +77418,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: response: summary: application/json response @@ -77169,7 +77472,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *553 + '403': *554 '404': *6 '422': description: Response if analysis could not be processed @@ -77256,8 +77559,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: - - *473 - *474 + - *475 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77310,7 +77613,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': *559 + '403': *560 '404': *6 '503': *198 x-github: @@ -77332,8 +77635,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -77341,7 +77644,7 @@ paths: application/json: schema: type: array - items: &569 + items: &570 title: CodeQL Database description: A CodeQL database. type: object @@ -77452,7 +77755,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': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -77481,8 +77784,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: - - *473 - *474 + - *475 - name: language in: path description: The language of the CodeQL database. @@ -77494,7 +77797,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -77526,9 +77829,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': &605 + '302': &606 description: Found - '403': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -77550,8 +77853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *473 - *474 + - *475 - name: language in: path description: The language of the CodeQL database. @@ -77561,7 +77864,7 @@ paths: responses: '204': description: Response - '403': *559 + '403': *560 '404': *6 '503': *198 x-github: @@ -77589,8 +77892,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -77599,7 +77902,7 @@ paths: type: object additionalProperties: false properties: - language: &570 + language: &571 type: string description: The language targeted by the CodeQL query enum: @@ -77679,7 +77982,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &574 + schema: &575 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77689,7 +77992,7 @@ paths: description: The ID of the variant analysis. controller_repo: *122 actor: *4 - query_language: *570 + query_language: *571 query_pack_url: type: string description: The download url for the query pack. @@ -77736,7 +78039,7 @@ paths: items: type: object properties: - repository: &571 + repository: &572 title: Repository Identifier description: Repository Identifier type: object @@ -77772,7 +78075,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &575 + analysis_status: &576 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77804,7 +78107,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &572 + access_mismatch_repos: &573 type: object properties: repository_count: @@ -77818,7 +78121,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: *571 + items: *572 required: - repository_count - repositories @@ -77840,8 +78143,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *572 - over_limit_repos: *572 + no_codeql_db_repos: *573 + over_limit_repos: *573 required: - access_mismatch_repos - not_found_repos @@ -77857,7 +78160,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &573 + value: &574 summary: Default response value: id: 1 @@ -78003,10 +78306,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *573 + value: *574 repository_lists: summary: Response for a successful variant analysis submission - value: *573 + value: *574 '404': *6 '422': description: Unable to process variant analysis submission @@ -78034,8 +78337,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: - - *473 - *474 + - *475 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -78047,9 +78350,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *575 examples: - default: *573 + default: *574 '404': *6 '503': *198 x-github: @@ -78072,7 +78375,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: - - *473 + - *474 - name: repo in: path description: The name of the controller repository. @@ -78107,7 +78410,7 @@ paths: type: object properties: repository: *122 - analysis_status: *575 + analysis_status: *576 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78232,8 +78535,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -78335,7 +78638,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *553 + '403': *554 '404': *6 '503': *198 x-github: @@ -78356,8 +78659,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -78449,7 +78752,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *559 + '403': *560 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78520,8 +78823,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -78529,7 +78832,7 @@ paths: schema: type: object properties: - commit_sha: *576 + commit_sha: *577 ref: type: string description: |- @@ -78587,7 +78890,7 @@ paths: schema: type: object properties: - id: *567 + id: *568 url: type: string description: The REST API URL for checking the status of the upload. @@ -78601,7 +78904,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': *559 + '403': *560 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78624,8 +78927,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: - - *473 - *474 + - *475 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78671,7 +78974,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': *553 + '403': *554 '404': description: Not Found if the sarif id does not match any upload '503': *198 @@ -78696,8 +78999,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -78778,8 +79081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *473 - *474 + - *475 - 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 @@ -78899,8 +79202,8 @@ paths: parameters: - *17 - *19 - - *473 - *474 + - *475 responses: '200': description: Response @@ -78916,7 +79219,7 @@ paths: type: integer codespaces: type: array - items: *390 + items: *391 examples: default: value: @@ -79214,8 +79517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -79278,17 +79581,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '400': *14 '401': *25 '403': *29 @@ -79317,8 +79620,8 @@ paths: parameters: - *17 - *19 - - *473 - *474 + - *475 responses: '200': description: Response @@ -79382,8 +79685,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: - - *473 - *474 + - *475 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79422,8 +79725,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *578 - required: *579 + properties: *579 + required: *580 examples: default: &824 value: @@ -79465,8 +79768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *473 - *474 + - *475 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79550,8 +79853,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: - - *473 - *474 + - *475 - 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 @@ -79617,8 +79920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -79636,7 +79939,7 @@ paths: type: integer secrets: type: array - items: &583 + items: &584 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79656,7 +79959,7 @@ paths: - created_at - updated_at examples: - default: *580 + default: *581 headers: Link: *47 x-github: @@ -79679,16 +79982,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79708,17 +80011,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 responses: '200': description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *584 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79738,8 +80041,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: - - *473 - *474 + - *475 - *301 requestBody: required: true @@ -79792,8 +80095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 responses: '204': @@ -79822,8 +80125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *473 - *474 + - *475 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79865,7 +80168,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &585 + properties: &586 login: type: string example: octocat @@ -79958,7 +80261,7 @@ paths: user_view_type: type: string example: public - required: &586 + required: &587 - avatar_url - events_url - followers_url @@ -80032,8 +80335,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: - - *473 - *474 + - *475 - *145 responses: '204': @@ -80080,8 +80383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *473 - *474 + - *475 - *145 requestBody: required: false @@ -80108,7 +80411,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &664 + schema: &665 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80337,8 +80640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *473 - *474 + - *475 - *145 responses: '204': @@ -80370,8 +80673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *473 - *474 + - *475 - *145 responses: '200': @@ -80392,8 +80695,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *585 - required: *586 + properties: *586 + required: *587 nullable: true required: - permission @@ -80448,8 +80751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -80459,7 +80762,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Commit Comment description: Commit Comment type: object @@ -80517,7 +80820,7 @@ paths: - created_at - updated_at examples: - default: &592 + default: &593 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80576,17 +80879,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *473 - *474 + - *475 - *243 responses: '200': description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: &593 + default: &594 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80643,8 +80946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *473 - *474 + - *475 - *243 requestBody: required: true @@ -80667,7 +80970,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: default: value: @@ -80718,8 +81021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *473 - *474 + - *475 - *243 responses: '204': @@ -80741,8 +81044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *473 - *474 + - *475 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80769,7 +81072,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80812,7 +81115,7 @@ paths: - content - created_at examples: - default: &668 + default: &669 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80857,8 +81160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *473 - *474 + - *475 - *243 requestBody: required: true @@ -80891,9 +81194,9 @@ paths: description: Reaction exists content: application/json: - schema: *588 + schema: *589 examples: - default: &589 + default: &590 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80922,9 +81225,9 @@ paths: description: Reaction created content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '422': *15 x-github: githubCloudOnly: false @@ -80946,10 +81249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *473 - *474 + - *475 - *243 - - &669 + - &670 name: reaction_id description: The unique identifier of the reaction. in: path @@ -81004,8 +81307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *473 - *474 + - *475 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -81061,9 +81364,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: &722 + default: &723 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81157,9 +81460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *473 - *474 - - &591 + - *475 + - &592 name: commit_sha description: The SHA of the commit. in: path @@ -81231,9 +81534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *473 - *474 - - *591 + - *475 + - *592 - *17 - *19 responses: @@ -81243,9 +81546,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *592 + default: *593 headers: Link: *47 x-github: @@ -81273,9 +81576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *473 - *474 - - *591 + - *475 + - *592 requestBody: required: true content: @@ -81310,9 +81613,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *593 + default: *594 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81340,9 +81643,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: - - *473 - *474 - - *591 + - *475 + - *592 - *17 - *19 responses: @@ -81352,9 +81655,9 @@ paths: application/json: schema: type: array - items: *594 + items: *595 examples: - default: &714 + default: &715 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81891,11 +82194,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *473 - *474 + - *475 - *19 - *17 - - &595 + - &596 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)" @@ -81910,9 +82213,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -82025,11 +82328,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: - - *473 - *474 - - *595 + - *475 - *596 - *597 + - *598 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -82063,9 +82366,9 @@ paths: type: integer check_runs: type: array - items: *537 + items: *538 examples: - default: *598 + default: *599 headers: Link: *47 x-github: @@ -82090,9 +82393,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: - - *473 - *474 - - *595 + - *475 + - *596 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -82100,7 +82403,7 @@ paths: schema: type: integer example: 1 - - *596 + - *597 - *17 - *19 responses: @@ -82118,7 +82421,7 @@ paths: type: integer check_suites: type: array - items: *542 + items: *543 examples: default: value: @@ -82318,9 +82621,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: - - *473 - *474 - - *595 + - *475 + - *596 - *17 - *19 responses: @@ -82518,9 +82821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *473 - *474 - - *595 + - *475 + - *596 - *17 - *19 responses: @@ -82530,7 +82833,7 @@ paths: application/json: schema: type: array - items: &775 + items: &776 title: Status description: The status of a commit. type: object @@ -82611,7 +82914,7 @@ paths: site_admin: false headers: Link: *47 - '301': *479 + '301': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82639,8 +82942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -82669,20 +82972,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *599 - required: *600 + properties: *600 + required: *601 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &601 + properties: &602 url: type: string format: uri html_url: type: string format: uri - required: &602 + required: &603 - url - html_url nullable: true @@ -82696,26 +82999,26 @@ paths: contributing: title: Community Health File type: object - properties: *601 - required: *602 + properties: *602 + required: *603 nullable: true readme: title: Community Health File type: object - properties: *601 - required: *602 + properties: *602 + required: *603 nullable: true issue_template: title: Community Health File type: object - properties: *601 - required: *602 + properties: *602 + required: *603 nullable: true pull_request_template: title: Community Health File type: object - properties: *601 - required: *602 + properties: *602 + required: *603 nullable: true required: - code_of_conduct @@ -82842,8 +83145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *473 - *474 + - *475 - *19 - *17 - name: basehead @@ -82886,8 +83189,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *590 - merge_base_commit: *590 + base_commit: *591 + merge_base_commit: *591 status: type: string enum: @@ -82907,10 +83210,10 @@ paths: example: 6 commits: type: array - items: *590 + items: *591 files: type: array - items: *603 + items: *604 required: - url - html_url @@ -83196,8 +83499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *473 - *474 + - *475 - name: path description: path parameter in: path @@ -83357,7 +83660,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &604 + response-if-content-is-a-file-github-object: &605 summary: Response if content is a file value: type: file @@ -83489,7 +83792,7 @@ paths: - size - type - url - - &727 + - &728 title: Content File description: Content File type: object @@ -83690,7 +83993,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *604 + response-if-content-is-a-file: *605 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83759,7 +84062,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *605 + '302': *606 '304': *37 x-github: githubCloudOnly: false @@ -83812,8 +84115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *473 - *474 + - *475 - name: path description: path parameter in: path @@ -83906,7 +84209,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &607 title: File Commit description: File Commit type: object @@ -84058,7 +84361,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: example-for-creating-a-file: value: @@ -84112,7 +84415,7 @@ paths: schema: oneOf: - *3 - - &647 + - &648 description: Repository rule violation was detected type: object properties: @@ -84133,7 +84436,7 @@ paths: items: type: object properties: - placeholder_id: &767 + placeholder_id: &768 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -84165,8 +84468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *473 - *474 + - *475 - name: path description: path parameter in: path @@ -84227,7 +84530,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: default: value: @@ -84282,8 +84585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *473 - *474 + - *475 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84406,23 +84709,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *473 - *474 - - *340 + - *475 - *341 - *342 - *343 + - *344 - 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 - - *344 - - *607 - *345 + - *608 - *346 - *347 + - *348 - *112 - *110 - *111 @@ -84434,7 +84737,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 type: object description: A Dependabot alert. properties: @@ -84480,7 +84783,7 @@ paths: - unknown - direct - transitive - security_advisory: *608 + security_advisory: *609 security_vulnerability: *134 url: *135 html_url: *136 @@ -84511,8 +84814,8 @@ paths: nullable: true maxLength: 280 fixed_at: *140 - auto_dismissed_at: *609 - dismissal_request: *610 + auto_dismissed_at: *610 + dismissal_request: *611 assignees: type: array description: The users assigned to this alert. @@ -84767,9 +85070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *473 - *474 - - &612 + - *475 + - &613 name: alert_number in: path description: |- @@ -84784,7 +85087,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -84916,9 +85219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *473 - *474 - - *612 + - *475 + - *613 requestBody: required: true content: @@ -84974,7 +85277,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -85104,8 +85407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -85123,7 +85426,7 @@ paths: type: integer secrets: type: array - items: &615 + items: &616 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -85176,16 +85479,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85205,15 +85508,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 responses: '200': description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -85239,8 +85542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 requestBody: required: true @@ -85293,8 +85596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *473 - *474 + - *475 - *301 responses: '204': @@ -85317,8 +85620,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: - - *473 - *474 + - *475 - 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 @@ -85478,8 +85781,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -85718,8 +86021,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -85794,7 +86097,7 @@ paths: - version - url additionalProperties: false - metadata: &616 + metadata: &617 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85827,7 +86130,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *616 + metadata: *617 resolved: type: object description: A collection of resolved package dependencies. @@ -85840,7 +86143,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *616 + metadata: *617 relationship: type: string description: A notation of whether a dependency is requested @@ -85969,8 +86272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *473 - *474 + - *475 - name: sha description: The SHA recorded at creation time. in: query @@ -86010,9 +86313,9 @@ paths: application/json: schema: type: array - items: *617 + items: *618 examples: - default: *618 + default: *619 headers: Link: *47 x-github: @@ -86078,8 +86381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -86160,7 +86463,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: simple-example: summary: Simple example @@ -86233,9 +86536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *473 - *474 - - &619 + - *475 + - &620 name: deployment_id description: deployment_id parameter in: path @@ -86247,7 +86550,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -86312,9 +86615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *473 - *474 - - *619 + - *475 + - *620 responses: '204': description: Response @@ -86336,9 +86639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *473 - *474 - - *619 + - *475 + - *620 - *17 - *19 responses: @@ -86348,7 +86651,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Deployment Status description: The status of a deployment. type: object @@ -86509,9 +86812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *473 - *474 - - *619 + - *475 + - *620 requestBody: required: true content: @@ -86586,9 +86889,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: - default: &621 + default: &622 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86644,9 +86947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *473 - *474 - - *619 + - *475 + - *620 - name: status_id in: path required: true @@ -86657,9 +86960,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: - default: *621 + default: *622 '404': *6 x-github: githubCloudOnly: false @@ -86686,12 +86989,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *473 - *474 - - *622 + - *475 - *623 - *624 - *625 + - *626 - *17 - *19 responses: @@ -86701,9 +87004,9 @@ paths: application/json: schema: type: array - items: *626 + items: *627 examples: - default: *627 + default: *628 '404': *6 '403': *29 '500': *40 @@ -86727,8 +87030,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -86740,7 +87043,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *626 + schema: *627 examples: default: value: @@ -86796,8 +87099,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -86856,12 +87159,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *473 - *474 - - *622 + - *475 - *623 - *624 - *625 + - *626 - *17 - *19 responses: @@ -86871,9 +87174,9 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: - default: *629 + default: *630 '404': *6 '403': *29 '500': *40 @@ -86897,8 +87200,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -86910,7 +87213,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -86961,8 +87264,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -87000,7 +87303,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *628 + schema: *629 examples: default: value: @@ -87051,8 +87354,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -87123,8 +87426,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -87157,12 +87460,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - *105 - *106 - *107 - - *352 + - *353 - *17 - *19 responses: @@ -87172,9 +87475,9 @@ paths: application/json: schema: type: array - items: *630 + items: *631 examples: - default: *631 + default: *632 '404': *6 '403': *29 '500': *40 @@ -87199,8 +87502,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -87212,7 +87515,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *630 + schema: *631 examples: default: value: @@ -87270,8 +87573,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *473 - *474 + - *475 - name: alert_number in: path required: true @@ -87340,8 +87643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -87398,8 +87701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -87416,7 +87719,7 @@ paths: type: integer environments: type: array - items: &633 + items: &634 title: Environment description: Details of a deployment environment type: object @@ -87468,7 +87771,7 @@ paths: type: type: string example: wait_timer - wait_timer: &635 + wait_timer: &636 type: integer example: 30 description: The amount of time to delay a job after @@ -87505,7 +87808,7 @@ paths: items: type: object properties: - type: *632 + type: *633 reviewer: anyOf: - *4 @@ -87529,7 +87832,7 @@ paths: - id - node_id - type - deployment_branch_policy: &636 + deployment_branch_policy: &637 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -87645,9 +87948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *473 - *474 - - &634 + - *475 + - &635 name: environment_name in: path required: true @@ -87660,9 +87963,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: &637 + default: &638 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87746,9 +88049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *473 - *474 - - *634 + - *475 + - *635 requestBody: required: false content: @@ -87757,7 +88060,7 @@ paths: type: object nullable: true properties: - wait_timer: *635 + wait_timer: *636 prevent_self_review: type: boolean example: false @@ -87774,13 +88077,13 @@ paths: items: type: object properties: - type: *632 + type: *633 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *636 + deployment_branch_policy: *637 additionalProperties: false examples: default: @@ -87800,9 +88103,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *637 + default: *638 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87826,9 +88129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *473 - *474 - - *634 + - *475 + - *635 responses: '204': description: Default response @@ -87853,9 +88156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *473 - *474 - - *634 + - *475 + - *635 - *17 - *19 responses: @@ -87873,7 +88176,7 @@ paths: example: 2 branch_policies: type: array - items: &638 + items: &639 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87930,9 +88233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *473 - *474 - - *634 + - *475 + - *635 requestBody: required: true content: @@ -87978,9 +88281,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - example-wildcard: &639 + example-wildcard: &640 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -88022,10 +88325,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *473 - *474 - - *634 - - &640 + - *475 + - *635 + - &641 name: branch_policy_id in: path required: true @@ -88037,9 +88340,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *639 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88058,10 +88361,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *473 - *474 - - *634 - - *640 + - *475 + - *635 + - *641 requestBody: required: true content: @@ -88089,9 +88392,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *639 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,10 +88413,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *473 - *474 - - *634 - - *640 + - *475 + - *635 + - *641 responses: '204': description: Response @@ -88138,9 +88441,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: - - *634 + - *635 + - *475 - *474 - - *473 responses: '200': description: List of deployment protection rules @@ -88156,7 +88459,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &641 + items: &642 title: Deployment protection rule description: Deployment protection rule type: object @@ -88175,7 +88478,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &642 + app: &643 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88274,9 +88577,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: - - *634 + - *635 + - *475 - *474 - - *473 requestBody: content: application/json: @@ -88297,9 +88600,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *641 + schema: *642 examples: - default: &643 + default: &644 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88334,9 +88637,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: - - *634 + - *635 + - *475 - *474 - - *473 - *19 - *17 responses: @@ -88355,7 +88658,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *642 + items: *643 examples: default: value: @@ -88390,10 +88693,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: - - *473 - *474 - - *634 - - &644 + - *475 + - *635 + - &645 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88405,9 +88708,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *643 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88428,10 +88731,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: - - *634 + - *635 + - *475 - *474 - - *473 - - *644 + - *645 responses: '204': description: Response @@ -88457,9 +88760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *473 - *474 - - *634 + - *475 + - *635 - *17 - *19 responses: @@ -88477,9 +88780,9 @@ paths: type: integer secrets: type: array - items: *504 + items: *505 examples: - default: *505 + default: *506 headers: Link: *47 x-github: @@ -88504,17 +88807,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *473 - *474 - - *634 + - *475 + - *635 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88536,18 +88839,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *473 - *474 - - *634 + - *475 + - *635 - *301 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88569,9 +88872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *473 - *474 - - *634 + - *475 + - *635 - *301 requestBody: required: true @@ -88629,9 +88932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *473 - *474 - - *634 + - *475 + - *635 - *301 responses: '204': @@ -88657,10 +88960,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *473 - *474 - - *634 - - *491 + - *475 + - *635 + - *492 - *19 responses: '200': @@ -88677,9 +88980,9 @@ paths: type: integer variables: type: array - items: *508 + items: *509 examples: - default: *509 + default: *510 headers: Link: *47 x-github: @@ -88702,9 +89005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *473 - *474 - - *634 + - *475 + - *635 requestBody: required: true content: @@ -88756,18 +89059,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *473 - *474 - - *634 + - *475 + - *635 - *304 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *646 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88788,10 +89091,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *473 - *474 + - *475 - *304 - - *634 + - *635 requestBody: required: true content: @@ -88833,10 +89136,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *473 - *474 + - *475 - *304 - - *634 + - *635 responses: '204': description: Response @@ -88858,8 +89161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -88927,8 +89230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *473 - *474 + - *475 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -89087,8 +89390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *473 - *474 + - *475 requestBody: required: false content: @@ -89120,9 +89423,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 '400': *14 '422': *15 '403': *29 @@ -89143,8 +89446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -89204,7 +89507,7 @@ paths: schema: oneOf: - *265 - - *647 + - *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89229,8 +89532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *473 - *474 + - *475 - name: file_sha in: path required: true @@ -89329,8 +89632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -89439,7 +89742,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &649 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89653,15 +89956,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *473 - *474 - - *591 + - *475 + - *592 responses: '200': description: Response content: application/json: - schema: *648 + schema: *649 examples: default: value: @@ -89717,9 +90020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *473 - *474 - - &649 + - *475 + - &650 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. @@ -89736,7 +90039,7 @@ paths: application/json: schema: type: array - items: &650 + items: &651 title: Git Reference description: Git references within a repository type: object @@ -89811,17 +90114,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *473 - *474 - - *649 + - *475 + - *650 responses: '200': description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89850,8 +90153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -89880,9 +90183,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89908,9 +90211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *473 - *474 - - *649 + - *475 + - *650 requestBody: required: true content: @@ -89939,9 +90242,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '422': *15 '409': *121 x-github: @@ -89959,9 +90262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *473 - *474 - - *649 + - *475 + - *650 responses: '204': description: Response @@ -90016,8 +90319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -90084,7 +90387,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &654 title: Git Tag description: Metadata for a Git tag type: object @@ -90135,7 +90438,7 @@ paths: - sha - type - url - verification: *652 + verification: *653 required: - sha - url @@ -90145,7 +90448,7 @@ paths: - tag - message examples: - default: &654 + default: &655 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90218,8 +90521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *473 - *474 + - *475 - name: tag_sha in: path required: true @@ -90230,9 +90533,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *654 examples: - default: *654 + default: *655 '404': *6 '409': *121 x-github: @@ -90256,8 +90559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -90330,7 +90633,7 @@ paths: description: Response content: application/json: - schema: &655 + schema: &656 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90426,8 +90729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *473 - *474 + - *475 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90450,7 +90753,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *656 examples: default-response: summary: Default response @@ -90509,8 +90812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -90520,7 +90823,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Webhook description: Webhooks for repositories. type: object @@ -90648,8 +90951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *473 - *474 + - *475 requestBody: required: false content: @@ -90701,9 +91004,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: &657 + default: &658 value: type: Repository id: 12345678 @@ -90751,17 +91054,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *473 - *474 - - *358 + - *475 + - *359 responses: '200': description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -90781,9 +91084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *473 - *474 - - *358 + - *475 + - *359 requestBody: required: true content: @@ -90828,9 +91131,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '422': *15 '404': *6 x-github: @@ -90851,9 +91154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *473 - *474 - - *358 + - *475 + - *359 responses: '204': description: Response @@ -90877,9 +91180,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: - - *473 - *474 - - *358 + - *475 + - *359 responses: '200': description: Response @@ -90906,9 +91209,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: - - *473 - *474 - - *358 + - *475 + - *359 requestBody: required: false content: @@ -90952,11 +91255,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *473 - *474 - - *358 - - *17 + - *475 - *359 + - *17 + - *360 responses: '200': description: Response @@ -90964,9 +91267,9 @@ paths: application/json: schema: type: array - items: *360 + items: *361 examples: - default: *361 + default: *362 '400': *14 '422': *15 x-github: @@ -90985,18 +91288,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: - - *473 - *474 - - *358 + - *475 + - *359 - *16 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '400': *14 '422': *15 x-github: @@ -91015,9 +91318,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: - - *473 - *474 - - *358 + - *475 + - *359 - *16 responses: '202': *39 @@ -91040,9 +91343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *473 - *474 - - *358 + - *475 + - *359 responses: '204': description: Response @@ -91067,9 +91370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *473 - *474 - - *358 + - *475 + - *359 responses: '204': description: Response @@ -91092,8 +91395,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: - - *473 - *474 + - *475 responses: '200': description: Response if immutable releases are enabled @@ -91139,8 +91442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *473 - *474 + - *475 responses: '204': *157 '409': *121 @@ -91160,8 +91463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *473 - *474 + - *475 responses: '204': *157 '409': *121 @@ -91218,14 +91521,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: &658 + schema: &659 title: Import description: A repository import from an external source. type: object @@ -91324,7 +91627,7 @@ paths: - html_url - authors_url examples: - default: &661 + default: &662 value: vcs: subversion use_lfs: true @@ -91340,7 +91643,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': &659 + '503': &660 description: Unavailable due to service under maintenance. content: application/json: @@ -91369,8 +91672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -91418,7 +91721,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -91443,7 +91746,7 @@ paths: type: string '422': *15 '404': *6 - '503': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91471,8 +91774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *473 - *474 + - *475 requestBody: required: false content: @@ -91521,7 +91824,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: example-1: summary: Example 1 @@ -91569,7 +91872,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': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91592,12 +91895,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *473 - *474 + - *475 responses: '204': description: Response - '503': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91623,8 +91926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *473 - *474 + - *475 - &845 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -91639,7 +91942,7 @@ paths: application/json: schema: type: array - items: &660 + items: &661 title: Porter Author description: Porter Author type: object @@ -91693,7 +91996,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': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91718,8 +92021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *473 - *474 + - *475 - name: author_id in: path required: true @@ -91749,7 +92052,7 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: default: value: @@ -91762,7 +92065,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91786,8 +92089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -91828,7 +92131,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91856,8 +92159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -91884,11 +92187,11 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *661 + default: *662 '422': *15 - '503': *659 + '503': *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91911,8 +92214,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -91920,8 +92223,8 @@ paths: application/json: schema: *22 examples: - default: *375 - '301': *479 + default: *376 + '301': *480 '404': *6 x-github: githubCloudOnly: false @@ -91941,8 +92244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -91950,12 +92253,12 @@ paths: application/json: schema: anyOf: - - *377 + - *378 - type: object properties: {} additionalProperties: false examples: - default: &663 + default: &664 value: limit: collaborators_only origin: repository @@ -91980,13 +92283,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *473 - *474 + - *475 requestBody: required: true content: application/json: - schema: *662 + schema: *663 examples: default: summary: Example request body @@ -91998,9 +92301,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *663 + default: *664 '409': description: Response x-github: @@ -92022,8 +92325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -92046,8 +92349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -92057,7 +92360,7 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: default: &838 value: @@ -92190,9 +92493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *473 - *474 - - *381 + - *475 + - *382 requestBody: required: false content: @@ -92221,7 +92524,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -92352,9 +92655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *473 - *474 - - *381 + - *475 + - *382 responses: '204': description: Response @@ -92385,8 +92688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *473 - *474 + - *475 - 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 @@ -92434,7 +92737,7 @@ paths: required: false schema: type: string - - *388 + - *389 - name: sort description: What to sort results by. in: query @@ -92459,7 +92762,7 @@ paths: type: array items: *227 examples: - default: &677 + default: &678 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92608,7 +92911,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *479 + '301': *480 '422': *15 '404': *6 x-github: @@ -92637,8 +92940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -92722,7 +93025,7 @@ paths: application/json: schema: *227 examples: - default: &674 + default: &675 value: id: 1 node_id: MDU6SXNzdWUx @@ -92879,7 +93182,7 @@ paths: '422': *15 '503': *198 '404': *6 - '410': *665 + '410': *666 x-github: triggersNotification: true githubCloudOnly: false @@ -92917,8 +93220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *473 - *474 + - *475 - *251 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92939,9 +93242,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: &676 + default: &677 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92999,17 +93302,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 responses: '200': description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -93064,8 +93367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 requestBody: required: true @@ -93088,9 +93391,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '422': *15 x-github: githubCloudOnly: false @@ -93108,8 +93411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 responses: '204': @@ -93138,15 +93441,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 responses: '200': description: Response content: application/json: - schema: *666 + schema: *667 examples: default: value: @@ -93202,7 +93505,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *665 + '410': *666 '422': *15 x-github: githubCloudOnly: false @@ -93219,8 +93522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 responses: '204': @@ -93228,7 +93531,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *665 + '410': *666 '503': *198 x-github: githubCloudOnly: false @@ -93246,8 +93549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93274,9 +93577,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *668 + default: *669 headers: Link: *47 '404': *6 @@ -93297,8 +93600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *473 - *474 + - *475 - *243 requestBody: required: true @@ -93331,16 +93634,16 @@ paths: description: Reaction exists content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '201': description: Reaction created content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '422': *15 x-github: githubCloudOnly: false @@ -93362,10 +93665,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *473 - *474 + - *475 - *243 - - *669 + - *670 responses: '204': description: Response @@ -93385,8 +93688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -93396,7 +93699,7 @@ paths: application/json: schema: type: array - items: &673 + items: &674 title: Issue Event description: Issue Event type: object @@ -93439,9 +93742,9 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *670 - required: *671 - x-github-breaking-changes: *672 + properties: *671 + required: *672 + x-github-breaking-changes: *673 nullable: true label: title: Issue Event Label @@ -93749,8 +94052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *473 - *474 + - *475 - name: event_id in: path required: true @@ -93761,7 +94064,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *674 examples: default: value: @@ -93954,7 +94257,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *665 + '410': *666 '403': *29 x-github: githubCloudOnly: false @@ -93988,9 +94291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *473 - *474 - - &675 + - *475 + - &676 name: issue_number description: The number that identifies the issue. in: path @@ -94006,7 +94309,7 @@ paths: examples: default: summary: Issue - value: *674 + value: *675 pinned_comment: summary: Issue with pinned comment value: @@ -94205,9 +94508,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 '304': *37 x-github: githubCloudOnly: false @@ -94232,9 +94535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: false content: @@ -94360,13 +94663,13 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 '422': *15 '503': *198 '403': *29 - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94394,9 +94697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: false content: @@ -94424,7 +94727,7 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94440,9 +94743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: content: application/json: @@ -94469,7 +94772,7 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94491,9 +94794,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: - - *473 - *474 - - *675 + - *475 + - *676 - name: assignee in: path required: true @@ -94533,9 +94836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *473 - *474 - - *675 + - *475 + - *676 - *234 - *17 - *19 @@ -94546,13 +94849,13 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *676 + default: *677 headers: Link: *47 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94581,9 +94884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: true content: @@ -94605,16 +94908,16 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *665 + '410': *666 '422': *15 '404': *6 x-github: @@ -94642,9 +94945,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: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -94656,12 +94959,12 @@ paths: type: array items: *227 examples: - default: *677 + default: *678 headers: Link: *47 - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94689,9 +94992,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: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: true content: @@ -94715,15 +95018,15 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *479 + '301': *480 '403': *29 - '410': *665 + '410': *666 '422': *15 '404': *6 x-github: @@ -94754,9 +95057,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: - - *473 - *474 - - *675 + - *475 + - *676 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94770,13 +95073,13 @@ paths: application/json: schema: *227 examples: - default: *674 - '301': *479 + default: *675 + '301': *480 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *665 + '410': *666 x-github: triggersNotification: true githubCloudOnly: false @@ -94802,9 +95105,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: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -94816,12 +95119,12 @@ paths: type: array items: *227 examples: - default: *677 + default: *678 headers: Link: *47 - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94838,9 +95141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -94854,7 +95157,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &680 + - &681 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94908,7 +95211,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &682 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -95044,7 +95347,7 @@ paths: - performed_via_github_app - assignee - assigner - - &682 + - &683 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -95095,7 +95398,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &684 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -95146,7 +95449,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &685 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -95200,7 +95503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &686 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -95247,7 +95550,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &686 + - &687 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -95294,7 +95597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &687 + - &688 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -95354,7 +95657,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &688 + - &689 title: Locked Issue Event description: Locked Issue Event type: object @@ -95402,7 +95705,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &689 + - &690 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -95468,7 +95771,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &690 + - &691 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -95534,7 +95837,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &691 + - &692 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -95600,7 +95903,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &692 + - &693 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95691,7 +95994,7 @@ paths: color: red headers: Link: *47 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95708,9 +96011,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: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -95720,9 +96023,9 @@ paths: application/json: schema: type: array - items: *678 + items: *679 examples: - default: &781 + default: &782 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -95746,9 +96049,9 @@ paths: value: '2025-12-25' headers: Link: *47 - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95765,9 +96068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -95779,7 +96082,7 @@ paths: type: array items: *226 examples: - default: &679 + default: &680 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95797,9 +96100,9 @@ paths: default: false headers: Link: *47 - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95815,9 +96118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: false content: @@ -95862,10 +96165,10 @@ paths: type: array items: *226 examples: - default: *679 - '301': *479 + default: *680 + '301': *480 '404': *6 - '410': *665 + '410': *666 '422': *15 x-github: githubCloudOnly: false @@ -95882,9 +96185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: false content: @@ -95946,10 +96249,10 @@ paths: type: array items: *226 examples: - default: *679 - '301': *479 + default: *680 + '301': *480 '404': *6 - '410': *665 + '410': *666 '422': *15 x-github: githubCloudOnly: false @@ -95966,15 +96269,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 responses: '204': description: Response - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95993,9 +96296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 - name: name in: path required: true @@ -96019,9 +96322,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *479 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96041,9 +96344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: false content: @@ -96071,7 +96374,7 @@ paths: '204': description: Response '403': *29 - '410': *665 + '410': *666 '404': *6 '422': *15 x-github: @@ -96089,9 +96392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 responses: '204': description: Response @@ -96121,9 +96424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 responses: '200': description: Response @@ -96131,10 +96434,10 @@ paths: application/json: schema: *227 examples: - default: *674 - '301': *479 + default: *675 + '301': *480 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96151,9 +96454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 - 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. @@ -96179,13 +96482,13 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *668 + default: *669 headers: Link: *47 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96203,9 +96506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: true content: @@ -96237,16 +96540,16 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '201': description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '422': *15 x-github: githubCloudOnly: false @@ -96268,10 +96571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *473 - *474 - - *675 - - *669 + - *475 + - *676 + - *670 responses: '204': description: Response @@ -96300,9 +96603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: true content: @@ -96326,7 +96629,7 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -96359,9 +96662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -96373,11 +96676,11 @@ paths: type: array items: *227 examples: - default: *677 + default: *678 headers: Link: *47 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96405,9 +96708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: true content: @@ -96436,14 +96739,14 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *665 + '410': *666 '422': *15 '404': *6 x-github: @@ -96463,9 +96766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 requestBody: required: true content: @@ -96498,7 +96801,7 @@ paths: application/json: schema: *227 examples: - default: *674 + default: *675 '403': *29 '404': *6 '422': *7 @@ -96520,9 +96823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *473 - *474 - - *675 + - *475 + - *676 - *17 - *19 responses: @@ -96537,7 +96840,6 @@ paths: description: Timeline Event type: object anyOf: - - *680 - *681 - *682 - *683 @@ -96550,6 +96852,7 @@ paths: - *690 - *691 - *692 + - *693 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96610,8 +96913,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *693 - required: *694 + properties: *694 + required: *695 nullable: true required: - event @@ -96866,7 +97169,7 @@ paths: type: string comments: type: array - items: &716 + items: &717 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -97081,7 +97384,7 @@ paths: type: string comments: type: array - items: *587 + items: *588 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97370,7 +97673,7 @@ paths: headers: Link: *47 '404': *6 - '410': *665 + '410': *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97387,8 +97690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -97398,7 +97701,7 @@ paths: application/json: schema: type: array - items: &695 + items: &696 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97464,8 +97767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -97501,9 +97804,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: &696 + default: &697 value: id: 1 key: ssh-rsa AAA... @@ -97537,9 +97840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *473 - *474 - - &697 + - *475 + - &698 name: key_id description: The unique identifier of the key. in: path @@ -97551,9 +97854,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *696 examples: - default: *696 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -97571,9 +97874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *473 - *474 - - *697 + - *475 + - *698 responses: '204': description: Response @@ -97593,8 +97896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -97606,7 +97909,7 @@ paths: type: array items: *226 examples: - default: *679 + default: *680 headers: Link: *47 '404': *6 @@ -97627,8 +97930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -97666,7 +97969,7 @@ paths: application/json: schema: *226 examples: - default: &698 + default: &699 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97698,8 +98001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *473 - *474 + - *475 - name: name in: path required: true @@ -97712,7 +98015,7 @@ paths: application/json: schema: *226 examples: - default: *698 + default: *699 '404': *6 x-github: githubCloudOnly: false @@ -97729,8 +98032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *473 - *474 + - *475 - name: name in: path required: true @@ -97795,8 +98098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *473 - *474 + - *475 - name: name in: path required: true @@ -97822,8 +98125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -97859,8 +98162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *473 - *474 + - *475 responses: '202': *39 '403': @@ -97888,8 +98191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -97915,9 +98218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *473 - *474 - - *560 + - *475 + - *561 responses: '200': description: Response @@ -98062,8 +98365,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -98128,8 +98431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -98163,9 +98466,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *590 + schema: *591 examples: - default: *699 + default: *700 '204': description: Response when already merged '404': @@ -98190,8 +98493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *473 - *474 + - *475 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98232,12 +98535,12 @@ paths: application/json: schema: type: array - items: &700 + items: &701 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 examples: default: value: @@ -98293,8 +98596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -98334,9 +98637,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *701 examples: - default: &701 + default: &702 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -98395,9 +98698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *473 - *474 - - &702 + - *475 + - &703 name: milestone_number description: The number that identifies the milestone. in: path @@ -98409,9 +98712,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *701 examples: - default: *701 + default: *702 '404': *6 x-github: githubCloudOnly: false @@ -98428,9 +98731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *473 - *474 - - *702 + - *475 + - *703 requestBody: required: false content: @@ -98468,9 +98771,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *701 examples: - default: *701 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98486,9 +98789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *473 - *474 - - *702 + - *475 + - *703 responses: '204': description: Response @@ -98509,9 +98812,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: - - *473 - *474 - - *702 + - *475 + - *703 - *17 - *19 responses: @@ -98523,7 +98826,7 @@ paths: type: array items: *226 examples: - default: *679 + default: *680 headers: Link: *47 x-github: @@ -98542,12 +98845,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: - - *473 - *474 - - *703 + - *475 - *704 - - *234 - *705 + - *234 + - *706 - *17 - *19 responses: @@ -98559,7 +98862,7 @@ paths: type: array items: *254 examples: - default: *706 + default: *707 headers: Link: *47 x-github: @@ -98583,8 +98886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *473 - *474 + - *475 requestBody: required: false content: @@ -98642,14 +98945,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: &707 + schema: &708 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98774,7 +99077,7 @@ paths: - custom_404 - public examples: - default: &708 + default: &709 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98815,8 +99118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -98870,9 +99173,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 '422': *15 '409': *121 x-github: @@ -98895,8 +99198,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -99003,8 +99306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -99030,8 +99333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -99041,7 +99344,7 @@ paths: application/json: schema: type: array - items: &709 + items: &710 title: Page Build description: Page Build type: object @@ -99135,8 +99438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *473 - *474 + - *475 responses: '201': description: Response @@ -99181,16 +99484,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &710 + default: &711 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -99238,8 +99541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *473 - *474 + - *475 - name: build_id in: path required: true @@ -99250,9 +99553,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *710 + default: *711 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99272,8 +99575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -99378,9 +99681,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: - - *473 - *474 - - &711 + - *475 + - &712 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99438,9 +99741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *473 - *474 - - *711 + - *475 + - *712 responses: '204': *157 '404': *6 @@ -99467,8 +99770,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -99726,8 +100029,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: - - *473 - *474 + - *475 responses: '200': description: Private vulnerability reporting status @@ -99764,8 +100067,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: - - *473 - *474 + - *475 responses: '204': *157 '422': *14 @@ -99786,8 +100089,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: - - *473 - *474 + - *475 responses: '204': *157 '422': *14 @@ -99809,8 +100112,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -99820,7 +100123,7 @@ paths: type: array items: *158 examples: - default: *712 + default: *713 '403': *29 '404': *6 x-github: @@ -99842,8 +100145,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -99859,7 +100162,7 @@ paths: required: - properties examples: - default: *713 + default: *714 responses: '204': description: No Content when custom property values are successfully created @@ -99897,8 +100200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *473 - *474 + - *475 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99958,9 +100261,9 @@ paths: application/json: schema: type: array - items: *594 + items: *595 examples: - default: *714 + default: *715 headers: Link: *47 '304': *37 @@ -99992,8 +100295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -100058,7 +100361,7 @@ paths: description: Response content: application/json: - schema: &718 + schema: &719 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -100169,8 +100472,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 nullable: true active_lock_reason: type: string @@ -100213,7 +100516,7 @@ paths: items: *4 requested_teams: type: array - items: *457 + items: *458 head: type: object properties: @@ -100251,14 +100554,14 @@ paths: _links: type: object properties: - comments: *422 - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + comments: *423 + commits: *423 + statuses: *423 + html: *423 + issue: *423 + review_comments: *423 + review_comment: *423 + self: *423 required: - comments - commits @@ -100269,7 +100572,7 @@ paths: - review_comment - self author_association: *224 - auto_merge: *715 + auto_merge: *716 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -100455,7 +100758,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &719 + default: &720 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100982,8 +101285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *473 - *474 + - *475 - name: sort in: query required: false @@ -101012,9 +101315,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: &721 + default: &722 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -101091,17 +101394,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: - - *473 - *474 + - *475 - *243 responses: '200': description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: &717 + default: &718 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -101176,8 +101479,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: - - *473 - *474 + - *475 - *243 requestBody: required: true @@ -101200,9 +101503,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: - default: *717 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101218,8 +101521,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: - - *473 - *474 + - *475 - *243 responses: '204': @@ -101241,8 +101544,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: - - *473 - *474 + - *475 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101269,9 +101572,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *668 + default: *669 headers: Link: *47 '404': *6 @@ -101292,8 +101595,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: - - *473 - *474 + - *475 - *243 requestBody: required: true @@ -101326,16 +101629,16 @@ paths: description: Reaction exists content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '201': description: Reaction created content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '422': *15 x-github: githubCloudOnly: false @@ -101357,10 +101660,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *473 - *474 + - *475 - *243 - - *669 + - *670 responses: '204': description: Response @@ -101403,9 +101706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *473 - *474 - - &720 + - *475 + - &721 name: pull_number description: The number that identifies the pull request. in: path @@ -101418,9 +101721,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *718 + schema: *719 examples: - default: *719 + default: *720 '304': *37 '404': *6 '406': @@ -101455,9 +101758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: false content: @@ -101499,9 +101802,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *719 examples: - default: *719 + default: *720 '422': *15 '403': *29 x-github: @@ -101523,9 +101826,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: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: true content: @@ -101585,17 +101888,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '401': *25 '403': *29 '404': *6 @@ -101625,9 +101928,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: - - *473 - *474 - - *720 + - *475 + - *721 - *251 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101648,9 +101951,9 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *721 + default: *722 headers: Link: *47 x-github: @@ -101683,9 +101986,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: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: true content: @@ -101790,7 +102093,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: example-for-a-multi-line-comment: value: @@ -101878,9 +102181,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: - - *473 - *474 - - *720 + - *475 + - *721 - *243 requestBody: required: true @@ -101903,7 +102206,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *717 examples: default: value: @@ -101989,9 +102292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *473 - *474 - - *720 + - *475 + - *721 - *17 - *19 responses: @@ -102001,9 +102304,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *722 + default: *723 headers: Link: *47 x-github: @@ -102033,9 +102336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *473 - *474 - - *720 + - *475 + - *721 - *17 - *19 responses: @@ -102045,7 +102348,7 @@ paths: application/json: schema: type: array - items: *603 + items: *604 examples: default: value: @@ -102083,9 +102386,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: - - *473 - *474 - - *720 + - *475 + - *721 responses: '204': description: Response if pull request has been merged @@ -102108,9 +102411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: false content: @@ -102221,9 +102524,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: - - *473 - *474 - - *720 + - *475 + - *721 responses: '200': description: Response @@ -102298,9 +102601,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: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: false content: @@ -102337,7 +102640,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -102873,9 +103176,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: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: true content: @@ -102909,7 +103212,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -103414,9 +103717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *473 - *474 - - *720 + - *475 + - *721 - *17 - *19 responses: @@ -103426,7 +103729,7 @@ paths: application/json: schema: type: array - items: &723 + items: &724 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103577,9 +103880,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: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: false content: @@ -103665,9 +103968,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: &725 + default: &726 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103730,10 +104033,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: - - *473 - *474 - - *720 - - &724 + - *475 + - *721 + - &725 name: review_id description: The unique identifier of the review. in: path @@ -103745,9 +104048,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: &726 + default: &727 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103806,10 +104109,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: - - *473 - *474 - - *720 - - *724 + - *475 + - *721 + - *725 requestBody: required: true content: @@ -103832,7 +104135,7 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: default: value: @@ -103894,18 +104197,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: - - *473 - *474 - - *720 - - *724 + - *475 + - *721 + - *725 responses: '200': description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: *725 + default: *726 '422': *7 '404': *6 x-github: @@ -103932,10 +104235,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: - - *473 - *474 - - *720 - - *724 + - *475 + - *721 + - *725 - *17 - *19 responses: @@ -104018,9 +104321,9 @@ paths: _links: type: object properties: - self: *422 - html: *422 - pull_request: *422 + self: *423 + html: *423 + pull_request: *423 required: - self - html @@ -104170,10 +104473,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: - - *473 - *474 - - *720 - - *724 + - *475 + - *721 + - *725 requestBody: required: true content: @@ -104201,7 +104504,7 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: default: value: @@ -104264,10 +104567,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: - - *473 - *474 - - *720 - - *724 + - *475 + - *721 + - *725 requestBody: required: true content: @@ -104302,9 +104605,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *724 examples: - default: *726 + default: *727 '404': *6 '422': *7 '403': *29 @@ -104326,9 +104629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *473 - *474 - - *720 + - *475 + - *721 requestBody: required: false content: @@ -104391,8 +104694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *473 - *474 + - *475 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104405,9 +104708,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: &728 + default: &729 value: type: file encoding: base64 @@ -104449,8 +104752,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: - - *473 - *474 + - *475 - name: dir description: The alternate path to look for a README file in: path @@ -104470,9 +104773,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *728 + default: *729 '404': *6 '422': *15 x-github: @@ -104494,8 +104797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -104505,7 +104808,7 @@ paths: application/json: schema: type: array - items: *729 + items: *730 examples: default: value: @@ -104599,8 +104902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -104676,9 +104979,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: - default: &733 + default: &734 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104783,9 +105086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *473 - *474 - - &731 + - *475 + - &732 name: asset_id description: The unique identifier of the asset. in: path @@ -104797,9 +105100,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: - default: &732 + default: &733 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 @@ -104834,7 +105137,7 @@ paths: type: User site_admin: false '404': *6 - '302': *605 + '302': *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104850,9 +105153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *473 - *474 - - *731 + - *475 + - *732 requestBody: required: false content: @@ -104880,9 +105183,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: - default: *732 + default: *733 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104898,9 +105201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *473 - *474 - - *731 + - *475 + - *732 responses: '204': description: Response @@ -104924,8 +105227,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -105010,16 +105313,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *473 - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *729 + schema: *730 examples: - default: *733 + default: *734 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105036,8 +105339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *473 - *474 + - *475 - name: tag description: tag parameter in: path @@ -105050,9 +105353,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: - default: *733 + default: *734 '404': *6 x-github: githubCloudOnly: false @@ -105074,9 +105377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *473 - *474 - - &734 + - *475 + - &735 name: release_id description: The unique identifier of the release. in: path @@ -105090,9 +105393,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: *729 + schema: *730 examples: - default: *733 + default: *734 '401': description: Unauthorized x-github: @@ -105110,9 +105413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *473 - *474 - - *734 + - *475 + - *735 requestBody: required: false content: @@ -105176,9 +105479,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: - default: *733 + default: *734 '404': description: Not Found if the discussion category name is invalid content: @@ -105199,9 +105502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *473 - *474 - - *734 + - *475 + - *735 responses: '204': description: Response @@ -105221,9 +105524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *473 - *474 - - *734 + - *475 + - *735 - *17 - *19 responses: @@ -105233,7 +105536,7 @@ paths: application/json: schema: type: array - items: *730 + items: *731 examples: default: value: @@ -105315,9 +105618,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: - - *473 - *474 - - *734 + - *475 + - *735 - name: name in: query required: true @@ -105343,7 +105646,7 @@ paths: description: Response for successful upload content: application/json: - schema: *730 + schema: *731 examples: response-for-successful-upload: value: @@ -105398,9 +105701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *473 - *474 - - *734 + - *475 + - *735 - 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. @@ -105424,9 +105727,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *668 + default: *669 headers: Link: *47 '404': *6 @@ -105447,9 +105750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *473 - *474 - - *734 + - *475 + - *735 requestBody: required: true content: @@ -105479,16 +105782,16 @@ paths: description: Reaction exists content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '201': description: Reaction created content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 '422': *15 x-github: githubCloudOnly: false @@ -105510,10 +105813,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *473 - *474 - - *734 - - *669 + - *475 + - *735 + - *670 responses: '204': description: Response @@ -105537,9 +105840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *473 - *474 - - *526 + - *475 + - *527 - *17 - *19 responses: @@ -105556,7 +105859,7 @@ paths: oneOf: - allOf: - *172 - - &735 + - &736 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105577,67 +105880,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *173 - - *735 + - *736 - allOf: - *174 - - *735 + - *736 - allOf: - *175 - - *735 + - *736 - allOf: + - *737 - *736 - - *735 - allOf: - *176 - - *735 + - *736 - allOf: - *177 - - *735 + - *736 - allOf: - *178 - - *735 + - *736 - allOf: - *179 - - *735 + - *736 - allOf: - *180 - - *735 + - *736 - allOf: - *181 - - *735 + - *736 - allOf: - *182 - - *735 + - *736 - allOf: - *183 - - *735 + - *736 - allOf: - *184 - - *735 + - *736 - allOf: - *185 - - *735 + - *736 - allOf: - *186 - - *735 + - *736 - allOf: - *187 - - *735 + - *736 - allOf: - *188 - - *735 + - *736 - allOf: - *189 - - *735 + - *736 - allOf: - *190 - - *735 + - *736 - allOf: - *191 - - *735 + - *736 - allOf: - *192 - - *735 + - *736 examples: default: value: @@ -105676,8 +105979,8 @@ paths: category: repos subcategory: rules parameters: - - *473 - *474 + - *475 - *17 - *19 - name: includes_parents @@ -105688,7 +105991,7 @@ paths: schema: type: boolean default: true - - *737 + - *738 responses: '200': description: Response @@ -105743,8 +106046,8 @@ paths: category: repos subcategory: rules parameters: - - *473 - *474 + - *475 requestBody: description: Request body required: true @@ -105773,7 +106076,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *738 + items: *739 required: - name - enforcement @@ -105806,7 +106109,7 @@ paths: application/json: schema: *193 examples: - default: &747 + default: &748 value: id: 42 name: super cool ruleset @@ -105854,12 +106157,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *473 - *474 - - *739 - - *107 + - *475 - *740 + - *107 - *741 + - *742 - *17 - *19 responses: @@ -105867,9 +106170,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *743 examples: - default: *743 + default: *744 '404': *6 '500': *40 x-github: @@ -105890,17 +106193,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *473 - *474 - - *744 + - *475 + - *745 responses: '200': description: Response content: application/json: - schema: *745 + schema: *746 examples: - default: *746 + default: *747 '404': *6 '500': *40 x-github: @@ -105928,8 +106231,8 @@ paths: category: repos subcategory: rules parameters: - - *473 - *474 + - *475 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105951,7 +106254,7 @@ paths: application/json: schema: *193 examples: - default: *747 + default: *748 '404': *6 '500': *40 put: @@ -105969,8 +106272,8 @@ paths: category: repos subcategory: rules parameters: - - *473 - *474 + - *475 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106004,7 +106307,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *738 + items: *739 examples: default: value: @@ -106034,7 +106337,7 @@ paths: application/json: schema: *193 examples: - default: *747 + default: *748 '404': *6 '422': *15 '500': *40 @@ -106053,8 +106356,8 @@ paths: category: repos subcategory: rules parameters: - - *473 - *474 + - *475 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106077,8 +106380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *473 - *474 + - *475 - *17 - *19 - name: ruleset_id @@ -106096,7 +106399,7 @@ paths: type: array items: *197 examples: - default: *441 + default: *442 '404': *6 '500': *40 x-github: @@ -106115,8 +106418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *473 - *474 + - *475 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106134,7 +106437,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -106189,22 +106492,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: - - *473 - *474 - - *443 + - *475 - *444 - *445 - *446 - *447 + - *448 - *112 - *19 - *17 - - *748 - *749 - - *448 + - *750 - *449 - *450 - *451 + - *452 responses: '200': description: Response @@ -106212,7 +106515,7 @@ paths: application/json: schema: type: array - items: &753 + items: &754 type: object properties: number: *130 @@ -106231,8 +106534,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *750 - resolution: *751 + state: *751 + resolution: *752 resolved_at: type: string format: date-time @@ -106328,7 +106631,7 @@ paths: pull request. ' - oneOf: *752 + oneOf: *753 nullable: true has_more_locations: type: boolean @@ -106477,16 +106780,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: - - *473 - *474 - - *554 - - *451 + - *475 + - *555 + - *452 responses: '200': description: Response content: application/json: - schema: *753 + schema: *754 examples: default: value: @@ -106540,9 +106843,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: - - *473 - *474 - - *554 + - *475 + - *555 requestBody: required: true content: @@ -106550,8 +106853,8 @@ paths: schema: type: object properties: - state: *750 - resolution: *751 + state: *751 + resolution: *752 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106585,7 +106888,7 @@ paths: description: Response content: application/json: - schema: *753 + schema: *754 examples: default: value: @@ -106680,9 +106983,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: - - *473 - *474 - - *554 + - *475 + - *555 - *19 - *17 responses: @@ -106719,7 +107022,6 @@ paths: example: commit details: oneOf: - - *754 - *755 - *756 - *757 @@ -106732,6 +107034,7 @@ paths: - *764 - *765 - *766 + - *767 examples: default: value: @@ -106817,8 +107120,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -106826,14 +107129,14 @@ paths: schema: type: object properties: - reason: &768 + reason: &769 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *767 + placeholder_id: *768 required: - reason - placeholder_id @@ -106850,7 +107153,7 @@ paths: schema: type: object properties: - reason: *768 + reason: *769 expire_at: type: string format: date-time @@ -106896,8 +107199,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: - - *473 - *474 + - *475 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106912,7 +107215,7 @@ paths: properties: incremental_scans: type: array - items: &769 + items: &770 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106938,15 +107241,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *769 + items: *770 backfill_scans: type: array - items: *769 + items: *770 custom_pattern_backfill_scans: type: array items: allOf: - - *769 + - *770 - type: object properties: pattern_name: @@ -107016,8 +107319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *473 - *474 + - *475 - *112 - name: sort description: The property to sort the results by. @@ -107061,9 +107364,9 @@ paths: application/json: schema: type: array - items: *770 + items: *771 examples: - default: *771 + default: *772 '400': *14 '404': *6 x-github: @@ -107086,8 +107389,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -107160,7 +107463,7 @@ paths: login: type: string description: The username of the user credited. - type: *456 + type: *457 required: - login - type @@ -107247,9 +107550,9 @@ paths: description: Response content: application/json: - schema: *770 + schema: *771 examples: - default: &773 + default: &774 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107482,8 +107785,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: - - *473 - *474 + - *475 requestBody: required: true content: @@ -107587,7 +107890,7 @@ paths: description: Response content: application/json: - schema: *770 + schema: *771 examples: default: value: @@ -107734,17 +108037,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: - - *473 - *474 - - *772 + - *475 + - *773 responses: '200': description: Response content: application/json: - schema: *770 + schema: *771 examples: - default: *773 + default: *774 '403': *29 '404': *6 x-github: @@ -107768,9 +108071,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: - - *473 - *474 - - *772 + - *475 + - *773 requestBody: required: true content: @@ -107843,7 +108146,7 @@ paths: login: type: string description: The username of the user credited. - type: *456 + type: *457 required: - login - type @@ -107929,10 +108232,10 @@ paths: description: Response content: application/json: - schema: *770 + schema: *771 examples: - default: *773 - add_credit: *773 + default: *774 + add_credit: *774 '403': *29 '404': *6 '422': @@ -107970,9 +108273,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: - - *473 - *474 - - *772 + - *475 + - *773 responses: '202': *39 '400': *14 @@ -107999,17 +108302,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: - - *473 - *474 - - *772 + - *475 + - *773 responses: '202': description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 '400': *14 '422': *15 '403': *29 @@ -108035,8 +108338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -108135,8 +108438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *473 - *474 + - *475 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -108145,7 +108448,7 @@ paths: application/json: schema: type: array - items: &774 + items: &775 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108178,8 +108481,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: - - *473 - *474 + - *475 responses: '200': description: Response @@ -108255,8 +108558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -108352,8 +108655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *473 - *474 + - *475 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108507,8 +108810,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: - - *473 - *474 + - *475 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108518,7 +108821,7 @@ paths: application/json: schema: type: array - items: *774 + items: *775 examples: default: value: @@ -108551,8 +108854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *473 - *474 + - *475 - name: sha in: path required: true @@ -108606,7 +108909,7 @@ paths: description: Response content: application/json: - schema: *775 + schema: *776 examples: default: value: @@ -108660,8 +108963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -108693,14 +108996,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *473 - *474 + - *475 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &776 + schema: &777 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108768,8 +109071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *473 - *474 + - *475 requestBody: required: false content: @@ -108795,7 +109098,7 @@ paths: description: Response content: application/json: - schema: *776 + schema: *777 examples: default: value: @@ -108822,8 +109125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -108843,8 +109146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -108923,8 +109226,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *473 - *474 + - *475 - name: ref in: path required: true @@ -108960,8 +109263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *473 - *474 + - *475 - *17 - *19 responses: @@ -108973,7 +109276,7 @@ paths: type: array items: *320 examples: - default: *400 + default: *401 headers: Link: *47 '404': *6 @@ -108993,8 +109296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *473 - *474 + - *475 - *19 - *17 responses: @@ -109002,7 +109305,7 @@ paths: description: Response content: application/json: - schema: &777 + schema: &778 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109014,7 +109317,7 @@ paths: required: - names examples: - default: &778 + default: &779 value: names: - octocat @@ -109037,8 +109340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -109069,9 +109372,9 @@ paths: description: Response content: application/json: - schema: *777 + schema: *778 examples: - default: *778 + default: *779 '404': *6 '422': *7 x-github: @@ -109092,9 +109395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *473 - *474 - - &779 + - *475 + - &780 name: per description: The time frame to display results for. in: query @@ -109123,7 +109426,7 @@ paths: example: 128 clones: type: array - items: &780 + items: &781 title: Traffic type: object properties: @@ -109210,8 +109513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -109301,8 +109604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *473 - *474 + - *475 responses: '200': description: Response @@ -109362,9 +109665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *473 - *474 - - *779 + - *475 + - *780 responses: '200': description: Response @@ -109383,7 +109686,7 @@ paths: example: 3782 views: type: array - items: *780 + items: *781 required: - uniques - count @@ -109460,8 +109763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *473 - *474 + - *475 requestBody: required: true content: @@ -109735,8 +110038,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: - - *473 - *474 + - *475 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109759,8 +110062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -109782,8 +110085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *473 - *474 + - *475 responses: '204': description: Response @@ -109809,8 +110112,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *473 - *474 + - *475 - name: ref in: path required: true @@ -109902,9 +110205,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110052,7 +110355,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - *285 - - *675 + - *676 requestBody: required: true content: @@ -110116,9 +110419,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *678 + items: *679 examples: - default: *781 + default: *782 '400': *14 '403': *29 '404': *6 @@ -110155,7 +110458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - *285 - - *675 + - *676 requestBody: required: true content: @@ -110220,9 +110523,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *678 + items: *679 examples: - default: *781 + default: *782 '400': *14 '403': *29 '404': *6 @@ -110254,8 +110557,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - *285 - - *675 - - *384 + - *676 + - *385 responses: '204': description: Issue field value deleted successfully @@ -110297,7 +110600,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &789 + - &790 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -110306,7 +110609,7 @@ paths: schema: type: string example: members - - &794 + - &795 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -110317,7 +110620,7 @@ paths: default: 1 format: int32 example: 1 - - &795 + - &796 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -110359,7 +110662,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &784 + items: &785 allOf: - type: object required: @@ -110434,7 +110737,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: &796 + meta: &797 type: object description: The metadata associated with the creation/updates to the user. @@ -110494,30 +110797,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &785 + '400': &786 description: Bad request content: application/json: - schema: *782 + schema: *783 application/scim+json: - schema: *782 - '401': *783 - '403': &786 + schema: *783 + '401': *784 + '403': &787 description: Permission denied - '429': &787 + '429': &788 description: Too many requests content: application/json: - schema: *782 + schema: *783 application/scim+json: - schema: *782 - '500': &788 + schema: *783 + '500': &789 description: Internal server error content: application/json: - schema: *782 + schema: *783 application/scim+json: - schema: *782 + schema: *783 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110541,7 +110844,7 @@ paths: required: true content: application/json: - schema: &792 + schema: &793 type: object required: - schemas @@ -110601,9 +110904,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *784 + schema: *785 examples: - group: &790 + group: &791 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -110622,13 +110925,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': *785 - '401': *783 - '403': *786 - '409': &793 + '400': *786 + '401': *784 + '403': *787 + '409': &794 description: Duplicate record detected - '429': *787 - '500': *788 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110645,7 +110948,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: - - &791 + - &792 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -110653,22 +110956,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *789 + - *790 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *790 - '400': *785 - '401': *783 - '403': *786 + default: *791 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '429': *787 - '500': *788 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110687,13 +110990,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: - - *791 + - *792 - *41 requestBody: required: true content: application/json: - schema: *792 + schema: *793 examples: group: summary: Group @@ -110719,17 +111022,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *784 + schema: *785 examples: - group: *790 - groupWithMembers: *790 - '400': *785 - '401': *783 - '403': *786 + group: *791 + groupWithMembers: *791 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '409': *793 - '429': *787 - '500': *788 + '409': *794 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110753,13 +111056,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: - - *791 + - *792 - *41 requestBody: required: true content: application/json: - schema: &803 + schema: &804 type: object required: - Operations @@ -110819,17 +111122,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *784 + schema: *785 examples: - updateGroup: *790 - addMembers: *790 - '400': *785 - '401': *783 - '403': *786 + updateGroup: *791 + addMembers: *791 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '409': *793 - '429': *787 - '500': *788 + '409': *794 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110845,17 +111148,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: - - *791 + - *792 - *41 responses: '204': description: Group was deleted, no content - '400': *785 - '401': *783 - '403': *786 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '429': *787 - '500': *788 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110889,8 +111192,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *794 - *795 + - *796 - *41 responses: '200': @@ -110923,7 +111226,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &798 + items: &799 allOf: - type: object required: @@ -111002,7 +111305,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &797 + roles: &798 type: array description: The roles assigned to the user. items: @@ -111058,7 +111361,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *796 + meta: *797 startIndex: type: integer description: A starting index for the returned page @@ -111095,11 +111398,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *785 - '401': *783 - '403': *786 - '429': *787 - '500': *788 + '400': *786 + '401': *784 + '403': *787 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111123,7 +111426,7 @@ paths: required: true content: application/json: - schema: &801 + schema: &802 type: object required: - schemas @@ -111205,9 +111508,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *797 + roles: *798 examples: - user: &802 + user: &803 summary: User value: schemas: @@ -111254,9 +111557,9 @@ paths: description: User has been created content: application/scim+json: - schema: *798 + schema: *799 examples: - user: &799 + user: &800 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111282,13 +111585,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: *799 - '400': *785 - '401': *783 - '403': *786 - '409': *793 - '429': *787 - '500': *788 + enterpriseOwner: *800 + '400': *786 + '401': *784 + '403': *787 + '409': *794 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111305,7 +111608,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: - - &800 + - &801 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -111318,15 +111621,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *798 + schema: *799 examples: - default: *799 - '400': *785 - '401': *783 - '403': *786 + default: *800 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '429': *787 - '500': *788 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111377,30 +111680,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: - - *800 + - *801 - *41 requestBody: required: true content: application/json: - schema: *801 + schema: *802 examples: - user: *802 + user: *803 responses: '200': description: User was updated content: application/scim+json: - schema: *798 + schema: *799 examples: - user: *799 - '400': *785 - '401': *783 - '403': *786 + user: *800 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '409': *793 - '429': *787 - '500': *788 + '409': *794 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111441,13 +111744,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: - - *800 + - *801 - *41 requestBody: required: true content: application/json: - schema: *803 + schema: *804 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -111487,18 +111790,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *798 + schema: *799 examples: - userMultiValuedProperties: *799 - userSingleValuedProperties: *799 - disableUser: *799 - '400': *785 - '401': *783 - '403': *786 + userMultiValuedProperties: *800 + userSingleValuedProperties: *800 + disableUser: *800 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '409': *793 - '429': *787 - '500': *788 + '409': *794 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111518,17 +111821,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: - - *800 + - *801 - *41 responses: '204': description: User was deleted, no content - '400': *785 - '401': *783 - '403': *786 + '400': *786 + '401': *784 + '403': *787 '404': *6 - '429': *787 - '500': *788 + '429': *788 + '500': *789 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111615,7 +111918,7 @@ paths: example: 1 Resources: type: array - items: &804 + items: &805 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111846,22 +112149,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': *37 - '404': &805 + '404': &806 description: Resource not found content: application/json: - schema: *782 + schema: *783 application/scim+json: - schema: *782 - '403': &806 + schema: *783 + '403': &807 description: Forbidden content: application/json: - schema: *782 + schema: *783 application/scim+json: - schema: *782 - '400': *785 - '429': *787 + schema: *783 + '400': *786 + '429': *788 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111887,9 +112190,9 @@ paths: description: Response content: application/scim+json: - schema: *804 + schema: *805 examples: - default: &807 + default: &808 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111912,17 +112215,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': *37 - '404': *805 - '403': *806 - '500': *788 + '404': *806 + '403': *807 + '500': *789 '409': description: Conflict content: application/json: - schema: *782 + schema: *783 application/scim+json: - schema: *782 - '400': *785 + schema: *783 + '400': *786 requestBody: required: true content: @@ -112020,17 +112323,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *89 - - *800 + - *801 responses: '200': description: Response content: application/scim+json: - schema: *804 + schema: *805 examples: - default: *807 - '404': *805 - '403': *806 + default: *808 + '404': *806 + '403': *807 '304': *37 x-github: githubCloudOnly: true @@ -112054,18 +112357,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *89 - - *800 + - *801 responses: '200': description: Response content: application/scim+json: - schema: *804 + schema: *805 examples: - default: *807 + default: *808 '304': *37 - '404': *805 - '403': *806 + '404': *806 + '403': *807 requestBody: required: true content: @@ -112178,19 +112481,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *89 - - *800 + - *801 responses: '200': description: Response content: application/scim+json: - schema: *804 + schema: *805 examples: - default: *807 + default: *808 '304': *37 - '404': *805 - '403': *806 - '400': *785 + '404': *806 + '403': *807 + '400': *786 '429': description: Response content: @@ -112281,12 +112584,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *89 - - *800 + - *801 responses: '204': description: Response - '404': *805 - '403': *806 + '404': *806 + '403': *807 '304': *37 x-github: githubCloudOnly: true @@ -112419,7 +112722,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &808 + text_matches: &809 title: Search Result Text Matches type: array items: @@ -112582,7 +112885,7 @@ paths: enum: - author-date - committer-date - - &809 + - &810 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 @@ -112653,7 +112956,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *524 + properties: *525 nullable: true comment_count: type: integer @@ -112673,7 +112976,7 @@ paths: url: type: string format: uri - verification: *652 + verification: *653 required: - author - committer @@ -112692,7 +112995,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *524 + properties: *525 nullable: true parents: type: array @@ -112710,7 +113013,7 @@ paths: type: number node_id: type: string - text_matches: *808 + text_matches: *809 required: - sha - node_id @@ -112903,7 +113206,7 @@ paths: - interactions - created - updated - - *809 + - *810 - *17 - *19 - name: advanced_search @@ -113000,11 +113303,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: type: string state_reason: @@ -113021,8 +113324,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *420 - required: *421 + properties: *421 + required: *422 nullable: true comments: type: integer @@ -113036,7 +113339,7 @@ paths: type: string format: date-time nullable: true - text_matches: *808 + text_matches: *809 pull_request: type: object properties: @@ -113080,7 +113383,7 @@ paths: timeline_url: type: string format: uri - type: *385 + type: *386 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -113297,7 +113600,7 @@ paths: enum: - created - updated - - *809 + - *810 - *17 - *19 responses: @@ -113341,7 +113644,7 @@ paths: nullable: true score: type: number - text_matches: *808 + text_matches: *809 required: - id - node_id @@ -113427,7 +113730,7 @@ paths: - forks - help-wanted-issues - updated - - *809 + - *810 - *17 - *19 responses: @@ -113677,7 +113980,7 @@ paths: - admin - pull - push - text_matches: *808 + text_matches: *809 temp_clone_token: type: string allow_merge_commit: @@ -113978,7 +114281,7 @@ paths: type: string format: uri nullable: true - text_matches: *808 + text_matches: *809 related: type: array nullable: true @@ -114171,7 +114474,7 @@ paths: - followers - repositories - joined - - *809 + - *810 - *17 - *19 responses: @@ -114275,7 +114578,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *808 + text_matches: *809 blog: type: string nullable: true @@ -114354,7 +114657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &812 + - &813 name: team_id description: The unique identifier of the team. in: path @@ -114366,9 +114669,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -114395,7 +114698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *812 + - *813 requestBody: required: true content: @@ -114458,16 +114761,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 '201': description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 '404': *6 '422': *15 '403': *29 @@ -114495,7 +114798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *812 + - *813 responses: '204': description: Response @@ -114524,7 +114827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *812 + - *813 - *17 - *19 responses: @@ -114534,9 +114837,9 @@ paths: application/json: schema: type: array - items: *379 + items: *380 examples: - default: *380 + default: *381 headers: Link: *47 x-github: @@ -114562,7 +114865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *812 + - *813 - name: role description: Filters members returned by their role in the team. in: query @@ -114613,7 +114916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *812 + - *813 - *145 responses: '204': @@ -114650,7 +114953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *812 + - *813 - *145 responses: '204': @@ -114690,7 +114993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *812 + - *813 - *145 responses: '204': @@ -114727,16 +115030,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: - - *812 + - *813 - *145 responses: '200': description: Response content: application/json: - schema: *472 + schema: *473 examples: - response-if-user-is-a-team-maintainer: *813 + response-if-user-is-a-team-maintainer: *814 '404': *6 x-github: githubCloudOnly: false @@ -114769,7 +115072,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: - - *812 + - *813 - *145 requestBody: required: false @@ -114795,9 +115098,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - response-if-users-membership-with-team-is-now-pending: *814 + response-if-users-membership-with-team-is-now-pending: *815 '403': description: Forbidden if team synchronization is set up '422': @@ -114831,7 +115134,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: - - *812 + - *813 - *145 responses: '204': @@ -114859,7 +115162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *812 + - *813 - *17 - *19 responses: @@ -114871,7 +115174,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 '404': *6 @@ -114901,15 +115204,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: - - *812 - - *473 + - *813 - *474 + - *475 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *815 + schema: *816 examples: alternative-response-with-extra-repository-information: value: @@ -115060,9 +115363,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: - - *812 - - *473 + - *813 - *474 + - *475 requestBody: required: false content: @@ -115112,9 +115415,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: - - *812 - - *473 + - *813 - *474 + - *475 responses: '204': description: Response @@ -115143,15 +115446,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: - - *812 + - *813 responses: '200': description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 '403': *29 '404': *6 x-github: @@ -115178,7 +115481,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: - - *812 + - *813 requestBody: required: true content: @@ -115235,7 +115538,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -115266,7 +115569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *812 + - *813 - *17 - *19 responses: @@ -115278,7 +115581,7 @@ paths: type: array items: *320 examples: - response-if-child-teams-exist: *816 + response-if-child-teams-exist: *817 headers: Link: *47 '404': *6 @@ -115311,7 +115614,7 @@ paths: application/json: schema: oneOf: - - &818 + - &819 title: Private User description: Private User type: object @@ -115514,7 +115817,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *817 + - *818 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115667,7 +115970,7 @@ paths: description: Response content: application/json: - schema: *818 + schema: *819 examples: default: value: @@ -115870,9 +116173,9 @@ paths: type: integer codespaces: type: array - items: *390 + items: *391 examples: - default: *391 + default: *392 '304': *37 '500': *40 '401': *25 @@ -116011,17 +116314,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '401': *25 '403': *29 '404': *6 @@ -116065,7 +116368,7 @@ paths: type: integer secrets: type: array - items: &819 + items: &820 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116105,7 +116408,7 @@ paths: - visibility - selected_repositories_url examples: - default: *580 + default: *581 headers: Link: *47 x-github: @@ -116181,7 +116484,7 @@ paths: description: Response content: application/json: - schema: *819 + schema: *820 examples: default: value: @@ -116327,7 +116630,7 @@ paths: type: array items: *291 examples: - default: *820 + default: *335 '401': *25 '403': *29 '404': *6 @@ -116471,15 +116774,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: - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '304': *37 '500': *40 '401': *25 @@ -116505,7 +116808,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: - - *392 + - *393 requestBody: required: false content: @@ -116535,9 +116838,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '401': *25 '403': *29 '404': *6 @@ -116559,7 +116862,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: - - *392 + - *393 responses: '202': *39 '304': *37 @@ -116588,7 +116891,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: - - *392 + - *393 responses: '202': description: Response @@ -116667,7 +116970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *392 + - *393 - name: export_id in: path required: true @@ -116703,7 +117006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *392 + - *393 responses: '200': description: Response @@ -116750,7 +117053,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: - - *392 + - *393 requestBody: required: true content: @@ -116800,13 +117103,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *478 + repository: *479 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *578 - required: *579 + properties: *579 + required: *580 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -117580,15 +117883,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: - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '304': *37 '500': *40 '400': *14 @@ -117620,15 +117923,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: - - *392 + - *393 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *577 + default: *578 '500': *40 '401': *25 '403': *29 @@ -117658,7 +117961,7 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: default: &835 value: @@ -118749,12 +119052,12 @@ paths: application/json: schema: anyOf: - - *377 + - *378 - type: object properties: {} additionalProperties: false examples: - default: *378 + default: *379 '204': description: Response when there are no restrictions x-github: @@ -118778,7 +119081,7 @@ paths: required: true content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -118789,7 +119092,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -118870,7 +119173,7 @@ paths: - closed - all default: open - - *388 + - *389 - name: sort description: What to sort results by. in: query @@ -118895,7 +119198,7 @@ paths: type: array items: *227 examples: - default: *389 + default: *390 headers: Link: *47 '404': *6 @@ -119064,7 +119367,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: - - *697 + - *698 responses: '200': description: Response @@ -119095,7 +119398,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: - - *697 + - *698 responses: '204': description: Response @@ -119300,7 +119603,7 @@ paths: application/json: schema: type: array - items: *393 + items: *394 examples: default: value: @@ -119414,7 +119717,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -119501,7 +119804,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -119573,7 +119876,7 @@ paths: application/json: schema: type: array - items: *395 + items: *396 examples: default: value: @@ -119826,7 +120129,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -120006,7 +120309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *396 + - *397 - name: exclude in: query required: false @@ -120019,7 +120322,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -120213,7 +120516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *396 + - *397 responses: '302': description: Response @@ -120239,7 +120542,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *396 + - *397 responses: '204': description: Response @@ -120268,7 +120571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *396 + - *397 - *833 responses: '204': @@ -120293,7 +120596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *396 + - *397 - *17 - *19 responses: @@ -120305,7 +120608,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 '404': *6 @@ -120412,7 +120715,7 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: default: *835 '400': *836 @@ -120435,14 +120738,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: - - *403 - *404 + - *405 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: default: &854 value: @@ -120557,8 +120860,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: - - *403 - *404 + - *405 responses: '204': description: Response @@ -120588,8 +120891,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: - - *403 - *404 + - *405 - name: token description: package token schema: @@ -120621,8 +120924,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: - - *403 - *404 + - *405 - *19 - *17 - name: state @@ -120642,7 +120945,7 @@ paths: application/json: schema: type: array - items: *405 + items: *406 examples: default: value: @@ -120691,15 +120994,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: - - *403 - *404 - - *406 + - *405 + - *407 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -120735,9 +121038,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: - - *403 - *404 - - *406 + - *405 + - *407 responses: '204': description: Response @@ -120767,9 +121070,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: - - *403 - *404 - - *406 + - *405 + - *407 responses: '204': description: Response @@ -121225,9 +121528,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121271,7 +121574,7 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: default: *838 headers: @@ -121296,7 +121599,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *381 + - *382 responses: '204': description: Response @@ -121325,7 +121628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *381 + - *382 responses: '204': description: Response @@ -121891,8 +122194,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: - - *473 - *474 + - *475 responses: '204': description: Response if this repository is starred by you @@ -121920,8 +122223,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: - - *473 - *474 + - *475 responses: '204': description: Response @@ -121945,8 +122248,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: - - *473 - *474 + - *475 responses: '204': description: Response @@ -121981,7 +122284,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 '304': *37 @@ -122018,7 +122321,7 @@ paths: application/json: schema: type: array - items: *465 + items: *466 examples: default: value: @@ -122104,8 +122407,8 @@ paths: application/json: schema: oneOf: + - *819 - *818 - - *817 examples: default-response: &848 summary: Default response @@ -122206,7 +122509,7 @@ paths: required: true schema: type: string - - *419 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -122240,9 +122543,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - draft_issue: *426 + draft_issue: *427 '304': *37 '403': *29 '401': *25 @@ -122301,7 +122604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - *846 - - *419 + - *420 requestBody: required: true content: @@ -122376,13 +122679,13 @@ paths: examples: table_view: summary: Response for creating a table view - value: *430 + value: *431 board_view: summary: Response for creating a board view with filter - value: *430 + value: *431 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *431 '304': *37 '403': *29 '401': *25 @@ -122424,8 +122727,8 @@ paths: application/json: schema: oneOf: + - *819 - *818 - - *817 examples: default-response: *848 response-with-git-hub-plan-information: *849 @@ -122752,7 +123055,7 @@ paths: initiator: type: string examples: - default: *520 + default: *521 '201': description: Response content: @@ -122805,7 +123108,7 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: default: *835 '403': *29 @@ -123297,7 +123600,7 @@ paths: application/json: schema: *22 examples: - default: *375 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123432,7 +123735,7 @@ paths: application/json: schema: type: array - items: *401 + items: *402 examples: default: *835 '403': *29 @@ -123457,15 +123760,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *403 - *404 + - *405 - *145 responses: '200': description: Response content: application/json: - schema: *401 + schema: *402 examples: default: *854 x-github: @@ -123488,8 +123791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *403 - *404 + - *405 - *145 responses: '204': @@ -123522,8 +123825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *403 - *404 + - *405 - *145 - name: token description: package token @@ -123556,8 +123859,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: - - *403 - *404 + - *405 - *145 responses: '200': @@ -123566,7 +123869,7 @@ paths: application/json: schema: type: array - items: *405 + items: *406 examples: default: value: @@ -123624,16 +123927,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: - - *403 - *404 - - *406 + - *405 + - *407 - *145 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: default: value: @@ -123668,10 +123971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *403 - *404 + - *405 - *145 - - *406 + - *407 responses: '204': description: Response @@ -123703,10 +124006,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *403 - *404 + - *405 - *145 - - *406 + - *407 responses: '204': description: Response @@ -123747,9 +124050,9 @@ paths: application/json: schema: type: array - items: *417 + items: *418 examples: - default: *418 + default: *419 headers: Link: *47 '304': *37 @@ -123771,16 +124074,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *419 + - *420 - *145 responses: '200': description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 headers: Link: *47 '304': *37 @@ -123802,7 +124105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *419 + - *420 - *145 - *17 - *110 @@ -123814,7 +124117,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: *855 headers: @@ -123838,7 +124141,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *145 - - *419 + - *420 requestBody: required: true content: @@ -123921,7 +124224,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: text_field: *860 number_field: *861 @@ -123948,7 +124251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *419 + - *420 - *865 - *145 responses: @@ -123956,7 +124259,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: *866 headers: @@ -123981,7 +124284,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: - - *419 + - *420 - *145 - *110 - *111 @@ -124014,9 +124317,9 @@ paths: application/json: schema: type: array - items: *427 + items: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -124038,7 +124341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *145 - - *419 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -124108,22 +124411,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *427 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *427 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *427 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *427 '304': *37 '403': *29 '401': *25 @@ -124143,9 +124446,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: - - *419 + - *420 - *145 - - *429 + - *430 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124165,9 +124468,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -124188,9 +124491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *419 + - *420 - *145 - - *429 + - *430 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124260,13 +124563,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *428 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *429 + number_field: *429 + date_field: *429 + single_select_field: *429 + iteration_field: *429 '401': *25 '403': *29 '404': *6 @@ -124286,9 +124589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *419 + - *420 - *145 - - *429 + - *430 responses: '204': description: Response @@ -124310,7 +124613,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: - - *419 + - *420 - *145 - *867 - name: fields @@ -124338,9 +124641,9 @@ paths: application/json: schema: type: array - items: *427 + items: *428 examples: - default: *428 + default: *429 headers: Link: *47 '304': *37 @@ -124561,7 +124864,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -124697,7 +125000,7 @@ paths: type: array items: *291 examples: - default: *407 + default: *408 headers: Link: *47 x-github: @@ -131042,7 +131345,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -131365,7 +131668,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -131695,7 +131998,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132037,7 +132340,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -132307,7 +132610,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132588,7 +132891,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132899,7 +133202,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *550 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -133994,7 +134297,7 @@ x-webhooks: type: string enum: - assignees_changed - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134078,7 +134381,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134163,7 +134466,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134248,7 +134551,7 @@ x-webhooks: type: string enum: - created - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134331,7 +134634,7 @@ x-webhooks: type: string enum: - dismissed - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134414,7 +134717,7 @@ x-webhooks: type: string enum: - fixed - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134498,7 +134801,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -134581,7 +134884,7 @@ x-webhooks: type: string enum: - reopened - alert: *611 + alert: *612 installation: *872 organization: *873 enterprise: *871 @@ -136089,7 +136392,7 @@ x-webhooks: nullable: true pull_requests: type: array - items: *718 + items: *719 repository: *874 organization: *873 installation: *872 @@ -145142,8 +145445,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *693 - required: *694 + properties: *694 + required: *695 nullable: true user: title: User @@ -146018,8 +146321,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146035,7 +146338,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -146606,8 +146909,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *693 - required: *694 + properties: *694 + required: *695 nullable: true required: - url @@ -147408,8 +147711,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147425,7 +147728,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -148643,8 +148946,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148660,7 +148963,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -149867,8 +150170,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149884,7 +150187,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -151092,8 +151395,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151109,7 +151412,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -152683,11 +152986,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152703,7 +153006,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -153683,11 +153986,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153703,7 +154006,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -154808,11 +155111,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154828,7 +155131,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -155819,11 +156122,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155839,7 +156142,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -156949,11 +157252,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156966,7 +157269,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *385 + type: *386 title: description: Title of the issue type: string @@ -157944,11 +158247,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157961,7 +158264,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *385 + type: *386 title: description: Title of the issue type: string @@ -158963,11 +159266,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158980,7 +159283,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *385 + type: *386 title: description: Title of the issue type: string @@ -159951,11 +160254,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159971,7 +160274,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -160914,11 +161217,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161019,7 +161322,7 @@ x-webhooks: required: - login - id - type: *385 + type: *386 required: - id - number @@ -162288,11 +162591,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162308,7 +162611,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -163285,11 +163588,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163305,7 +163608,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -164299,11 +164602,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164397,7 +164700,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *385 + type: *386 organization: *873 repository: *874 sender: *4 @@ -165268,11 +165571,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165288,7 +165591,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -165958,7 +166261,7 @@ x-webhooks: enterprise: *871 installation: *872 issue: *907 - type: *385 + type: *386 organization: *873 repository: *874 sender: *4 @@ -167093,11 +167396,11 @@ x-webhooks: properties: *228 required: *229 nullable: true - sub_issues_summary: *810 - issue_dependencies_summary: *811 + sub_issues_summary: *811 + issue_dependencies_summary: *812 issue_field_values: type: array - items: *678 + items: *679 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167113,7 +167416,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *385 + type: *386 updated_at: type: string format: date-time @@ -167358,7 +167661,7 @@ x-webhooks: enterprise: *871 installation: *872 issue: *907 - type: *385 + type: *386 organization: *873 repository: *874 sender: *4 @@ -175381,7 +175684,7 @@ x-webhooks: - closed installation: *872 organization: *873 - projects_v2: *417 + projects_v2: *418 sender: *4 required: - action @@ -175464,7 +175767,7 @@ x-webhooks: - created installation: *872 organization: *873 - projects_v2: *417 + projects_v2: *418 sender: *4 required: - action @@ -175547,7 +175850,7 @@ x-webhooks: - deleted installation: *872 organization: *873 - projects_v2: *417 + projects_v2: *418 sender: *4 required: - action @@ -175666,7 +175969,7 @@ x-webhooks: type: string installation: *872 organization: *873 - projects_v2: *417 + projects_v2: *418 sender: *4 required: - action @@ -175783,7 +176086,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *424 + content_type: *425 creator: *4 created_at: type: string @@ -176517,7 +176820,7 @@ x-webhooks: - reopened installation: *872 organization: *873 - projects_v2: *417 + projects_v2: *418 sender: *4 required: - action @@ -184217,7 +184520,7 @@ x-webhooks: organization: *873 pull_request: &932 allOf: - - *718 + - *719 - type: object properties: allow_auto_merge: @@ -184446,7 +184749,7 @@ x-webhooks: enum: - demilestoned enterprise: *871 - milestone: *700 + milestone: *701 number: *931 organization: *873 pull_request: &933 @@ -196606,7 +196909,7 @@ x-webhooks: enum: - milestoned enterprise: *871 - milestone: *700 + milestone: *701 number: *931 organization: *873 pull_request: *933 @@ -239292,7 +239595,7 @@ x-webhooks: installation: *872 organization: *873 repository: *874 - repository_advisory: *770 + repository_advisory: *771 sender: *4 required: - action @@ -239372,7 +239675,7 @@ x-webhooks: installation: *872 organization: *873 repository: *874 - repository_advisory: *770 + repository_advisory: *771 sender: *4 required: - action @@ -240459,16 +240762,16 @@ x-webhooks: properties: added: type: array - items: *738 + items: *739 deleted: type: array - items: *738 + items: *739 updated: type: array items: type: object properties: - rule: *738 + rule: *739 changes: type: object properties: @@ -243104,11 +243407,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *435 + security_and_analysis: *436 enterprise: *871 installation: *872 organization: *873 - repository: *478 + repository: *479 sender: *4 required: - changes @@ -248331,7 +248634,7 @@ x-webhooks: type: string required: - conclusion - deployment: *617 + deployment: *618 required: - action - repository @@ -248673,7 +248976,7 @@ x-webhooks: required: - status - steps - deployment: *617 + deployment: *618 required: - action - repository @@ -248890,7 +249193,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *617 + deployment: *618 required: - action - repository @@ -249108,7 +249411,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *617 + deployment: *618 required: - action - repository diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index b2ea36ef9..c1e698d13 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -29599,6 +29599,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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", @@ -121353,6 +121769,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 40327f150..c3e724708 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -21454,6 +21454,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -87572,6 +87900,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/ghec/ghec.2026-03-10.json b/descriptions/ghec/ghec.2026-03-10.json index 0a620ed09..e18822a6a 100644 --- a/descriptions/ghec/ghec.2026-03-10.json +++ b/descriptions/ghec/ghec.2026-03-10.json @@ -29541,6 +29541,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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" + {"code":"deadline_exceeded","msg":"operation timed out"}