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 1d92435364..e479d1aadd 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 @@ -16368,7 +16368,10 @@ "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" }, { - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, { "$ref": "#/components/parameters/dependabot-alert-scope" @@ -25710,6 +25713,303 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/immutable-releases-organization-settings" + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -48970,6 +49270,125 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/check-immutable-releases" + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Disable immutable releases", + "description": "Disables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/disable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#disable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", @@ -117945,6 +118364,30 @@ "estimated_storage_for_month" ] }, + "immutable-releases-organization-settings": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, "network-configuration": { "title": "Hosted compute network configuration", "description": "A hosted compute network configuration.", @@ -127173,6 +127616,27 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -308135,6 +308599,36 @@ "type": "string" } }, + "dependabot-alert-org-scope-comma-separated-has": { + "name": "has", + "in": "query", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "patch", + "deployment" + ] + } + } + ] + } + }, + "dependabot-alert-comma-separated-runtime-risk": { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, "hook-id": { "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.", 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 9ef7019725..6a80d97412 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 @@ -11926,7 +11926,8 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -18550,6 +18551,230 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + "$ref": "#/components/schemas/immutable-releases-organization-settings" + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -35704,6 +35929,86 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + "$ref": "#/components/schemas/check-immutable-releases" + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -86483,6 +86788,27 @@ components: - days_left_in_billing_cycle - estimated_paid_storage_for_month - estimated_storage_for_month + immutable-releases-organization-settings: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are enforced + in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` is set + to `selected`. + required: + - enforced_repositories network-configuration: title: Hosted compute network configuration description: A hosted compute network configuration. @@ -93676,6 +94002,22 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository owner. + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -233946,6 +234288,30 @@ components: Can be: `jfrog-artifactory` schema: type: string + dependabot-alert-org-scope-comma-separated-has: + name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + dependabot-alert-comma-separated-runtime-risk: + name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string hook-id: name: hook_id description: The unique identifier of the hook. You can find this value in the diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 1d92435364..e479d1aadd 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -16368,7 +16368,10 @@ "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" }, { - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, { "$ref": "#/components/parameters/dependabot-alert-scope" @@ -25710,6 +25713,303 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/immutable-releases-organization-settings" + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -48970,6 +49270,125 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/check-immutable-releases" + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Disable immutable releases", + "description": "Disables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/disable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#disable-immutable-releases" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "409": { + "$ref": "#/components/responses/conflict" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", @@ -117945,6 +118364,30 @@ "estimated_storage_for_month" ] }, + "immutable-releases-organization-settings": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, "network-configuration": { "title": "Hosted compute network configuration", "description": "A hosted compute network configuration.", @@ -127173,6 +127616,27 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -308135,6 +308599,36 @@ "type": "string" } }, + "dependabot-alert-org-scope-comma-separated-has": { + "name": "has", + "in": "query", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "patch", + "deployment" + ] + } + } + ] + } + }, + "dependabot-alert-comma-separated-runtime-risk": { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, "hook-id": { "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.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 9ef7019725..6a80d97412 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -11926,7 +11926,8 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -18550,6 +18551,230 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + "$ref": "#/components/schemas/immutable-releases-organization-settings" + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -35704,6 +35929,86 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + "$ref": "#/components/schemas/check-immutable-releases" + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '204': + "$ref": "#/components/responses/no_content" + '409': + "$ref": "#/components/responses/conflict" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -86483,6 +86788,27 @@ components: - days_left_in_billing_cycle - estimated_paid_storage_for_month - estimated_storage_for_month + immutable-releases-organization-settings: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are enforced + in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` is set + to `selected`. + required: + - enforced_repositories network-configuration: title: Hosted compute network configuration description: A hosted compute network configuration. @@ -93676,6 +94002,22 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository owner. + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -233946,6 +234288,30 @@ components: Can be: `jfrog-artifactory` schema: type: string + dependabot-alert-org-scope-comma-separated-has: + name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + dependabot-alert-comma-separated-runtime-risk: + name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string hook-id: name: hook_id description: The unique identifier of the hook. You can find this value in the 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 29a86167aa..99de5003e8 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 @@ -88543,7 +88543,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -88554,13 +88554,22 @@ "items": { "type": "string", "enum": [ - "patch" + "patch", + "deployment" ] } } ] } }, + { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -164540,6 +164549,1134 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-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": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } + }, + { + "name": "per_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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "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" + }, + "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" + }, + "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" + ] + } + } + } + } + }, + "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" + ] + } + } + } + }, + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "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": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-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": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-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": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -313625,6 +314762,225 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "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": "repos", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Disable immutable releases", + "description": "Disables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/disable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#disable-immutable-releases" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "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": "repos", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", 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 de08744190..fe7a0c534c 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: &306 + type: &305 type: string description: The type of credit the user is receiving. enum: @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &186 + - &185 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: &187 + items: &186 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: &188 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &190 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2845,7 +2845,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &262 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -3283,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &263 + required: &262 - archive_url - assignees_url - blobs_url @@ -8588,7 +8588,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 - - &173 + - &478 name: has in: query description: |- @@ -8602,7 +8602,7 @@ paths: type: string enum: - patch - - &174 + - &173 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8612,7 +8612,7 @@ paths: enum: - development - runtime - - &175 + - &174 name: sort in: query description: |- @@ -8630,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &176 + - &175 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8643,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &177 + - &176 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8663,7 +8663,7 @@ paths: application/json: schema: type: array - items: &178 + items: &177 type: object description: A Dependabot alert. properties: @@ -9017,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &179 + default: &178 value: - number: 2 state: dismissed @@ -9364,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &294 + - &293 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9375,7 +9375,7 @@ paths: enum: - open - resolved - - &295 + - &294 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &296 + - &295 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9394,7 +9394,7 @@ paths: required: false schema: type: string - - &297 + - &296 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. @@ -9410,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &298 + - &297 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9419,7 +9419,7 @@ paths: required: false schema: type: string - - &299 + - &298 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9428,7 +9428,7 @@ paths: schema: type: boolean default: false - - &300 + - &299 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9437,7 +9437,7 @@ paths: schema: type: boolean default: false - - &301 + - &300 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9453,7 +9453,7 @@ paths: application/json: schema: type: array - items: &302 + items: &301 type: object properties: number: *54 @@ -9854,7 +9854,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &303 + default: &302 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10771,7 +10771,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &249 + properties: &248 url: type: string format: uri @@ -10841,7 +10841,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &250 + required: &249 - closed_issues - creator - description @@ -10920,7 +10920,7 @@ paths: timeline_url: type: string format: uri - type: &208 + type: &207 title: Issue Type description: The type of issue. type: object @@ -13588,7 +13588,7 @@ paths: - closed - all default: open - - &211 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13639,7 +13639,7 @@ paths: type: array items: *84 examples: - default: &212 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15024,14 +15024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &329 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &330 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15102,7 +15102,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &338 + '301': &337 description: Moved permanently content: application/json: @@ -15178,7 +15178,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &181 + properties: &180 id: type: integer format: int64 @@ -15454,7 +15454,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &264 + security_and_analysis: &263 nullable: true type: object properties: @@ -15528,7 +15528,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &182 + required: &181 - archive_url - assignees_url - blobs_url @@ -16158,7 +16158,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17591,7 +17591,7 @@ paths: type: integer repository_cache_usages: type: array - items: &343 + items: &342 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18458,7 +18458,7 @@ paths: - all - local_only - selected - selected_actions_url: &349 + selected_actions_url: &348 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` @@ -18541,7 +18541,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &352 type: object properties: days: @@ -18583,7 +18583,7 @@ paths: required: true content: application/json: - schema: &354 + schema: &353 type: object properties: days: @@ -18640,7 +18640,7 @@ paths: required: - approval_policy examples: - default: &355 + default: &354 value: approval_policy: first_time_contributors '404': *6 @@ -18699,7 +18699,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &355 type: object required: - run_workflows_from_fork_pull_requests @@ -18753,7 +18753,7 @@ paths: required: true content: application/json: - schema: &357 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -19388,7 +19388,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &357 type: object properties: default_workflow_permissions: &128 @@ -19439,7 +19439,7 @@ paths: required: false content: application/json: - schema: &359 + schema: &358 type: object properties: default_workflow_permissions: *128 @@ -20570,7 +20570,7 @@ paths: application/json: schema: type: array - items: &360 + items: &359 title: Runner Application description: Runner Application type: object @@ -20595,7 +20595,7 @@ paths: - download_url - filename examples: - default: &361 + default: &360 value: - os: osx architecture: x64 @@ -20681,7 +20681,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &362 + '201': &361 description: Response content: application/json: @@ -20792,7 +20792,7 @@ paths: - token - expires_at examples: - default: &363 + default: &362 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20831,7 +20831,7 @@ paths: application/json: schema: *139 examples: - default: &364 + default: &363 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20865,7 +20865,7 @@ paths: application/json: schema: *137 examples: - default: &365 + default: &364 value: id: 23 name: MBP @@ -21091,7 +21091,7 @@ paths: - *103 - *136 responses: - '200': &366 + '200': &365 description: Response content: application/json: @@ -21148,7 +21148,7 @@ paths: parameters: - *103 - *136 - - &367 + - &366 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21278,7 +21278,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &378 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21307,7 +21307,7 @@ paths: - key_id - key examples: - default: &380 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21720,7 +21720,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *103 - - &348 + - &347 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)." @@ -22798,7 +22798,7 @@ paths: initiator: type: string examples: - default: &393 + default: &392 value: attestations: - bundle: @@ -23149,7 +23149,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &224 + properties: &223 id: description: Unique identifier of the team type: integer @@ -23221,7 +23221,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &225 + required: &224 - id - node_id - url @@ -23722,7 +23722,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *103 - - &419 + - &418 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`, @@ -23732,7 +23732,7 @@ paths: schema: &154 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &419 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 @@ -23755,7 +23755,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &421 type: string description: State of a code scanning alert. enum: @@ -23778,7 +23778,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &422 type: string description: Severity of a code scanning alert. enum: @@ -23804,7 +23804,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: &424 + instances_url: &423 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -23827,7 +23827,7 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: &425 + dismissed_reason: &424 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23836,13 +23836,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &425 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &426 type: object properties: id: @@ -23895,7 +23895,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &427 type: object properties: name: *154 @@ -23905,15 +23905,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *155 - most_recent_instance: &429 + most_recent_instance: &428 type: object properties: - ref: &421 + ref: &420 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &438 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23924,7 +23924,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &439 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25218,7 +25218,7 @@ paths: type: integer codespaces: type: array - items: &213 + items: &212 type: object title: Codespace description: A codespace. @@ -25248,7 +25248,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &451 name: type: string description: The name of the machine. @@ -25290,7 +25290,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &452 - name - display_name - operating_system @@ -25495,7 +25495,7 @@ paths: - pulls_url - recent_folders examples: - default: &214 + default: &213 value: total_count: 3 codespaces: @@ -26158,7 +26158,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &453 value: total_count: 2 secrets: @@ -26196,7 +26196,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26225,7 +26225,7 @@ paths: - key_id - key examples: - default: &456 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26257,7 +26257,7 @@ paths: application/json: schema: *164 examples: - default: &458 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26724,7 +26724,7 @@ paths: currently being billed. seats: type: array - items: &216 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27255,7 +27255,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27562,7 +27562,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &311 value: - date: '2024-06-24' total_active_users: 24 @@ -27664,7 +27664,7 @@ paths: '500': *104 '403': *29 '404': *6 - '422': &313 + '422': &312 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27712,14 +27712,35 @@ paths: Can be: `jfrog-artifactory` schema: type: string + - name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + - name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string - *173 - *174 - - *175 - *48 - *40 - *41 + - *175 - *176 - - *177 - *17 responses: '200': @@ -27728,9 +27749,9 @@ paths: application/json: schema: type: array - items: *178 + items: *177 examples: - default: *179 + default: *178 '304': *37 '400': *14 '403': *29 @@ -27774,7 +27795,7 @@ paths: type: integer secrets: type: array - items: &180 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27898,7 +27919,7 @@ paths: description: Response content: application/json: - schema: *180 + schema: *179 examples: default: value: @@ -28195,7 +28216,7 @@ paths: application/json: schema: type: array - items: &227 + items: &226 title: Package description: A software package type: object @@ -28245,8 +28266,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *181 - required: *182 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -28265,7 +28286,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &227 value: - id: 197 name: hello_docker @@ -28432,7 +28453,7 @@ paths: application/json: schema: type: array - items: &205 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -28479,7 +28500,7 @@ paths: - invitation_teams_url - node_id examples: - default: &206 + default: &205 value: - id: 1 login: monalisa @@ -28546,7 +28567,7 @@ paths: application/json: schema: type: array - items: &183 + items: &182 title: Org Hook description: Org Hook type: object @@ -28717,9 +28738,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: &184 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28767,7 +28788,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *103 - - &185 + - &184 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. @@ -28780,9 +28801,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -28810,7 +28831,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -28855,7 +28876,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: default: value: @@ -28897,7 +28918,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -28925,7 +28946,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 responses: '200': description: Response @@ -28956,7 +28977,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -29007,9 +29028,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -29017,9 +29038,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -29045,16 +29066,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -29080,7 +29101,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '202': *39 @@ -29110,7 +29131,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -29133,7 +29154,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *103 - - &195 + - &194 name: actor_type in: path description: The type of the actor @@ -29146,14 +29167,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &196 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &191 + - &190 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`.' @@ -29161,7 +29182,7 @@ paths: required: true schema: type: string - - &192 + - &191 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) @@ -29255,12 +29276,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *103 + - *190 - *191 - - *192 - *19 - *17 - *48 - - &201 + - &200 name: sort description: The property to sort the results by. in: query @@ -29339,14 +29360,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *103 + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: &193 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29362,7 +29383,7 @@ paths: type: integer format: int64 examples: - default: &194 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29383,23 +29404,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *103 - - &197 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29418,18 +29439,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *103 + - *190 - *191 - - *192 + - *194 - *195 - - *196 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29447,9 +29468,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *103 + - *190 - *191 - - *192 - - &198 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29462,7 +29483,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29478,7 +29499,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29515,18 +29536,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29544,19 +29565,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *103 + - *194 - *195 - - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29574,13 +29595,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - *19 - *17 - *48 - - *201 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29827,12 +29848,12 @@ paths: application/json: schema: anyOf: - - &203 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &202 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29857,7 +29878,7 @@ paths: properties: {} additionalProperties: false examples: - default: &204 + default: &203 value: limit: collaborators_only origin: organization @@ -29892,7 +29913,7 @@ paths: duration type: object properties: - limit: *202 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29916,9 +29937,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *204 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -29994,9 +30015,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 '404': *6 @@ -30073,7 +30094,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *204 examples: default: value: @@ -30128,7 +30149,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *103 - - &207 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30159,7 +30180,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *103 - - *207 + - *206 - *17 - *19 responses: @@ -30171,7 +30192,7 @@ paths: type: array items: *167 examples: - default: &226 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30214,7 +30235,7 @@ paths: application/json: schema: type: array - items: *208 + items: *207 examples: default: value: @@ -30299,9 +30320,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: &209 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30334,7 +30355,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *103 - - &210 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30387,9 +30408,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: *209 + default: *208 '404': *6 '422': *7 x-github: @@ -30414,7 +30435,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *103 - - *210 + - *209 responses: '204': description: Response @@ -30477,7 +30498,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -30508,7 +30529,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -30667,9 +30688,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -30696,7 +30717,7 @@ paths: parameters: - *103 - *63 - - &215 + - &214 name: codespace_name in: path required: true @@ -30731,15 +30752,15 @@ paths: parameters: - *103 - *63 - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: &451 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30919,7 +30940,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *216 + schema: *215 examples: default: value: @@ -30995,7 +31016,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &217 title: Org Membership description: Org Membership type: object @@ -31039,7 +31060,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *217 + organization: *216 user: title: Simple User description: A GitHub user. @@ -31062,7 +31083,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &219 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31159,9 +31180,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *219 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -31232,7 +31253,7 @@ paths: application/json: schema: type: array - items: &220 + items: &219 title: Migration description: A migration. type: object @@ -31561,7 +31582,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31740,7 +31761,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *103 - - &221 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -31767,7 +31788,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31937,7 +31958,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '302': description: Response @@ -31959,7 +31980,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '204': description: Response @@ -31983,7 +32004,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *103 - - *221 + - *220 - &671 name: repo_name description: repo_name parameter @@ -32012,7 +32033,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *103 - - *221 + - *220 - *17 - *19 responses: @@ -32024,7 +32045,7 @@ paths: type: array items: *135 examples: - default: &233 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32177,7 +32198,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &223 + items: &222 title: Organization Role description: Organization roles type: object @@ -32352,7 +32373,7 @@ paths: parameters: - *103 - *65 - - &222 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -32389,7 +32410,7 @@ paths: parameters: - *103 - *65 - - *222 + - *221 responses: '204': description: Response @@ -32442,7 +32463,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32474,7 +32495,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32503,13 +32524,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *103 - - *222 + - *221 responses: '200': description: Response content: application/json: - schema: *223 + schema: *222 examples: default: value: @@ -32560,7 +32581,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32638,8 +32659,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -32671,7 +32692,7 @@ paths: - type - parent examples: - default: *226 + default: *225 headers: Link: *58 '404': @@ -32701,7 +32722,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32729,13 +32750,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &307 + items: &306 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 name: nullable: true type: string @@ -33059,9 +33080,9 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: - default: *228 + default: *227 '403': *29 '401': *25 '400': &675 @@ -33086,7 +33107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &229 + - &228 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 @@ -33104,7 +33125,7 @@ paths: - docker - nuget - container - - &230 + - &229 name: package_name description: The name of the package. in: path @@ -33117,7 +33138,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *226 examples: default: value: @@ -33169,8 +33190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 responses: '204': @@ -33203,8 +33224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - name: token description: package token @@ -33237,8 +33258,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: + - *228 - *229 - - *230 - *103 - *19 - *17 @@ -33259,7 +33280,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 title: Package Version description: A version of a software package type: object @@ -33384,10 +33405,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - &232 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -33399,7 +33420,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -33435,10 +33456,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33470,10 +33491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33503,7 +33524,7 @@ paths: - *103 - *17 - *19 - - &234 + - &233 name: sort description: The property by which to sort the results. in: query @@ -33514,7 +33535,7 @@ paths: - created_at default: created_at - *48 - - &235 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33525,7 +33546,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &236 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -33533,7 +33554,7 @@ paths: schema: type: string example: Hello-World - - &237 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -33541,7 +33562,7 @@ paths: schema: type: string example: issues_read - - &238 + - &237 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) @@ -33551,7 +33572,7 @@ paths: schema: type: string format: date-time - - &239 + - &238 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) @@ -33561,7 +33582,7 @@ paths: schema: type: string format: date-time - - &240 + - &239 name: token_id description: The ID of the token in: query @@ -33874,7 +33895,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -33900,14 +33921,14 @@ paths: - *103 - *17 - *19 - - *234 + - *233 - *48 + - *234 - *235 - *236 - *237 - *238 - *239 - - *240 responses: '500': *104 '422': *15 @@ -34189,7 +34210,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -34231,7 +34252,7 @@ paths: type: integer configurations: type: array - items: &241 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34484,7 +34505,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &242 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34580,9 +34601,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -34746,7 +34767,7 @@ paths: application/json: schema: type: array - items: &243 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -34919,7 +34940,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -34957,7 +34978,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &335 + '410': &334 description: Gone content: application/json: @@ -35000,7 +35021,7 @@ paths: application/json: schema: type: array - items: &244 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -35143,7 +35164,7 @@ paths: - deleted_at - deleted_by examples: - default: &245 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35246,7 +35267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &246 + - &245 name: project_number description: The project's number. in: path @@ -35259,9 +35280,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -35283,7 +35304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *246 + - *245 - *103 - *17 - *40 @@ -35295,7 +35316,7 @@ paths: application/json: schema: type: array - items: &247 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35442,7 +35463,7 @@ paths: - updated_at - project_url examples: - default: &248 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35485,7 +35506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *246 + - *245 - &692 name: field_id description: The unique identifier of the field. @@ -35499,9 +35520,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -35524,7 +35545,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - 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) @@ -35554,7 +35575,7 @@ paths: application/json: schema: type: array - items: &254 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -35570,7 +35591,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: &252 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35620,7 +35641,7 @@ paths: - updated_at - archived_at examples: - default: &255 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36315,7 +36336,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *103 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -36366,7 +36387,7 @@ paths: content: oneOf: - *84 - - &466 + - &465 title: Pull Request Simple description: Pull Request Simple type: object @@ -36472,8 +36493,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -36569,7 +36590,7 @@ paths: _links: type: object properties: - comments: &251 + comments: &250 title: Link description: Hypermedia Link type: object @@ -36578,13 +36599,13 @@ paths: type: string required: - href - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -36697,7 +36718,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -36730,7 +36751,7 @@ paths: - updated_at - archived_at examples: - issue: &253 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36785,7 +36806,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *253 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -36805,9 +36826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - - &256 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -36830,9 +36851,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -36853,9 +36874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36925,13 +36946,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -36951,9 +36972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 responses: '204': description: Response @@ -36985,7 +37006,7 @@ paths: application/json: schema: type: array - items: &257 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37051,7 +37072,7 @@ paths: - property_name - value_type examples: - default: &258 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37110,7 +37131,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *257 + items: *256 minItems: 1 maxItems: 100 required: @@ -37140,9 +37161,9 @@ paths: application/json: schema: type: array - items: *257 + items: *256 examples: - default: *258 + default: *257 '403': *29 '404': *6 x-github: @@ -37164,7 +37185,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *103 - - &259 + - &258 name: custom_property_name description: The custom property name in: path @@ -37176,9 +37197,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: &260 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37213,7 +37234,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 requestBody: required: true content: @@ -37282,9 +37303,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: *260 + default: *259 '403': *29 '404': *6 x-github: @@ -37308,7 +37329,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 responses: '204': *161 '403': *29 @@ -37369,7 +37390,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &261 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -37456,7 +37477,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - repository_names - properties @@ -37648,7 +37669,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -37850,7 +37871,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &336 title: Full Repository description: Full Repository type: object @@ -38127,8 +38148,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *262 - required: *263 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -38243,7 +38264,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &470 url: type: string format: uri @@ -38259,12 +38280,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &471 - url - key - name - html_url - security_and_analysis: *264 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38348,7 +38369,7 @@ paths: - network_count - subscribers_count examples: - default: &339 + default: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38887,7 +38908,7 @@ paths: application/json: schema: type: array - items: &290 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38922,7 +38943,7 @@ paths: source: type: string description: The name of the source - enforcement: &267 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38935,7 +38956,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &268 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39005,7 +39026,7 @@ paths: conditions: nullable: true anyOf: - - &265 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39029,7 +39050,7 @@ paths: match. items: type: string - - &269 + - &268 title: Organization ruleset conditions type: object description: |- @@ -39043,7 +39064,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39077,7 +39098,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39099,7 +39120,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39112,7 +39133,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &266 + items: &265 title: Repository ruleset property targeting definition type: object @@ -39145,7 +39166,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *266 + items: *265 required: - repository_property rules: @@ -39155,7 +39176,7 @@ paths: type: object description: A repository rule. oneOf: - - &270 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39167,7 +39188,7 @@ paths: type: string enum: - creation - - &271 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -39188,7 +39209,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &272 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39200,7 +39221,7 @@ paths: type: string enum: - deletion - - &273 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39290,7 +39311,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &274 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39314,7 +39335,7 @@ paths: type: string required: - required_deployment_environments - - &275 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39326,7 +39347,7 @@ paths: type: string enum: - required_signatures - - &276 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39388,7 +39409,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &277 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39436,7 +39457,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &278 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39448,7 +39469,7 @@ paths: type: string enum: - non_fast_forward - - &279 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39484,7 +39505,7 @@ paths: required: - operator - pattern - - &280 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39520,7 +39541,7 @@ paths: required: - operator - pattern - - &281 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39556,7 +39577,7 @@ paths: required: - operator - pattern - - &282 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39592,7 +39613,7 @@ paths: required: - operator - pattern - - &283 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39628,7 +39649,7 @@ paths: required: - operator - pattern - - &284 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39653,7 +39674,7 @@ paths: type: string required: - restricted_file_paths - - &285 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39677,7 +39698,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &286 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39700,7 +39721,7 @@ paths: type: string required: - restricted_file_extensions - - &287 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39725,7 +39746,7 @@ paths: maximum: 100 required: - max_file_size - - &288 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39775,7 +39796,7 @@ paths: - repository_id required: - workflows - - &289 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39934,20 +39955,21 @@ paths: - push - repository default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &292 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 - *270 - *271 - *272 @@ -39967,7 +39989,6 @@ paths: - *286 - *287 - *288 - - *289 required: - name - enforcement @@ -40005,9 +40026,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: &291 + default: &290 value: id: 21 name: super cool ruleset @@ -40407,9 +40428,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 put: @@ -40453,16 +40474,16 @@ paths: - tag - push - repository - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *292 + items: *291 examples: default: value: @@ -40497,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 delete: @@ -40556,7 +40577,7 @@ paths: application/json: schema: type: array - items: &293 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -40635,7 +40656,7 @@ paths: application/json: schema: &604 allOf: - - *293 + - *292 - type: object required: - state @@ -40705,10 +40726,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *103 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 @@ -40732,10 +40753,10 @@ paths: required: false schema: type: string + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -40743,9 +40764,9 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: - default: *303 + default: *302 headers: Link: *58 '404': *6 @@ -40786,7 +40807,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &305 + pattern_config_version: &304 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40795,7 +40816,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &304 + items: &303 type: object properties: token_type: @@ -40861,7 +40882,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *304 + items: *303 examples: default: value: @@ -40918,7 +40939,7 @@ paths: schema: type: object properties: - pattern_config_version: *305 + pattern_config_version: *304 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40944,7 +40965,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *305 + custom_pattern_version: *304 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41262,7 +41283,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 credits_detailed: type: array nullable: true @@ -41272,7 +41293,7 @@ paths: type: object properties: user: *4 - type: *306 + type: *305 state: type: string description: The state of the user's acceptance of the @@ -41720,9 +41741,9 @@ paths: application/json: schema: type: array - items: *307 + items: *306 examples: - default: *226 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41991,6 +42012,247 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` + is set to `selected`. + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *135 + examples: + default: *147 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -42023,7 +42285,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &307 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -42143,9 +42405,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: &309 + default: &308 value: id: 123456789ABCDEF name: My network configuration @@ -42174,7 +42436,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - &310 + - &309 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42186,9 +42448,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 headers: Link: *58 x-github: @@ -42210,7 +42472,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - *310 + - *309 requestBody: required: true content: @@ -42249,9 +42511,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42271,7 +42533,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *103 - - *310 + - *309 responses: '204': description: Response @@ -42411,13 +42673,13 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *312 + default: *311 '500': *104 '403': *29 '404': *6 - '422': *313 + '422': *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42447,7 +42709,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '403': *29 @@ -42541,7 +42803,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &313 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -42604,8 +42866,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -42868,7 +43130,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &314 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42945,9 +43207,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -43031,16 +43293,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -43110,7 +43372,7 @@ paths: application/json: schema: type: array - items: &316 + items: &315 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43318,9 +43580,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: &317 + default: &316 value: author: login: octocat @@ -43394,7 +43656,7 @@ paths: parameters: - *103 - *65 - - &318 + - &317 name: discussion_number description: The number that identifies the discussion. in: path @@ -43406,9 +43668,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43432,7 +43694,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: false content: @@ -43455,7 +43717,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: &646 value: @@ -43529,7 +43791,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 responses: '204': description: Response @@ -43557,7 +43819,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - *48 - *17 - *19 @@ -43568,7 +43830,7 @@ paths: application/json: schema: type: array - items: &319 + items: &318 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43710,7 +43972,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -43732,9 +43994,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: &320 + default: &319 value: author: login: octocat @@ -43802,8 +44064,8 @@ paths: parameters: - *103 - *65 - - *318 - - &321 + - *317 + - &320 name: comment_number description: The number that identifies the comment. in: path @@ -43815,9 +44077,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43841,8 +44103,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -43864,7 +44126,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: &648 value: @@ -43932,8 +44194,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -43961,8 +44223,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -43988,7 +44250,7 @@ paths: application/json: schema: type: array - items: &322 + items: &321 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44031,7 +44293,7 @@ paths: - content - created_at examples: - default: &324 + default: &323 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44083,8 +44345,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -44117,9 +44379,9 @@ paths: team discussion comment content: application/json: - schema: *322 + schema: *321 examples: - default: &323 + default: &322 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44148,9 +44410,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44175,9 +44437,9 @@ paths: parameters: - *103 - *65 - - *318 - - *321 - - &325 + - *317 + - *320 + - &324 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44211,7 +44473,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -44237,9 +44499,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -44267,7 +44529,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -44299,16 +44561,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44333,8 +44595,8 @@ paths: parameters: - *103 - *65 - - *318 - - *325 + - *317 + - *324 responses: '204': description: Response @@ -44369,9 +44631,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -44455,7 +44717,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &325 title: Team Membership description: Team Membership type: object @@ -44545,7 +44807,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: &650 summary: Response if user's membership with team is now pending @@ -44620,7 +44882,7 @@ paths: application/json: schema: type: array - items: &327 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -44753,7 +45015,7 @@ paths: parameters: - *103 - *65 - - &328 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -44765,7 +45027,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: default: &652 value: @@ -44831,7 +45093,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 requestBody: required: false content: @@ -44899,7 +45161,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 responses: '204': description: Response @@ -44939,7 +45201,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -44970,8 +45232,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '200': description: Alternative response with repository permissions @@ -45548,8 +45810,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 requestBody: required: false content: @@ -45596,8 +45858,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '204': description: Response @@ -45761,7 +46023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &331 + - &330 name: column_id description: The unique identifier of the column. in: path @@ -45773,7 +46035,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Project Column description: Project columns contain cards of work. type: object @@ -45819,7 +46081,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &332 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45854,7 +46116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45878,9 +46140,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 '304': *37 '403': *29 '401': *25 @@ -45905,7 +46167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *331 + - *330 responses: '204': description: Response @@ -45934,7 +46196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45994,15 +46256,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &334 + default: &333 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46059,7 +46321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *328 + - *327 requestBody: required: false content: @@ -46105,9 +46367,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '404': description: Not Found if the authenticated user does not have access to the project @@ -46128,7 +46390,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -46151,7 +46413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *328 + - *327 responses: '204': description: Delete Success @@ -46172,7 +46434,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '404': *6 x-github: githubCloudOnly: false @@ -46196,7 +46458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *328 + - *327 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -46253,7 +46515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *328 + - *327 - *63 requestBody: required: false @@ -46306,7 +46568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *328 + - *327 - *63 responses: '204': @@ -46338,7 +46600,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *328 + - *327 - *63 responses: '200': @@ -46412,7 +46674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *328 + - *327 - *17 - *19 responses: @@ -46422,7 +46684,7 @@ paths: application/json: schema: type: array - items: *332 + items: *331 examples: default: value: @@ -46460,7 +46722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *328 + - *327 requestBody: required: true content: @@ -46483,7 +46745,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: default: value: @@ -46548,7 +46810,7 @@ paths: resources: type: object properties: - core: &336 + core: &335 title: Rate Limit type: object properties: @@ -46565,21 +46827,21 @@ paths: - remaining - reset - used - graphql: *336 - search: *336 - code_search: *336 - source_import: *336 - integration_manifest: *336 - code_scanning_upload: *336 - actions_runner_registration: *336 - scim: *336 - dependency_snapshots: *336 - dependency_sbom: *336 - code_scanning_autofix: *336 + graphql: *335 + search: *335 + code_search: *335 + source_import: *335 + integration_manifest: *335 + code_scanning_upload: *335 + actions_runner_registration: *335 + scim: *335 + dependency_snapshots: *335 + dependency_sbom: *335 + code_scanning_autofix: *335 required: - core - search - rate: *336 + rate: *335 required: - rate - resources @@ -46684,14 +46946,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *337 + schema: *336 examples: default-response: summary: Default response @@ -47192,7 +47454,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47210,8 +47472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -47458,10 +47720,10 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 - '307': &340 + default: *338 + '307': &339 description: Temporary Redirect content: application/json: @@ -47490,8 +47752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -47513,7 +47775,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *340 + '307': *339 '404': *6 '409': *47 x-github: @@ -47537,11 +47799,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &371 + - &370 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -47564,7 +47826,7 @@ paths: type: integer artifacts: type: array - items: &341 + items: &340 title: Artifact description: An artifact type: object @@ -47642,7 +47904,7 @@ paths: - expires_at - updated_at examples: - default: &372 + default: &371 value: total_count: 2 artifacts: @@ -47703,9 +47965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *328 - *329 - - *330 - - &342 + - &341 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47717,7 +47979,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: default: value: @@ -47755,9 +48017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 responses: '204': description: Response @@ -47781,9 +48043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 - name: archive_format in: path required: true @@ -47797,7 +48059,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': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47820,14 +48082,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *343 + schema: *342 examples: default: value: @@ -47853,11 +48115,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &344 + - &343 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 @@ -47891,7 +48153,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &344 title: Repository actions caches description: Repository actions caches type: object @@ -47933,7 +48195,7 @@ paths: - total_count - actions_caches examples: - default: &346 + default: &345 value: total_count: 1 actions_caches: @@ -47965,23 +48227,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: + - *328 - *329 - - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *344 + - *343 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: - default: *346 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48001,8 +48263,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: + - *328 - *329 - - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48033,9 +48295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - &347 + - &346 name: job_id description: The unique identifier of the job. in: path @@ -48047,7 +48309,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &374 title: Job description: Information of a job execution in a workflow run type: object @@ -48354,9 +48616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 responses: '302': description: Response @@ -48384,9 +48646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 requestBody: required: false content: @@ -48431,8 +48693,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: + - *328 - *329 - - *330 responses: '200': description: Status response @@ -48482,8 +48744,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -48546,8 +48808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -48565,7 +48827,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &376 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -48585,7 +48847,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &377 value: total_count: 2 secrets: @@ -48618,9 +48880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -48637,7 +48899,7 @@ paths: type: integer variables: type: array - items: &381 + items: &380 title: Actions Variable type: object properties: @@ -48667,7 +48929,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &381 value: total_count: 2 variables: @@ -48700,8 +48962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48710,11 +48972,11 @@ paths: schema: type: object properties: - enabled: &350 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *120 - selected_actions_url: *349 + selected_actions_url: *348 sha_pinning_required: *121 required: - enabled @@ -48743,8 +49005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48755,7 +49017,7 @@ paths: schema: type: object properties: - enabled: *350 + enabled: *349 allowed_actions: *120 sha_pinning_required: *121 required: @@ -48787,14 +49049,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: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: &351 + schema: &350 type: object properties: access_level: @@ -48811,7 +49073,7 @@ paths: required: - access_level examples: - default: &352 + default: &351 value: access_level: organization x-github: @@ -48835,15 +49097,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: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *351 + schema: *350 examples: - default: *352 + default: *351 responses: '204': description: Response @@ -48867,14 +49129,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -48898,8 +49160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Empty response for successful settings update @@ -48909,7 +49171,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *353 examples: default: summary: Set retention days @@ -48933,8 +49195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48942,7 +49204,7 @@ paths: application/json: schema: *122 examples: - default: *355 + default: *354 '404': *6 x-github: enabledForGitHubApps: true @@ -48961,8 +49223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48996,14 +49258,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: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *356 + schema: *355 examples: default: *123 '403': *29 @@ -49025,13 +49287,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: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *357 + schema: *356 examples: default: *123 responses: @@ -49057,8 +49319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49085,8 +49347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -49118,14 +49380,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *358 + schema: *357 examples: default: *130 x-github: @@ -49148,8 +49410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Success response @@ -49160,7 +49422,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *358 examples: default: *130 x-github: @@ -49189,8 +49451,8 @@ paths: in: query schema: type: string + - *328 - *329 - - *330 - *17 - *19 responses: @@ -49234,8 +49496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49243,9 +49505,9 @@ paths: application/json: schema: type: array - items: *360 + items: *359 examples: - default: *361 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49267,8 +49529,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -49311,7 +49573,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *362 + '201': *361 '404': *6 '422': *7 '409': *47 @@ -49342,8 +49604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49351,7 +49613,7 @@ paths: application/json: schema: *139 examples: - default: *363 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49379,8 +49641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49388,7 +49650,7 @@ paths: application/json: schema: *139 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49410,8 +49672,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: + - *328 - *329 - - *330 - *136 responses: '200': @@ -49420,7 +49682,7 @@ paths: application/json: schema: *137 examples: - default: *365 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49441,8 +49703,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: + - *328 - *329 - - *330 - *136 responses: '204': @@ -49469,8 +49731,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: + - *328 - *329 - - *330 - *136 responses: '200': *141 @@ -49495,8 +49757,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: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49545,8 +49807,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: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49596,11 +49858,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: + - *328 - *329 - - *330 - *136 responses: - '200': *366 + '200': *365 '404': *6 x-github: githubCloudOnly: false @@ -49627,10 +49889,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: + - *328 - *329 - - *330 - *136 - - *367 + - *366 responses: '200': *141 '404': *6 @@ -49658,9 +49920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *328 - *329 - - *330 - - &385 + - &384 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. @@ -49668,7 +49930,7 @@ paths: required: false schema: type: string - - &386 + - &385 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -49676,7 +49938,7 @@ paths: required: false schema: type: string - - &387 + - &386 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -49685,7 +49947,7 @@ paths: required: false schema: type: string - - &388 + - &387 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 @@ -49712,7 +49974,7 @@ paths: - pending - *17 - *19 - - &389 + - &388 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)." @@ -49721,7 +49983,7 @@ paths: schema: type: string format: date-time - - &368 + - &367 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -49730,13 +49992,13 @@ paths: schema: type: boolean default: false - - &390 + - &389 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &391 + - &390 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49759,7 +50021,7 @@ paths: type: integer workflow_runs: type: array - items: &369 + items: &368 title: Workflow Run description: An invocation of a workflow type: object @@ -49854,7 +50116,7 @@ paths: that triggered the run. type: array nullable: true - items: &410 + items: &409 title: Pull Request Minimal type: object properties: @@ -49973,7 +50235,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &413 id: type: string description: SHA for the commit @@ -50024,7 +50286,7 @@ paths: - name - email nullable: true - required: &415 + required: &414 - id - tree_id - message @@ -50071,7 +50333,7 @@ paths: - workflow_url - pull_requests examples: - default: &392 + default: &391 value: total_count: 1 workflow_runs: @@ -50307,24 +50569,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *328 - *329 - - *330 - - &370 + - &369 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: &373 + default: &372 value: id: 30433642 name: Build @@ -50565,9 +50827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -50590,9 +50852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -50711,9 +50973,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: + - *328 - *329 - - *330 - - *370 + - *369 responses: '201': description: Response @@ -50746,12 +51008,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *328 - *329 - - *330 - - *370 + - *369 - *17 - *19 - - *371 + - *370 responses: '200': description: Response @@ -50767,9 +51029,9 @@ paths: type: integer artifacts: type: array - items: *341 + items: *340 examples: - default: *372 + default: *371 headers: Link: *58 x-github: @@ -50793,25 +51055,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - &374 + - *369 + - &373 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: *373 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50834,10 +51096,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 - *17 - *19 responses: @@ -50855,9 +51117,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: &376 + default: &375 value: total_count: 1 jobs: @@ -50970,10 +51232,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 responses: '302': description: Response @@ -51001,9 +51263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51036,9 +51298,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: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51105,9 +51367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51140,9 +51402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 - 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 @@ -51172,9 +51434,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: *376 + default: *375 headers: Link: *58 x-github: @@ -51199,9 +51461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '302': description: Response @@ -51228,9 +51490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -51257,9 +51519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51404,9 +51666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51615,9 +51877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51661,9 +51923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51716,9 +51978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51855,8 +52117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -51874,9 +52136,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -51901,16 +52163,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51932,15 +52194,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *377 + schema: *376 examples: default: &505 value: @@ -51968,8 +52230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -52027,8 +52289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -52054,9 +52316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -52073,9 +52335,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -52098,8 +52360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -52151,15 +52413,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '200': description: Response content: application/json: - schema: *381 + schema: *380 examples: default: &506 value: @@ -52187,8 +52449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 requestBody: required: true @@ -52231,8 +52493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '204': @@ -52258,8 +52520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52277,7 +52539,7 @@ paths: type: integer workflows: type: array - items: &383 + items: &382 title: Workflow description: A GitHub Actions workflow type: object @@ -52384,9 +52646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *328 - *329 - - *330 - - &384 + - &383 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52401,7 +52663,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -52434,9 +52696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52461,9 +52723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52514,9 +52776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52543,19 +52805,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *328 - *329 - - *330 + - *383 - *384 - *385 - *386 - *387 - - *388 - *17 - *19 + - *388 + - *367 - *389 - - *368 - *390 - - *391 responses: '200': description: Response @@ -52571,9 +52833,9 @@ paths: type: integer workflow_runs: type: array - items: *369 + items: *368 examples: - default: *392 + default: *391 headers: Link: *58 x-github: @@ -52605,9 +52867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '200': description: Response @@ -52668,8 +52930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *328 - *329 - - *330 - *48 - *17 - *40 @@ -52833,8 +53095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52871,8 +53133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *328 - *329 - - *330 - name: assignee in: path required: true @@ -52908,8 +53170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53021,8 +53283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *328 - *329 - - *330 - *17 - *40 - *41 @@ -53078,7 +53340,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53098,8 +53360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -53107,7 +53369,7 @@ paths: application/json: schema: type: array - items: &394 + items: &393 title: Autolink reference description: An autolink reference. type: object @@ -53161,8 +53423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53201,9 +53463,9 @@ paths: description: response content: application/json: - schema: *394 + schema: *393 examples: - default: &395 + default: &394 value: id: 1 key_prefix: TICKET- @@ -53234,9 +53496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *328 - *329 - - *330 - - &396 + - &395 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53248,9 +53510,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *393 examples: - default: *395 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -53270,9 +53532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *328 - *329 - - *330 - - *396 + - *395 responses: '204': description: Response @@ -53296,8 +53558,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: + - *328 - *329 - - *330 responses: '200': description: Response if Dependabot is enabled @@ -53345,8 +53607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53367,8 +53629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53388,8 +53650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *328 - *329 - - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53427,7 +53689,7 @@ paths: - url protected: type: boolean - protection: &398 + protection: &397 title: Branch Protection description: Branch Protection type: object @@ -53469,7 +53731,7 @@ paths: required: - contexts - checks - enforce_admins: &401 + enforce_admins: &400 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53484,7 +53746,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &403 + required_pull_request_reviews: &402 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53560,7 +53822,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &400 + restrictions: &399 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53837,9 +54099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *328 - *329 - - *330 - - &399 + - &398 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). @@ -53853,14 +54115,14 @@ paths: description: Response content: application/json: - schema: &409 + schema: &408 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &461 title: Commit description: Commit type: object @@ -53894,7 +54156,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &397 + properties: &396 name: type: string example: '"Chris Wanstrath"' @@ -53909,7 +54171,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true message: type: string @@ -54000,7 +54262,7 @@ paths: type: integer files: type: array - items: &475 + items: &474 title: Diff Entry description: Diff Entry type: object @@ -54084,7 +54346,7 @@ paths: - self protected: type: boolean - protection: *398 + protection: *397 protection_url: type: string format: uri @@ -54191,7 +54453,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -54213,15 +54475,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -54415,9 +54677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -54672,7 +54934,7 @@ paths: url: type: string format: uri - required_status_checks: &406 + required_status_checks: &405 title: Status Check Policy description: Status Check Policy type: object @@ -54824,7 +55086,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *400 + restrictions: *399 required_conversation_resolution: type: object properties: @@ -54936,9 +55198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -54963,17 +55225,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &402 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54995,17 +55257,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *402 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55024,9 +55286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55051,17 +55313,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: &404 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55157,9 +55419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55257,9 +55519,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: *404 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -55280,9 +55542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55309,17 +55571,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &405 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55342,17 +55604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *405 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -55372,9 +55634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55399,17 +55661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: &407 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55435,9 +55697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55489,9 +55751,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 '404': *6 '422': *15 x-github: @@ -55513,9 +55775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55539,9 +55801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55575,9 +55837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55644,9 +55906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55710,9 +55972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -55778,15 +56040,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *400 + schema: *399 examples: default: value: @@ -55877,9 +56139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55902,9 +56164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55914,7 +56176,7 @@ paths: type: array items: *5 examples: - default: &408 + default: &407 value: - id: 1 slug: octoapp @@ -55971,9 +56233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56007,7 +56269,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56028,9 +56290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56064,7 +56326,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56085,9 +56347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56121,7 +56383,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56143,9 +56405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56155,7 +56417,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -56175,9 +56437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56215,7 +56477,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56236,9 +56498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56276,7 +56538,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56297,9 +56559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -56336,7 +56598,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56358,9 +56620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56394,9 +56656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56454,9 +56716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56514,9 +56776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56576,9 +56838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56600,7 +56862,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *408 examples: default: value: @@ -56716,8 +56978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -56996,7 +57258,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &410 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57115,7 +57377,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *410 + items: *409 deployment: &713 title: Deployment description: A deployment created as the result of an Actions @@ -57396,9 +57658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *328 - *329 - - *330 - - &412 + - &411 name: check_run_id description: The unique identifier of the check run. in: path @@ -57410,9 +57672,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: &413 + default: &412 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -57512,9 +57774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 requestBody: required: true content: @@ -57754,9 +58016,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57776,9 +58038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *328 - *329 - - *330 - - *412 + - *411 - *17 - *19 responses: @@ -57873,9 +58135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 responses: '201': description: Response @@ -57919,8 +58181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -57942,7 +58204,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &415 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58006,7 +58268,7 @@ paths: nullable: true pull_requests: type: array - items: *410 + items: *409 nullable: true app: title: GitHub app @@ -58032,8 +58294,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *413 + required: *414 latest_check_runs_count: type: integer check_runs_url: @@ -58061,7 +58323,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &416 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58352,9 +58614,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58373,8 +58635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -58683,9 +58945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *328 - *329 - - *330 - - &418 + - &417 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58697,9 +58959,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58722,17 +58984,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 - - &468 + - *417 + - &467 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &468 name: status description: Returns check runs with the specified `status`. in: query @@ -58771,9 +59033,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: &470 + default: &469 value: total_count: 1 check_runs: @@ -58875,9 +59137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 + - *417 responses: '201': description: Response @@ -58910,21 +59172,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - &437 + - &436 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: *421 - - &438 + schema: *420 + - &437 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58949,13 +59211,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *421 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *422 responses: '200': description: Response @@ -58971,7 +59233,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -58982,11 +59244,11 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *424 + dismissed_comment: *425 + rule: *426 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59112,7 +59374,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &429 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59139,9 +59401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - &431 + - &430 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59155,7 +59417,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &431 type: object properties: number: *54 @@ -59163,7 +59425,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -59174,8 +59436,8 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 rule: type: object properties: @@ -59229,8 +59491,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59329,7 +59591,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59349,9 +59611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -59366,8 +59628,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59386,7 +59648,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *431 examples: default: value: @@ -59462,7 +59724,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &435 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -59489,15 +59751,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: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: Response content: application/json: - schema: &433 + schema: &432 type: object properties: status: @@ -59523,13 +59785,13 @@ paths: - description - started_at examples: - default: &434 + default: &433 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &434 description: Bad Request content: application/json: @@ -59540,7 +59802,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': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59565,29 +59827,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: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: OK content: application/json: - schema: *433 + schema: *432 examples: - default: *434 + default: *433 '202': description: Accepted content: application/json: - schema: *433 + schema: *432 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *434 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -59619,9 +59881,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: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: false content: @@ -59666,8 +59928,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *434 + '403': *435 '404': *6 '422': description: Unprocessable Entity @@ -59691,13 +59953,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 + - *436 - *437 - - *438 responses: '200': description: Response @@ -59705,7 +59967,7 @@ paths: application/json: schema: type: array - items: *429 + items: *428 examples: default: value: @@ -59744,7 +60006,7 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59778,25 +60040,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - *438 + - *437 - 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: *421 + schema: *420 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59817,23 +60079,23 @@ paths: application/json: schema: type: array - items: &442 + items: &441 type: object properties: - ref: *421 - commit_sha: &450 + ref: *420 + commit_sha: &449 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: *439 + analysis_key: *438 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *439 error: type: string example: error reading field xyz @@ -59857,8 +60119,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *440 + tool: *427 deletable: type: boolean warning: @@ -59919,7 +60181,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59955,8 +60217,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: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59969,7 +60231,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response: summary: application/json response @@ -60023,7 +60285,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *429 '404': *6 '422': description: Response if analysis could not be processed @@ -60110,8 +60372,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: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60164,7 +60426,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': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60186,8 +60448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -60195,7 +60457,7 @@ paths: application/json: schema: type: array - items: &443 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -60306,7 +60568,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': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60335,8 +60597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60348,7 +60610,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: value: @@ -60380,9 +60642,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': &477 + '302': &476 description: Found - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60404,8 +60666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60415,7 +60677,7 @@ paths: responses: '204': description: Response - '403': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60443,8 +60705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -60453,7 +60715,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -60532,7 +60794,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -60542,7 +60804,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -60589,7 +60851,7 @@ paths: items: type: object properties: - repository: &445 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -60625,7 +60887,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -60657,7 +60919,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -60671,7 +60933,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: *445 + items: *444 required: - repository_count - repositories @@ -60693,8 +60955,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -60710,7 +60972,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &446 summary: Default response value: id: 1 @@ -60862,10 +61124,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -60893,8 +61155,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: + - *328 - *329 - - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60906,9 +61168,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *447 examples: - default: *447 + default: *446 '404': *6 '503': *72 x-github: @@ -60931,7 +61193,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: - - *329 + - *328 - name: repo in: path description: The name of the controller repository. @@ -60966,7 +61228,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61091,8 +61353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61177,7 +61439,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -61198,8 +61460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61291,7 +61553,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *435 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -61362,8 +61624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61371,7 +61633,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *449 ref: type: string description: |- @@ -61429,7 +61691,7 @@ paths: schema: type: object properties: - id: *441 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -61443,7 +61705,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': *436 + '403': *435 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -61466,8 +61728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *328 - *329 - - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -61513,7 +61775,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': *430 + '403': *429 '404': description: Not Found if the sarif id does not match any upload '503': *72 @@ -61538,8 +61800,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: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61620,8 +61882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *328 - *329 - - *330 - 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 @@ -61741,8 +62003,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -61758,7 +62020,7 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: default: value: @@ -62056,8 +62318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -62120,17 +62382,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '400': *14 '401': *25 '403': *29 @@ -62159,8 +62421,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -62224,8 +62486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *328 - *329 - - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -62264,8 +62526,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 examples: default: &662 value: @@ -62307,8 +62569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *328 - *329 - - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -62392,8 +62654,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: + - *328 - *329 - - *330 - 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 @@ -62459,8 +62721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -62478,7 +62740,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -62498,7 +62760,7 @@ paths: - created_at - updated_at examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -62521,16 +62783,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -62550,17 +62812,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *457 + schema: *456 examples: - default: *458 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62580,8 +62842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -62634,8 +62896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -62664,8 +62926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *328 - *329 - - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -62707,7 +62969,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &458 login: type: string example: octocat @@ -62800,7 +63062,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &459 - avatar_url - events_url - followers_url @@ -62874,8 +63136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -62922,8 +63184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 requestBody: required: false @@ -63179,8 +63441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -63212,8 +63474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *328 - *329 - - *330 - *63 responses: '200': @@ -63234,8 +63496,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *458 + required: *459 nullable: true required: - permission @@ -63290,8 +63552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -63301,7 +63563,7 @@ paths: application/json: schema: type: array - items: &461 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -63359,7 +63621,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &463 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63418,17 +63680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: &465 + default: &464 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63485,8 +63747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63509,7 +63771,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: default: value: @@ -63560,8 +63822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -63583,8 +63845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -63611,9 +63873,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -63634,8 +63896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63668,16 +63930,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -63699,10 +63961,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -63751,8 +64013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *328 - *329 - - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63808,7 +64070,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: &575 value: @@ -63904,9 +64166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *328 - *329 - - *330 - - &463 + - &462 name: commit_sha description: The SHA of the commit. in: path @@ -63978,9 +64240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -63990,9 +64252,9 @@ paths: application/json: schema: type: array - items: *461 + items: *460 examples: - default: *464 + default: *463 headers: Link: *58 x-github: @@ -64020,9 +64282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *328 - *329 - - *330 - - *463 + - *462 requestBody: required: true content: @@ -64057,9 +64319,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: *465 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64087,9 +64349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -64099,7 +64361,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: &567 value: @@ -64638,11 +64900,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *328 - *329 - - *330 - *19 - *17 - - &467 + - &466 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)" @@ -64657,7 +64919,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: default: &554 value: @@ -64772,11 +65034,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *328 - *329 - - *330 + - *466 - *467 - *468 - - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64810,9 +65072,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: *470 + default: *469 headers: Link: *58 x-github: @@ -64837,9 +65099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64847,7 +65109,7 @@ paths: schema: type: integer example: 1 - - *468 + - *467 - *17 - *19 responses: @@ -64865,7 +65127,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *415 examples: default: value: @@ -65065,9 +65327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65265,9 +65527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65358,7 +65620,7 @@ paths: site_admin: false headers: Link: *58 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65386,8 +65648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -65416,20 +65678,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *470 + required: *471 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &472 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &473 - url - html_url nullable: true @@ -65443,26 +65705,26 @@ paths: contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true required: - code_of_conduct @@ -65589,8 +65851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *328 - *329 - - *330 - *19 - *17 - name: basehead @@ -65633,8 +65895,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *461 + merge_base_commit: *461 status: type: string enum: @@ -65654,10 +65916,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *461 files: type: array - items: *475 + items: *474 required: - url - html_url @@ -65943,8 +66205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66087,7 +66349,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &475 summary: Response if content is a file value: type: file @@ -66420,7 +66682,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *475 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66489,7 +66751,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *476 '304': *37 x-github: githubCloudOnly: false @@ -66512,8 +66774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66606,7 +66868,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &477 title: File Commit description: File Commit type: object @@ -66758,7 +67020,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: example-for-creating-a-file: value: @@ -66865,8 +67127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66927,7 +67189,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: default: value: @@ -66982,8 +67244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *328 - *329 - - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -67106,8 +67368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *328 - *329 - - *330 - *168 - *169 - *170 @@ -67119,9 +67381,9 @@ paths: schema: type: string - *172 + - *478 - *173 - *174 - - *175 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -67141,8 +67403,8 @@ paths: default: 30 - *40 - *41 + - *175 - *176 - - *177 responses: '200': description: Response @@ -67457,8 +67719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *328 - *329 - - *330 - &482 name: alert_number in: path @@ -67587,8 +67849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *328 - *329 - - *330 - *482 requestBody: required: true @@ -67763,8 +68025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -67835,8 +68097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -67864,8 +68126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': @@ -67898,8 +68160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -67952,8 +68214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -67976,8 +68238,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: + - *328 - *329 - - *330 - 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 @@ -68137,8 +68399,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: + - *328 - *329 - - *330 responses: '200': description: Response @@ -68377,8 +68639,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68628,8 +68890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *328 - *329 - - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -68737,8 +68999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68892,8 +69154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *328 - *329 - - *330 - &489 name: deployment_id description: deployment_id parameter @@ -68971,8 +69233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *328 - *329 - - *330 - *489 responses: '204': @@ -68995,8 +69257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *328 - *329 - - *330 - *489 - *17 - *19 @@ -69168,8 +69430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 requestBody: required: true @@ -69303,8 +69565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 - name: status_id in: path @@ -69343,8 +69605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -69401,8 +69663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -69648,8 +69910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *328 - *329 - - *330 - &494 name: environment_name in: path @@ -69749,8 +70011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *328 - *329 - - *330 - *494 requestBody: required: false @@ -69829,8 +70091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *328 - *329 - - *330 - *494 responses: '204': @@ -69856,8 +70118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -69933,8 +70195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70025,8 +70287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - &500 name: branch_policy_id @@ -70061,8 +70323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 requestBody: @@ -70113,8 +70375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 responses: @@ -70142,8 +70404,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *494 - - *330 - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -70278,8 +70540,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *494 - - *330 - *329 + - *328 requestBody: content: application/json: @@ -70338,8 +70600,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *19 - *17 responses: @@ -70393,8 +70655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *328 - *329 - - *330 - *494 - &504 name: protection_rule_id @@ -70432,8 +70694,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *504 responses: '204': @@ -70460,8 +70722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -70480,9 +70742,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -70507,17 +70769,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *328 - *329 - - *330 - *494 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70539,8 +70801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70548,7 +70810,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: default: *505 x-github: @@ -70572,8 +70834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 requestBody: @@ -70632,8 +70894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70660,10 +70922,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *328 - *329 - - *330 - *494 - - *348 + - *347 - *19 responses: '200': @@ -70680,9 +70942,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -70705,8 +70967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70759,8 +71021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 - *146 responses: @@ -70768,7 +71030,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: default: *506 x-github: @@ -70791,8 +71053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 requestBody: @@ -70836,8 +71098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 responses: @@ -70861,8 +71123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -70939,8 +71201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *328 - *329 - - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71099,8 +71361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -71132,9 +71394,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -71155,8 +71417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71241,8 +71503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *328 - *329 - - *330 - name: file_sha in: path required: true @@ -71341,8 +71603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71665,9 +71927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *328 - *329 - - *330 - - *463 + - *462 responses: '200': description: Response @@ -71729,8 +71991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *328 - *329 - - *330 - &509 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -71823,8 +72085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '200': @@ -71862,8 +72124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71920,8 +72182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *328 - *329 - - *330 - *509 requestBody: required: true @@ -71971,8 +72233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '204': @@ -72028,8 +72290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72230,8 +72492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *328 - *329 - - *330 - name: tag_sha in: path required: true @@ -72268,8 +72530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72438,8 +72700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *328 - *329 - - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72521,8 +72783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -72660,8 +72922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -72763,9 +73025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72793,9 +73055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: true content: @@ -72863,9 +73125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -72889,9 +73151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72918,9 +73180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: false content: @@ -72964,11 +73226,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -72976,9 +73238,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -72997,18 +73259,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -73027,9 +73289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '202': *39 @@ -73052,9 +73314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73079,9 +73341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73091,6 +73353,97 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *328 + - *329 + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository + owner. + required: + - enabled + - enforced_by_owner + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -73139,8 +73492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73290,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73392,8 +73745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -73513,8 +73866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73544,8 +73897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *328 - *329 - - *330 - &684 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -73639,8 +73992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *328 - *329 - - *330 - name: author_id in: path required: true @@ -73707,8 +74060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73777,8 +74130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73832,8 +74185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73842,7 +74195,7 @@ paths: schema: *22 examples: default: *522 - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -73862,8 +74215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73871,7 +74224,7 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false @@ -73901,8 +74254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73919,7 +74272,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: *524 '409': @@ -73943,8 +74296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73967,8 +74320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -74111,9 +74464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 requestBody: required: false content: @@ -74273,9 +74626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 responses: '204': description: Response @@ -74306,8 +74659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *328 - *329 - - *330 - 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 @@ -74355,7 +74708,7 @@ paths: required: false schema: type: string - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -74528,7 +74881,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *338 + '301': *337 '422': *15 '404': *6 x-github: @@ -74557,8 +74910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -74798,7 +75151,7 @@ paths: '422': *15 '503': *72 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -74826,8 +75179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74908,8 +75261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -74972,8 +75325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75016,8 +75369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -75038,8 +75391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75066,9 +75419,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -75089,8 +75442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75123,16 +75476,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -75154,10 +75507,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -75177,8 +75530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -75539,8 +75892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *328 - *329 - - *330 - name: event_id in: path required: true @@ -75744,7 +76097,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *335 + '410': *334 '403': *29 x-github: githubCloudOnly: false @@ -75778,8 +76131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *328 - *329 - - *330 - &532 name: issue_number description: The number that identifies the issue. @@ -75795,9 +76148,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '304': *37 x-github: githubCloudOnly: false @@ -75822,8 +76175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -75934,9 +76287,9 @@ paths: '422': *15 '503': *72 '403': *29 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75954,8 +76307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -76000,8 +76353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: content: @@ -76051,8 +76404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *328 - *329 - - *330 - *532 - name: assignee in: path @@ -76093,8 +76446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *328 - *329 - - *330 - *532 - *74 - *17 @@ -76112,7 +76465,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76141,8 +76494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76174,7 +76527,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76202,8 +76555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76219,9 +76572,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76249,8 +76602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76281,9 +76634,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *338 + '301': *337 '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76314,8 +76667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - name: issue_id in: path @@ -76331,12 +76684,12 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,8 +76715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76379,9 +76732,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76398,8 +76751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77251,7 +77604,7 @@ paths: color: red headers: Link: *58 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77268,8 +77621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77345,9 +77698,9 @@ paths: default: false headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77364,8 +77717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77428,9 +77781,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77447,8 +77800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77512,9 +77865,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77531,15 +77884,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': description: Response - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77558,8 +77911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: name in: path @@ -77584,9 +77937,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77606,8 +77959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77636,7 +77989,7 @@ paths: '204': description: Response '403': *29 - '410': *335 + '410': *334 '404': *6 '422': *15 x-github: @@ -77654,8 +78007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': @@ -77686,8 +78039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *328 - *329 - - *330 - *532 responses: '200': @@ -77697,9 +78050,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77716,8 +78069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77744,13 +78097,13 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77768,8 +78121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77802,16 +78155,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -77833,10 +78186,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *328 - *329 - - *330 - *532 - - *325 + - *324 responses: '204': description: Response @@ -77865,8 +78218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77924,8 +78277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77942,7 +78295,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77970,8 +78323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78008,7 +78361,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -78028,8 +78381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78085,8 +78438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -78632,7 +78985,7 @@ paths: type: string comments: type: array - items: *461 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78921,7 +79274,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78938,8 +79291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79015,8 +79368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79088,8 +79441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *328 - *329 - - *330 - &552 name: key_id description: The unique identifier of the key. @@ -79122,8 +79475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *328 - *329 - - *330 - *552 responses: '204': @@ -79144,8 +79497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79178,8 +79531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79249,8 +79602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79280,8 +79633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79346,8 +79699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79373,8 +79726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -79413,9 +79766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *328 - *329 - - *330 - - *437 + - *436 responses: '200': description: Response @@ -79560,8 +79913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79626,8 +79979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79661,7 +80014,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *461 examples: default: *554 '204': @@ -79688,8 +80041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *328 - *329 - - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79734,8 +80087,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 examples: default: value: @@ -79791,8 +80144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79893,8 +80246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *328 - *329 - - *330 - &557 name: milestone_number description: The number that identifies the milestone. @@ -79926,8 +80279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *328 - *329 - - *330 - *557 requestBody: required: false @@ -79984,8 +80337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *328 - *329 - - *330 - *557 responses: '204': @@ -80007,8 +80360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *328 - *329 - - *330 - *557 - *17 - *19 @@ -80040,8 +80393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *328 - *329 - - *330 - *558 - *559 - *74 @@ -80081,8 +80434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -80140,8 +80493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80313,8 +80666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80393,8 +80746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80493,8 +80846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -80520,8 +80873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -80625,8 +80978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -80671,8 +81024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80728,8 +81081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *328 - *329 - - *330 - name: build_id in: path required: true @@ -80762,8 +81115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80868,8 +81221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -80928,8 +81281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - *566 responses: '204': *161 @@ -80957,8 +81310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81216,8 +81569,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: + - *328 - *329 - - *330 responses: '200': description: Private vulnerability reporting status @@ -81254,8 +81607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81276,8 +81629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81300,8 +81653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: + - *328 - *329 - - *330 - name: state description: Indicates the state of the projects to return. in: query @@ -81322,7 +81675,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -81362,7 +81715,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81385,8 +81738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81412,13 +81765,13 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81441,8 +81794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81450,7 +81803,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -81481,8 +81834,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81494,7 +81847,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - properties examples: @@ -81544,8 +81897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *328 - *329 - - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81605,7 +81958,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: *567 headers: @@ -81639,8 +81992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81816,8 +82169,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -81862,7 +82215,7 @@ paths: nullable: true requested_teams: type: array - items: *307 + items: *306 nullable: true head: type: object @@ -81901,14 +82254,14 @@ paths: _links: type: object properties: - comments: *251 - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -82538,8 +82891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *328 - *329 - - *330 - name: sort in: query required: false @@ -82647,8 +83000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -82732,8 +83085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82774,8 +83127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -82797,8 +83150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82825,9 +83178,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -82848,8 +83201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82882,16 +83235,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -82913,10 +83266,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -82959,8 +83312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *328 - *329 - - *330 - &573 name: pull_number description: The number that identifies the pull request. @@ -83011,8 +83364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83079,8 +83432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83141,17 +83494,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -83181,8 +83534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *94 - name: direction @@ -83239,8 +83592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83434,8 +83787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *328 - *329 - - *330 - *573 - *83 requestBody: @@ -83545,8 +83898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83557,7 +83910,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: *575 headers: @@ -83589,8 +83942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83601,7 +83954,7 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: default: value: @@ -83639,8 +83992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *328 - *329 - - *330 - *573 responses: '204': @@ -83664,8 +84017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83777,8 +84130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 responses: '200': @@ -83854,8 +84207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83893,7 +84246,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84429,8 +84782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -84465,7 +84818,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84970,8 +85323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -85133,8 +85486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85286,8 +85639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - &577 name: review_id @@ -85362,8 +85715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85450,8 +85803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 responses: @@ -85488,8 +85841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *328 - *329 - - *330 - *573 - *577 - *17 @@ -85574,9 +85927,9 @@ paths: _links: type: object properties: - self: *251 - html: *251 - pull_request: *251 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -85726,8 +86079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85820,8 +86173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85882,8 +86235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85947,8 +86300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *328 - *329 - - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86005,8 +86358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *328 - *329 - - *330 - name: dir description: The alternate path to look for a README file in: path @@ -86050,8 +86403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -86319,8 +86672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86503,8 +86856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *328 - *329 - - *330 - &584 name: asset_id description: The unique identifier of the asset. @@ -86554,7 +86907,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86570,8 +86923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *328 - *329 - - *330 - *584 requestBody: required: false @@ -86618,8 +86971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *328 - *329 - - *330 - *584 responses: '204': @@ -86644,8 +86997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86730,8 +87083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -86756,8 +87109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *328 - *329 - - *330 - name: tag description: tag parameter in: path @@ -86794,8 +87147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *328 - *329 - - *330 - &587 name: release_id description: The unique identifier of the release. @@ -86830,8 +87183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: false @@ -86919,8 +87272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *328 - *329 - - *330 - *587 responses: '204': @@ -86941,8 +87294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *328 - *329 - - *330 - *587 - *17 - *19 @@ -87034,8 +87387,8 @@ 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: + - *328 - *329 - - *330 - *587 - name: name in: query @@ -87117,8 +87470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *328 - *329 - - *330 - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87143,9 +87496,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -87166,8 +87519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: true @@ -87198,16 +87551,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -87229,10 +87582,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *328 - *329 - - *330 - *587 - - *325 + - *324 responses: '204': description: Response @@ -87256,9 +87609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 - *17 - *19 responses: @@ -87274,7 +87627,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *270 + - *269 - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -87294,6 +87647,9 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *588 - allOf: - *271 - *588 @@ -87301,10 +87657,10 @@ paths: - *272 - *588 - allOf: - - *273 + - *589 - *588 - allOf: - - *589 + - *273 - *588 - allOf: - *274 @@ -87351,9 +87707,6 @@ paths: - allOf: - *288 - *588 - - allOf: - - *289 - - *588 - allOf: - *590 - *588 @@ -87395,8 +87748,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - *17 - *19 - name: includes_parents @@ -87415,7 +87768,7 @@ paths: application/json: schema: type: array - items: *290 + items: *289 examples: default: value: @@ -87462,8 +87815,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 requestBody: description: Request body required: true @@ -87483,12 +87836,12 @@ paths: - tag - push default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. @@ -87523,7 +87876,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: &602 value: @@ -87572,8 +87925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *328 - *329 - - *330 - *593 - *594 - *595 @@ -87608,8 +87961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *328 - *329 - - *330 - *599 responses: '200': @@ -87646,8 +87999,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87667,7 +88020,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87687,8 +88040,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87713,12 +88066,12 @@ paths: - branch - tag - push - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array @@ -87750,7 +88103,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87770,8 +88123,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87794,8 +88147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *328 - *329 - - *330 - *17 - *19 - name: ruleset_id @@ -87811,7 +88164,7 @@ paths: application/json: schema: type: array - items: *293 + items: *292 examples: default: *603 '404': *6 @@ -87832,8 +88185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87906,21 +88259,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 - *605 - *606 + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -88167,10 +88520,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 - - *301 + - *430 + - *300 responses: '200': description: Response @@ -88228,9 +88581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -88332,9 +88685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 responses: @@ -88469,8 +88822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88545,8 +88898,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: + - *328 - *329 - - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -88665,8 +89018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *328 - *329 - - *330 - *48 - name: sort description: The property to sort the results by. @@ -88735,8 +89088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88809,7 +89162,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89131,8 +89484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -89383,8 +89736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '200': @@ -89417,8 +89770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 requestBody: required: true @@ -89492,7 +89845,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89619,8 +89972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '202': *39 @@ -89648,17 +90001,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *328 - *329 - - *330 - *629 responses: '202': description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -89684,8 +90037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -89784,8 +90137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89827,8 +90180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -89904,8 +90257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90001,8 +90354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *328 - *329 - - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -90156,8 +90509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *328 - *329 - - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -90200,8 +90553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *328 - *329 - - *330 - name: sha in: path required: true @@ -90309,8 +90662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90342,8 +90695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '200': description: if you subscribe to the repository @@ -90417,8 +90770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -90471,8 +90824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -90492,8 +90845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90572,8 +90925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90633,8 +90986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90688,8 +91041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90726,8 +91079,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -90763,8 +91116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90776,7 +91129,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '404': *6 @@ -90796,8 +91149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *328 - *329 - - *330 - *19 - *17 responses: @@ -90840,8 +91193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90895,8 +91248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *328 - *329 - - *330 - &637 name: per description: The time frame to display results for. @@ -91013,8 +91366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91104,8 +91457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91165,8 +91518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *328 - *329 - - *330 - *637 responses: '200': @@ -91263,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -91538,8 +91891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91562,8 +91915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91585,8 +91938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91612,8 +91965,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -91705,9 +92058,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92188,7 +92541,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true comment_count: type: integer @@ -92227,7 +92580,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true parents: type: array @@ -92545,8 +92898,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -92604,7 +92957,7 @@ paths: timeline_url: type: string format: uri - type: *208 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93842,9 +94195,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -93934,16 +94287,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -94013,7 +94366,7 @@ paths: application/json: schema: type: array - items: *316 + items: *315 examples: default: *645 headers: @@ -94078,9 +94431,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -94108,15 +94461,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '200': description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94142,7 +94495,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: false content: @@ -94165,7 +94518,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: *646 x-github: @@ -94193,7 +94546,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '204': description: Response @@ -94223,7 +94576,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *644 - - *318 + - *317 - *48 - *17 - *19 @@ -94234,7 +94587,7 @@ paths: application/json: schema: type: array - items: *319 + items: *318 examples: default: *647 headers: @@ -94266,7 +94619,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94288,9 +94641,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: triggersNotification: true githubCloudOnly: false @@ -94318,16 +94671,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94353,8 +94706,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94376,7 +94729,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: *648 x-github: @@ -94404,8 +94757,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -94435,8 +94788,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94462,9 +94815,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94494,8 +94847,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94527,9 +94880,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94556,7 +94909,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94582,9 +94935,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94614,7 +94967,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94646,9 +94999,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94682,9 +95035,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -94882,7 +95235,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-user-is-a-team-maintainer: *649 '404': *6 @@ -94943,7 +95296,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: *650 '403': @@ -95018,7 +95371,7 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: default: *651 headers: @@ -95047,13 +95400,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *644 - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *327 + schema: *326 examples: default: *652 '404': @@ -95080,7 +95433,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *644 - - *328 + - *327 requestBody: required: false content: @@ -95148,7 +95501,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *644 - - *328 + - *327 responses: '204': description: Response @@ -95187,7 +95540,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -95218,8 +95571,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '200': description: Alternative response with extra repository information @@ -95377,8 +95730,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *644 + - *328 - *329 - - *330 requestBody: required: false content: @@ -95429,8 +95782,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '204': description: Response @@ -96059,9 +96412,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -96200,17 +96553,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96294,7 +96647,7 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -96660,15 +97013,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '401': *25 @@ -96694,7 +97047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 requestBody: required: false content: @@ -96724,9 +97077,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96748,7 +97101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': *39 '304': *37 @@ -96777,7 +97130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': description: Response @@ -96856,7 +97209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *215 + - *214 - name: export_id in: path required: true @@ -96892,7 +97245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *215 + - *214 responses: '200': description: Response @@ -96939,7 +97292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *215 + - *214 requestBody: required: true content: @@ -96989,13 +97342,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *337 + repository: *336 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97769,15 +98122,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '400': *14 @@ -97809,15 +98162,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '500': *104 '401': *25 '403': *29 @@ -97847,7 +98200,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: &674 value: @@ -98936,12 +99289,12 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *204 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -98976,7 +99329,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: value: @@ -99057,7 +99410,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -99082,7 +99435,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -99487,7 +99840,7 @@ paths: application/json: schema: type: array - items: *218 + items: *217 examples: default: value: @@ -99595,7 +99948,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99678,7 +100031,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99746,7 +100099,7 @@ paths: application/json: schema: type: array - items: *220 + items: *219 examples: default: value: @@ -99999,7 +100352,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100179,7 +100532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *221 + - *220 - name: exclude in: query required: false @@ -100192,7 +100545,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100386,7 +100739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *221 + - *220 responses: '302': description: Response @@ -100412,7 +100765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *221 + - *220 responses: '204': description: Response @@ -100441,7 +100794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *221 + - *220 - *671 responses: '204': @@ -100466,7 +100819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *221 + - *220 - *17 - *19 responses: @@ -100478,7 +100831,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -100513,7 +100866,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -100567,7 +100920,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '400': *675 @@ -100590,14 +100943,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: &691 value: @@ -100712,8 +101065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '204': description: Response @@ -100743,8 +101096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - name: token description: package token schema: @@ -100776,8 +101129,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: + - *228 - *229 - - *230 - *19 - *17 - name: state @@ -100797,7 +101150,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -100846,15 +101199,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -100890,9 +101243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100922,9 +101275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100980,7 +101333,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -101471,9 +101824,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101536,7 +101889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -101559,7 +101912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -102128,8 +102481,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: + - *328 - *329 - - *330 responses: '204': description: Response if this repository is starred by you @@ -102157,8 +102510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102182,8 +102535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102218,7 +102571,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '304': *37 @@ -102255,7 +102608,7 @@ paths: application/json: schema: type: array - items: *314 + items: *313 examples: default: value: @@ -102799,7 +103152,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 '201': description: Response content: @@ -102838,7 +103191,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103433,7 +103786,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -103485,7 +103838,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103510,15 +103863,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: *691 x-github: @@ -103541,8 +103894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '204': @@ -103575,8 +103928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 - name: token description: package token @@ -103609,8 +103962,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: + - *228 - *229 - - *230 - *63 responses: '200': @@ -103619,7 +103972,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -103677,16 +104030,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 - *63 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -103721,10 +104074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103756,10 +104109,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103806,7 +104159,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -103881,9 +104234,9 @@ paths: application/json: schema: type: array - items: *244 + items: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103905,16 +104258,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *246 + - *245 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103936,7 +104289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *246 + - *245 - *63 - *17 - *40 @@ -103948,9 +104301,9 @@ paths: application/json: schema: type: array - items: *247 + items: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -103972,7 +104325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *246 + - *245 - *692 - *63 responses: @@ -103980,9 +104333,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -104005,7 +104358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - *40 - *41 @@ -104035,9 +104388,9 @@ paths: application/json: schema: type: array - items: *254 + items: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104059,7 +104412,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -104098,8 +104451,8 @@ paths: application/json: schema: *693 examples: - issue: *253 - pull_request: *253 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -104119,9 +104472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - - *256 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -104138,9 +104491,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104161,9 +104514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104233,13 +104586,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -104259,9 +104612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 responses: '204': description: Response @@ -104509,7 +104862,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -104960,7 +105313,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -106699,7 +107052,7 @@ x-webhooks: type: string pull_requests: type: array - items: *410 + items: *409 repository: *135 status: example: completed @@ -106787,7 +107140,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *410 + items: *409 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110517,7 +110870,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110840,7 +111193,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111170,7 +111523,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111512,7 +111865,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111783,7 +112136,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112057,7 +112410,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112645,7 +112998,7 @@ x-webhooks: type: string enum: - created - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112812,7 +113165,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112892,7 +113245,7 @@ x-webhooks: type: string enum: - updated - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112980,11 +113333,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *261 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *261 + items: *260 required: - action - repository @@ -124460,7 +124813,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -125847,7 +126200,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -127087,7 +127440,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -128697,7 +129050,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -129694,7 +130047,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -130816,7 +131169,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -131824,7 +132177,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -132948,7 +133301,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -133940,7 +134293,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -134956,7 +135309,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -135944,7 +136297,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -136989,7 +137342,7 @@ x-webhooks: required: - login - id - type: *208 + type: *207 required: - id - number @@ -138268,7 +138621,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -139254,7 +139607,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -140343,7 +140696,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -141231,7 +141584,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -141886,7 +142239,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -143038,7 +143391,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -143283,7 +143636,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -150986,7 +151339,7 @@ x-webhooks: - closed installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151069,7 +151422,7 @@ x-webhooks: - created installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151152,7 +151505,7 @@ x-webhooks: - deleted installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151271,7 +151624,7 @@ x-webhooks: type: string installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151388,7 +151741,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -152122,7 +152475,7 @@ x-webhooks: - reopened installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -214796,7 +215149,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214878,7 +215231,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214960,7 +215313,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 changes: type: object properties: @@ -214979,16 +215332,16 @@ x-webhooks: properties: added: type: array - items: *265 + items: *264 deleted: type: array - items: *265 + items: *264 updated: type: array items: type: object properties: - condition: *265 + condition: *264 changes: type: object properties: @@ -217466,11 +217819,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *264 + security_and_analysis: *263 enterprise: *708 installation: *709 organization: *710 - repository: *337 + repository: *336 sender: *4 required: - changes 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 29a86167aa..99de5003e8 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -88543,7 +88543,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -88554,13 +88554,22 @@ "items": { "type": "string", "enum": [ - "patch" + "patch", + "deployment" ] } } ] } }, + { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -164540,6 +164549,1134 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-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": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "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 + } + }, + { + "name": "per_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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "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" + }, + "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" + }, + "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" + ] + } + } + } + } + }, + "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" + ] + } + } + } + }, + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "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": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-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": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-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": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -313625,6 +314762,225 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "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": "repos", + "subcategory": "repos" + } + }, + "delete": { + "summary": "Disable immutable releases", + "description": "Disables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/disable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#disable-immutable-releases" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "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": "repos", + "subcategory": "repos" + } + } + }, "/repos/{owner}/{repo}/import": { "get": { "summary": "Get an import status", 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 de08744190..fe7a0c534c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &306 + type: &305 type: string description: The type of credit the user is receiving. enum: @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &186 + - &185 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: &187 + items: &186 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: &188 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &190 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2845,7 +2845,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &262 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -3283,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &263 + required: &262 - archive_url - assignees_url - blobs_url @@ -8588,7 +8588,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 - - &173 + - &478 name: has in: query description: |- @@ -8602,7 +8602,7 @@ paths: type: string enum: - patch - - &174 + - &173 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8612,7 +8612,7 @@ paths: enum: - development - runtime - - &175 + - &174 name: sort in: query description: |- @@ -8630,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &176 + - &175 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8643,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &177 + - &176 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8663,7 +8663,7 @@ paths: application/json: schema: type: array - items: &178 + items: &177 type: object description: A Dependabot alert. properties: @@ -9017,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &179 + default: &178 value: - number: 2 state: dismissed @@ -9364,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &294 + - &293 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9375,7 +9375,7 @@ paths: enum: - open - resolved - - &295 + - &294 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &296 + - &295 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9394,7 +9394,7 @@ paths: required: false schema: type: string - - &297 + - &296 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. @@ -9410,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &298 + - &297 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9419,7 +9419,7 @@ paths: required: false schema: type: string - - &299 + - &298 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9428,7 +9428,7 @@ paths: schema: type: boolean default: false - - &300 + - &299 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9437,7 +9437,7 @@ paths: schema: type: boolean default: false - - &301 + - &300 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9453,7 +9453,7 @@ paths: application/json: schema: type: array - items: &302 + items: &301 type: object properties: number: *54 @@ -9854,7 +9854,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &303 + default: &302 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10771,7 +10771,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &249 + properties: &248 url: type: string format: uri @@ -10841,7 +10841,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &250 + required: &249 - closed_issues - creator - description @@ -10920,7 +10920,7 @@ paths: timeline_url: type: string format: uri - type: &208 + type: &207 title: Issue Type description: The type of issue. type: object @@ -13588,7 +13588,7 @@ paths: - closed - all default: open - - &211 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13639,7 +13639,7 @@ paths: type: array items: *84 examples: - default: &212 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15024,14 +15024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &329 + - &328 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &330 + - &329 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15102,7 +15102,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &338 + '301': &337 description: Moved permanently content: application/json: @@ -15178,7 +15178,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &181 + properties: &180 id: type: integer format: int64 @@ -15454,7 +15454,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &264 + security_and_analysis: &263 nullable: true type: object properties: @@ -15528,7 +15528,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &182 + required: &181 - archive_url - assignees_url - blobs_url @@ -16158,7 +16158,7 @@ paths: application/json: schema: type: array - items: &217 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17591,7 +17591,7 @@ paths: type: integer repository_cache_usages: type: array - items: &343 + items: &342 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18458,7 +18458,7 @@ paths: - all - local_only - selected - selected_actions_url: &349 + selected_actions_url: &348 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` @@ -18541,7 +18541,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &352 type: object properties: days: @@ -18583,7 +18583,7 @@ paths: required: true content: application/json: - schema: &354 + schema: &353 type: object properties: days: @@ -18640,7 +18640,7 @@ paths: required: - approval_policy examples: - default: &355 + default: &354 value: approval_policy: first_time_contributors '404': *6 @@ -18699,7 +18699,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &355 type: object required: - run_workflows_from_fork_pull_requests @@ -18753,7 +18753,7 @@ paths: required: true content: application/json: - schema: &357 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -19388,7 +19388,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &357 type: object properties: default_workflow_permissions: &128 @@ -19439,7 +19439,7 @@ paths: required: false content: application/json: - schema: &359 + schema: &358 type: object properties: default_workflow_permissions: *128 @@ -20570,7 +20570,7 @@ paths: application/json: schema: type: array - items: &360 + items: &359 title: Runner Application description: Runner Application type: object @@ -20595,7 +20595,7 @@ paths: - download_url - filename examples: - default: &361 + default: &360 value: - os: osx architecture: x64 @@ -20681,7 +20681,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &362 + '201': &361 description: Response content: application/json: @@ -20792,7 +20792,7 @@ paths: - token - expires_at examples: - default: &363 + default: &362 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20831,7 +20831,7 @@ paths: application/json: schema: *139 examples: - default: &364 + default: &363 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20865,7 +20865,7 @@ paths: application/json: schema: *137 examples: - default: &365 + default: &364 value: id: 23 name: MBP @@ -21091,7 +21091,7 @@ paths: - *103 - *136 responses: - '200': &366 + '200': &365 description: Response content: application/json: @@ -21148,7 +21148,7 @@ paths: parameters: - *103 - *136 - - &367 + - &366 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21278,7 +21278,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &378 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21307,7 +21307,7 @@ paths: - key_id - key examples: - default: &380 + default: &379 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21720,7 +21720,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *103 - - &348 + - &347 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)." @@ -22798,7 +22798,7 @@ paths: initiator: type: string examples: - default: &393 + default: &392 value: attestations: - bundle: @@ -23149,7 +23149,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &224 + properties: &223 id: description: Unique identifier of the team type: integer @@ -23221,7 +23221,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &225 + required: &224 - id - node_id - url @@ -23722,7 +23722,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *103 - - &419 + - &418 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`, @@ -23732,7 +23732,7 @@ paths: schema: &154 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &419 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 @@ -23755,7 +23755,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &421 type: string description: State of a code scanning alert. enum: @@ -23778,7 +23778,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &422 type: string description: Severity of a code scanning alert. enum: @@ -23804,7 +23804,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: &424 + instances_url: &423 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -23827,7 +23827,7 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: &425 + dismissed_reason: &424 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23836,13 +23836,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &425 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &426 type: object properties: id: @@ -23895,7 +23895,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &427 type: object properties: name: *154 @@ -23905,15 +23905,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *155 - most_recent_instance: &429 + most_recent_instance: &428 type: object properties: - ref: &421 + ref: &420 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &438 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23924,7 +23924,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &439 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25218,7 +25218,7 @@ paths: type: integer codespaces: type: array - items: &213 + items: &212 type: object title: Codespace description: A codespace. @@ -25248,7 +25248,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &451 name: type: string description: The name of the machine. @@ -25290,7 +25290,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &452 - name - display_name - operating_system @@ -25495,7 +25495,7 @@ paths: - pulls_url - recent_folders examples: - default: &214 + default: &213 value: total_count: 3 codespaces: @@ -26158,7 +26158,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &453 value: total_count: 2 secrets: @@ -26196,7 +26196,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26225,7 +26225,7 @@ paths: - key_id - key examples: - default: &456 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26257,7 +26257,7 @@ paths: application/json: schema: *164 examples: - default: &458 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26724,7 +26724,7 @@ paths: currently being billed. seats: type: array - items: &216 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27255,7 +27255,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27562,7 +27562,7 @@ paths: - date additionalProperties: true examples: - default: &312 + default: &311 value: - date: '2024-06-24' total_active_users: 24 @@ -27664,7 +27664,7 @@ paths: '500': *104 '403': *29 '404': *6 - '422': &313 + '422': &312 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27712,14 +27712,35 @@ paths: Can be: `jfrog-artifactory` schema: type: string + - name: has + in: query + description: |- + Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned. + Multiple `has` filters can be passed to filter for alerts that have all of the values. + schema: + oneOf: + - type: string + - type: array + items: + type: string + enum: + - patch + - deployment + - name: runtime_risk + in: query + description: |- + A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned. + + Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` + schema: + type: string - *173 - *174 - - *175 - *48 - *40 - *41 + - *175 - *176 - - *177 - *17 responses: '200': @@ -27728,9 +27749,9 @@ paths: application/json: schema: type: array - items: *178 + items: *177 examples: - default: *179 + default: *178 '304': *37 '400': *14 '403': *29 @@ -27774,7 +27795,7 @@ paths: type: integer secrets: type: array - items: &180 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27898,7 +27919,7 @@ paths: description: Response content: application/json: - schema: *180 + schema: *179 examples: default: value: @@ -28195,7 +28216,7 @@ paths: application/json: schema: type: array - items: &227 + items: &226 title: Package description: A software package type: object @@ -28245,8 +28266,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *181 - required: *182 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -28265,7 +28286,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &227 value: - id: 197 name: hello_docker @@ -28432,7 +28453,7 @@ paths: application/json: schema: type: array - items: &205 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -28479,7 +28500,7 @@ paths: - invitation_teams_url - node_id examples: - default: &206 + default: &205 value: - id: 1 login: monalisa @@ -28546,7 +28567,7 @@ paths: application/json: schema: type: array - items: &183 + items: &182 title: Org Hook description: Org Hook type: object @@ -28717,9 +28738,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: &184 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28767,7 +28788,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *103 - - &185 + - &184 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. @@ -28780,9 +28801,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -28810,7 +28831,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -28855,7 +28876,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *182 examples: default: value: @@ -28897,7 +28918,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -28925,7 +28946,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 responses: '200': description: Response @@ -28956,7 +28977,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *103 - - *185 + - *184 requestBody: required: false content: @@ -29007,9 +29028,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -29017,9 +29038,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -29045,16 +29066,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -29080,7 +29101,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *103 - - *185 + - *184 - *16 responses: '202': *39 @@ -29110,7 +29131,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *103 - - *185 + - *184 responses: '204': description: Response @@ -29133,7 +29154,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *103 - - &195 + - &194 name: actor_type in: path description: The type of the actor @@ -29146,14 +29167,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &196 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &191 + - &190 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`.' @@ -29161,7 +29182,7 @@ paths: required: true schema: type: string - - &192 + - &191 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) @@ -29255,12 +29276,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *103 + - *190 - *191 - - *192 - *19 - *17 - *48 - - &201 + - &200 name: sort description: The property to sort the results by. in: query @@ -29339,14 +29360,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *103 + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: &193 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29362,7 +29383,7 @@ paths: type: integer format: int64 examples: - default: &194 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29383,23 +29404,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *103 - - &197 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *190 - *191 - - *192 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29418,18 +29439,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *103 + - *190 - *191 - - *192 + - *194 - *195 - - *196 responses: '200': description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -29447,9 +29468,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *103 + - *190 - *191 - - *192 - - &198 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29462,7 +29483,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29478,7 +29499,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29515,18 +29536,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29544,19 +29565,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *103 + - *194 - *195 - - *196 + - *190 - *191 - - *192 - - *198 + - *197 responses: '200': description: Response content: application/json: - schema: *199 + schema: *198 examples: - default: *200 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -29574,13 +29595,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *103 - - *197 + - *196 + - *190 - *191 - - *192 - *19 - *17 - *48 - - *201 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29827,12 +29848,12 @@ paths: application/json: schema: anyOf: - - &203 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &202 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29857,7 +29878,7 @@ paths: properties: {} additionalProperties: false examples: - default: &204 + default: &203 value: limit: collaborators_only origin: organization @@ -29892,7 +29913,7 @@ paths: duration type: object properties: - limit: *202 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29916,9 +29937,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *204 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -29994,9 +30015,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 '404': *6 @@ -30073,7 +30094,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *204 examples: default: value: @@ -30128,7 +30149,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *103 - - &207 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30159,7 +30180,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *103 - - *207 + - *206 - *17 - *19 responses: @@ -30171,7 +30192,7 @@ paths: type: array items: *167 examples: - default: &226 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30214,7 +30235,7 @@ paths: application/json: schema: type: array - items: *208 + items: *207 examples: default: value: @@ -30299,9 +30320,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: &209 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30334,7 +30355,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *103 - - &210 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30387,9 +30408,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *207 examples: - default: *209 + default: *208 '404': *6 '422': *7 x-github: @@ -30414,7 +30435,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *103 - - *210 + - *209 responses: '204': description: Response @@ -30477,7 +30498,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -30508,7 +30529,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -30667,9 +30688,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -30696,7 +30717,7 @@ paths: parameters: - *103 - *63 - - &215 + - &214 name: codespace_name in: path required: true @@ -30731,15 +30752,15 @@ paths: parameters: - *103 - *63 - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: &451 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30919,7 +30940,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *216 + schema: *215 examples: default: value: @@ -30995,7 +31016,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &217 title: Org Membership description: Org Membership type: object @@ -31039,7 +31060,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *217 + organization: *216 user: title: Simple User description: A GitHub user. @@ -31062,7 +31083,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &219 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31159,9 +31180,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *219 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -31232,7 +31253,7 @@ paths: application/json: schema: type: array - items: &220 + items: &219 title: Migration description: A migration. type: object @@ -31561,7 +31582,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31740,7 +31761,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *103 - - &221 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -31767,7 +31788,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -31937,7 +31958,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '302': description: Response @@ -31959,7 +31980,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *103 - - *221 + - *220 responses: '204': description: Response @@ -31983,7 +32004,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *103 - - *221 + - *220 - &671 name: repo_name description: repo_name parameter @@ -32012,7 +32033,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *103 - - *221 + - *220 - *17 - *19 responses: @@ -32024,7 +32045,7 @@ paths: type: array items: *135 examples: - default: &233 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32177,7 +32198,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &223 + items: &222 title: Organization Role description: Organization roles type: object @@ -32352,7 +32373,7 @@ paths: parameters: - *103 - *65 - - &222 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -32389,7 +32410,7 @@ paths: parameters: - *103 - *65 - - *222 + - *221 responses: '204': description: Response @@ -32442,7 +32463,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32474,7 +32495,7 @@ paths: parameters: - *103 - *63 - - *222 + - *221 responses: '204': description: Response @@ -32503,13 +32524,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *103 - - *222 + - *221 responses: '200': description: Response content: application/json: - schema: *223 + schema: *222 examples: default: value: @@ -32560,7 +32581,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32638,8 +32659,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -32671,7 +32692,7 @@ paths: - type - parent examples: - default: *226 + default: *225 headers: Link: *58 '404': @@ -32701,7 +32722,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *103 - - *222 + - *221 - *17 - *19 responses: @@ -32729,13 +32750,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &307 + items: &306 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 name: nullable: true type: string @@ -33059,9 +33080,9 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: - default: *228 + default: *227 '403': *29 '401': *25 '400': &675 @@ -33086,7 +33107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &229 + - &228 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 @@ -33104,7 +33125,7 @@ paths: - docker - nuget - container - - &230 + - &229 name: package_name description: The name of the package. in: path @@ -33117,7 +33138,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *226 examples: default: value: @@ -33169,8 +33190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 responses: '204': @@ -33203,8 +33224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - name: token description: package token @@ -33237,8 +33258,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: + - *228 - *229 - - *230 - *103 - *19 - *17 @@ -33259,7 +33280,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 title: Package Version description: A version of a software package type: object @@ -33384,10 +33405,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - &232 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -33399,7 +33420,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -33435,10 +33456,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33470,10 +33491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: + - *228 - *229 - - *230 - *103 - - *232 + - *231 responses: '204': description: Response @@ -33503,7 +33524,7 @@ paths: - *103 - *17 - *19 - - &234 + - &233 name: sort description: The property by which to sort the results. in: query @@ -33514,7 +33535,7 @@ paths: - created_at default: created_at - *48 - - &235 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33525,7 +33546,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &236 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -33533,7 +33554,7 @@ paths: schema: type: string example: Hello-World - - &237 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -33541,7 +33562,7 @@ paths: schema: type: string example: issues_read - - &238 + - &237 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) @@ -33551,7 +33572,7 @@ paths: schema: type: string format: date-time - - &239 + - &238 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) @@ -33561,7 +33582,7 @@ paths: schema: type: string format: date-time - - &240 + - &239 name: token_id description: The ID of the token in: query @@ -33874,7 +33895,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -33900,14 +33921,14 @@ paths: - *103 - *17 - *19 - - *234 + - *233 - *48 + - *234 - *235 - *236 - *237 - *238 - *239 - - *240 responses: '500': *104 '422': *15 @@ -34189,7 +34210,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -34231,7 +34252,7 @@ paths: type: integer configurations: type: array - items: &241 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34484,7 +34505,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &242 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34580,9 +34601,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -34746,7 +34767,7 @@ paths: application/json: schema: type: array - items: &243 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -34919,7 +34940,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -34957,7 +34978,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &335 + '410': &334 description: Gone content: application/json: @@ -35000,7 +35021,7 @@ paths: application/json: schema: type: array - items: &244 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -35143,7 +35164,7 @@ paths: - deleted_at - deleted_by examples: - default: &245 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35246,7 +35267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &246 + - &245 name: project_number description: The project's number. in: path @@ -35259,9 +35280,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -35283,7 +35304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *246 + - *245 - *103 - *17 - *40 @@ -35295,7 +35316,7 @@ paths: application/json: schema: type: array - items: &247 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35442,7 +35463,7 @@ paths: - updated_at - project_url examples: - default: &248 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35485,7 +35506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *246 + - *245 - &692 name: field_id description: The unique identifier of the field. @@ -35499,9 +35520,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -35524,7 +35545,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - 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) @@ -35554,7 +35575,7 @@ paths: application/json: schema: type: array - items: &254 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -35570,7 +35591,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: &252 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35620,7 +35641,7 @@ paths: - updated_at - archived_at examples: - default: &255 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36315,7 +36336,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *103 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -36366,7 +36387,7 @@ paths: content: oneOf: - *84 - - &466 + - &465 title: Pull Request Simple description: Pull Request Simple type: object @@ -36472,8 +36493,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -36569,7 +36590,7 @@ paths: _links: type: object properties: - comments: &251 + comments: &250 title: Link description: Hypermedia Link type: object @@ -36578,13 +36599,13 @@ paths: type: string required: - href - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -36697,7 +36718,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -36730,7 +36751,7 @@ paths: - updated_at - archived_at examples: - issue: &253 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36785,7 +36806,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *253 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -36805,9 +36826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *246 + - *245 - *103 - - &256 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -36830,9 +36851,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -36853,9 +36874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36925,13 +36946,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -36951,9 +36972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *246 + - *245 - *103 - - *256 + - *255 responses: '204': description: Response @@ -36985,7 +37006,7 @@ paths: application/json: schema: type: array - items: &257 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37051,7 +37072,7 @@ paths: - property_name - value_type examples: - default: &258 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37110,7 +37131,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *257 + items: *256 minItems: 1 maxItems: 100 required: @@ -37140,9 +37161,9 @@ paths: application/json: schema: type: array - items: *257 + items: *256 examples: - default: *258 + default: *257 '403': *29 '404': *6 x-github: @@ -37164,7 +37185,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *103 - - &259 + - &258 name: custom_property_name description: The custom property name in: path @@ -37176,9 +37197,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: &260 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37213,7 +37234,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 requestBody: required: true content: @@ -37282,9 +37303,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *256 examples: - default: *260 + default: *259 '403': *29 '404': *6 x-github: @@ -37308,7 +37329,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *103 - - *259 + - *258 responses: '204': *161 '403': *29 @@ -37369,7 +37390,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &261 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -37456,7 +37477,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - repository_names - properties @@ -37648,7 +37669,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -37850,7 +37871,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &336 title: Full Repository description: Full Repository type: object @@ -38127,8 +38148,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *262 - required: *263 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -38243,7 +38264,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &470 url: type: string format: uri @@ -38259,12 +38280,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &471 - url - key - name - html_url - security_and_analysis: *264 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38348,7 +38369,7 @@ paths: - network_count - subscribers_count examples: - default: &339 + default: &338 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38887,7 +38908,7 @@ paths: application/json: schema: type: array - items: &290 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38922,7 +38943,7 @@ paths: source: type: string description: The name of the source - enforcement: &267 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38935,7 +38956,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &268 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39005,7 +39026,7 @@ paths: conditions: nullable: true anyOf: - - &265 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39029,7 +39050,7 @@ paths: match. items: type: string - - &269 + - &268 title: Organization ruleset conditions type: object description: |- @@ -39043,7 +39064,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39077,7 +39098,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39099,7 +39120,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *265 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39112,7 +39133,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &266 + items: &265 title: Repository ruleset property targeting definition type: object @@ -39145,7 +39166,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *266 + items: *265 required: - repository_property rules: @@ -39155,7 +39176,7 @@ paths: type: object description: A repository rule. oneOf: - - &270 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39167,7 +39188,7 @@ paths: type: string enum: - creation - - &271 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -39188,7 +39209,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &272 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39200,7 +39221,7 @@ paths: type: string enum: - deletion - - &273 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39290,7 +39311,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &274 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39314,7 +39335,7 @@ paths: type: string required: - required_deployment_environments - - &275 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39326,7 +39347,7 @@ paths: type: string enum: - required_signatures - - &276 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39388,7 +39409,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &277 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39436,7 +39457,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &278 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39448,7 +39469,7 @@ paths: type: string enum: - non_fast_forward - - &279 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39484,7 +39505,7 @@ paths: required: - operator - pattern - - &280 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39520,7 +39541,7 @@ paths: required: - operator - pattern - - &281 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39556,7 +39577,7 @@ paths: required: - operator - pattern - - &282 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39592,7 +39613,7 @@ paths: required: - operator - pattern - - &283 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39628,7 +39649,7 @@ paths: required: - operator - pattern - - &284 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39653,7 +39674,7 @@ paths: type: string required: - restricted_file_paths - - &285 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39677,7 +39698,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &286 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39700,7 +39721,7 @@ paths: type: string required: - restricted_file_extensions - - &287 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39725,7 +39746,7 @@ paths: maximum: 100 required: - max_file_size - - &288 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39775,7 +39796,7 @@ paths: - repository_id required: - workflows - - &289 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39934,20 +39955,21 @@ paths: - push - repository default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &292 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 - *270 - *271 - *272 @@ -39967,7 +39989,6 @@ paths: - *286 - *287 - *288 - - *289 required: - name - enforcement @@ -40005,9 +40026,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: &291 + default: &290 value: id: 21 name: super cool ruleset @@ -40407,9 +40428,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 put: @@ -40453,16 +40474,16 @@ paths: - tag - push - repository - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *269 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *292 + items: *291 examples: default: value: @@ -40497,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: - default: *291 + default: *290 '404': *6 '500': *104 delete: @@ -40556,7 +40577,7 @@ paths: application/json: schema: type: array - items: &293 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -40635,7 +40656,7 @@ paths: application/json: schema: &604 allOf: - - *293 + - *292 - type: object required: - state @@ -40705,10 +40726,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *103 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 @@ -40732,10 +40753,10 @@ paths: required: false schema: type: string + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -40743,9 +40764,9 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: - default: *303 + default: *302 headers: Link: *58 '404': *6 @@ -40786,7 +40807,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &305 + pattern_config_version: &304 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40795,7 +40816,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &304 + items: &303 type: object properties: token_type: @@ -40861,7 +40882,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *304 + items: *303 examples: default: value: @@ -40918,7 +40939,7 @@ paths: schema: type: object properties: - pattern_config_version: *305 + pattern_config_version: *304 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40944,7 +40965,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *305 + custom_pattern_version: *304 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41262,7 +41283,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 credits_detailed: type: array nullable: true @@ -41272,7 +41293,7 @@ paths: type: object properties: user: *4 - type: *306 + type: *305 state: type: string description: The state of the user's acceptance of the @@ -41720,9 +41741,9 @@ paths: application/json: schema: type: array - items: *307 + items: *306 examples: - default: *226 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41991,6 +42012,247 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/immutable-releases": + get: + summary: Get immutable releases settings for an organization + description: |- + Gets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '200': + description: Immutable releases settings response + content: + application/json: + schema: + title: Check immutable releases organization settings + description: Check immutable releases settings for an organization. + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repositories_url: + type: string + description: The API URL to use to get or set the selected repositories + for immutable releases enforcement, when `enforced_repositories` + is set to `selected`. + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set immutable releases settings for an organization + description: |- + Sets the immutable releases policy for repositories in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *103 + responses: + '204': + description: Response + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + enforced_repositories: + type: string + description: The policy that controls how immutable releases are + enforced in the organization. + enum: + - all + - none + - selected + example: all + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - enforced_repositories + examples: + default: + value: + enforced_repositories: all + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories": + get: + summary: List selected repositories for immutable releases enforcement + description: |- + List all of the repositories that have been selected for immutable releases enforcement in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/get-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *135 + examples: + default: *147 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + put: + summary: Set selected repositories for immutable releases enforcement + description: |- + Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + tags: + - orgs + operationId: orgs/set-immutable-releases-settings-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - *103 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids for which immutable releases + enforcement should be applied. You can only provide a list of + repository ids when the `enforced_repositories` is set to `selected`. + You can add and remove individual repositories using the [Enable + a selected repository for immutable releases in an organization](https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) + and [Disable a selected repository for immutable releases in an + organization](https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": + put: + summary: Enable a selected repository for immutable releases in an organization + description: |- + Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/enable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs + delete: + summary: Disable a selected repository for immutable releases in an organization + description: |- + Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: orgs/disable-selected-repository-immutable-releases-organization + tags: + - orgs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *103 + - *124 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: orgs "/orgs/{org}/settings/network-configurations": get: summary: List hosted compute network configurations for an organization @@ -42023,7 +42285,7 @@ paths: type: integer network_configurations: type: array - items: &308 + items: &307 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -42143,9 +42405,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: &309 + default: &308 value: id: 123456789ABCDEF name: My network configuration @@ -42174,7 +42436,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - &310 + - &309 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42186,9 +42448,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 headers: Link: *58 x-github: @@ -42210,7 +42472,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - *310 + - *309 requestBody: required: true content: @@ -42249,9 +42511,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *307 examples: - default: *309 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42271,7 +42533,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *103 - - *310 + - *309 responses: '204': description: Response @@ -42411,13 +42673,13 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *312 + default: *311 '500': *104 '403': *29 '404': *6 - '422': *313 + '422': *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42447,7 +42709,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '403': *29 @@ -42541,7 +42803,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &313 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -42604,8 +42866,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *224 - required: *225 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -42868,7 +43130,7 @@ paths: - repos_count - organization examples: - default: &315 + default: &314 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42945,9 +43207,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -43031,16 +43293,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -43110,7 +43372,7 @@ paths: application/json: schema: type: array - items: &316 + items: &315 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43318,9 +43580,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: &317 + default: &316 value: author: login: octocat @@ -43394,7 +43656,7 @@ paths: parameters: - *103 - *65 - - &318 + - &317 name: discussion_number description: The number that identifies the discussion. in: path @@ -43406,9 +43668,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43432,7 +43694,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: false content: @@ -43455,7 +43717,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: &646 value: @@ -43529,7 +43791,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 responses: '204': description: Response @@ -43557,7 +43819,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - *48 - *17 - *19 @@ -43568,7 +43830,7 @@ paths: application/json: schema: type: array - items: &319 + items: &318 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43710,7 +43972,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -43732,9 +43994,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: &320 + default: &319 value: author: login: octocat @@ -43802,8 +44064,8 @@ paths: parameters: - *103 - *65 - - *318 - - &321 + - *317 + - &320 name: comment_number description: The number that identifies the comment. in: path @@ -43815,9 +44077,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43841,8 +44103,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -43864,7 +44126,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: &648 value: @@ -43932,8 +44194,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -43961,8 +44223,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -43988,7 +44250,7 @@ paths: application/json: schema: type: array - items: &322 + items: &321 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44031,7 +44293,7 @@ paths: - content - created_at examples: - default: &324 + default: &323 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44083,8 +44345,8 @@ paths: parameters: - *103 - *65 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -44117,9 +44379,9 @@ paths: team discussion comment content: application/json: - schema: *322 + schema: *321 examples: - default: &323 + default: &322 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44148,9 +44410,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44175,9 +44437,9 @@ paths: parameters: - *103 - *65 - - *318 - - *321 - - &325 + - *317 + - *320 + - &324 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44211,7 +44473,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -44237,9 +44499,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -44267,7 +44529,7 @@ paths: parameters: - *103 - *65 - - *318 + - *317 requestBody: required: true content: @@ -44299,16 +44561,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44333,8 +44595,8 @@ paths: parameters: - *103 - *65 - - *318 - - *325 + - *317 + - *324 responses: '204': description: Response @@ -44369,9 +44631,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -44455,7 +44717,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &325 title: Team Membership description: Team Membership type: object @@ -44545,7 +44807,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: &650 summary: Response if user's membership with team is now pending @@ -44620,7 +44882,7 @@ paths: application/json: schema: type: array - items: &327 + items: &326 title: Team Project description: A team's access to a project. type: object @@ -44753,7 +45015,7 @@ paths: parameters: - *103 - *65 - - &328 + - &327 name: project_id description: The unique identifier of the project. in: path @@ -44765,7 +45027,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: default: &652 value: @@ -44831,7 +45093,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 requestBody: required: false content: @@ -44899,7 +45161,7 @@ paths: parameters: - *103 - *65 - - *328 + - *327 responses: '204': description: Response @@ -44939,7 +45201,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -44970,8 +45232,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '200': description: Alternative response with repository permissions @@ -45548,8 +45810,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 requestBody: required: false content: @@ -45596,8 +45858,8 @@ paths: parameters: - *103 - *65 + - *328 - *329 - - *330 responses: '204': description: Response @@ -45761,7 +46023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &331 + - &330 name: column_id description: The unique identifier of the column. in: path @@ -45773,7 +46035,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &331 title: Project Column description: Project columns contain cards of work. type: object @@ -45819,7 +46081,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &332 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45854,7 +46116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45878,9 +46140,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: - default: *333 + default: *332 '304': *37 '403': *29 '401': *25 @@ -45905,7 +46167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *331 + - *330 responses: '204': description: Response @@ -45934,7 +46196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *331 + - *330 requestBody: required: true content: @@ -45994,15 +46256,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &334 + default: &333 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46059,7 +46321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *328 + - *327 requestBody: required: false content: @@ -46105,9 +46367,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '404': description: Not Found if the authenticated user does not have access to the project @@ -46128,7 +46390,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -46151,7 +46413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *328 + - *327 responses: '204': description: Delete Success @@ -46172,7 +46434,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *334 '404': *6 x-github: githubCloudOnly: false @@ -46196,7 +46458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *328 + - *327 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -46253,7 +46515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *328 + - *327 - *63 requestBody: required: false @@ -46306,7 +46568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *328 + - *327 - *63 responses: '204': @@ -46338,7 +46600,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *328 + - *327 - *63 responses: '200': @@ -46412,7 +46674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *328 + - *327 - *17 - *19 responses: @@ -46422,7 +46684,7 @@ paths: application/json: schema: type: array - items: *332 + items: *331 examples: default: value: @@ -46460,7 +46722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *328 + - *327 requestBody: required: true content: @@ -46483,7 +46745,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *331 examples: default: value: @@ -46548,7 +46810,7 @@ paths: resources: type: object properties: - core: &336 + core: &335 title: Rate Limit type: object properties: @@ -46565,21 +46827,21 @@ paths: - remaining - reset - used - graphql: *336 - search: *336 - code_search: *336 - source_import: *336 - integration_manifest: *336 - code_scanning_upload: *336 - actions_runner_registration: *336 - scim: *336 - dependency_snapshots: *336 - dependency_sbom: *336 - code_scanning_autofix: *336 + graphql: *335 + search: *335 + code_search: *335 + source_import: *335 + integration_manifest: *335 + code_scanning_upload: *335 + actions_runner_registration: *335 + scim: *335 + dependency_snapshots: *335 + dependency_sbom: *335 + code_scanning_autofix: *335 required: - core - search - rate: *336 + rate: *335 required: - rate - resources @@ -46684,14 +46946,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *337 + schema: *336 examples: default-response: summary: Default response @@ -47192,7 +47454,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47210,8 +47472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -47458,10 +47720,10 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 - '307': &340 + default: *338 + '307': &339 description: Temporary Redirect content: application/json: @@ -47490,8 +47752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -47513,7 +47775,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *340 + '307': *339 '404': *6 '409': *47 x-github: @@ -47537,11 +47799,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &371 + - &370 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -47564,7 +47826,7 @@ paths: type: integer artifacts: type: array - items: &341 + items: &340 title: Artifact description: An artifact type: object @@ -47642,7 +47904,7 @@ paths: - expires_at - updated_at examples: - default: &372 + default: &371 value: total_count: 2 artifacts: @@ -47703,9 +47965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *328 - *329 - - *330 - - &342 + - &341 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47717,7 +47979,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *340 examples: default: value: @@ -47755,9 +48017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 responses: '204': description: Response @@ -47781,9 +48043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *328 - *329 - - *330 - - *342 + - *341 - name: archive_format in: path required: true @@ -47797,7 +48059,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': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47820,14 +48082,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *343 + schema: *342 examples: default: value: @@ -47853,11 +48115,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 - - &344 + - &343 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 @@ -47891,7 +48153,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &344 title: Repository actions caches description: Repository actions caches type: object @@ -47933,7 +48195,7 @@ paths: - total_count - actions_caches examples: - default: &346 + default: &345 value: total_count: 1 actions_caches: @@ -47965,23 +48227,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: + - *328 - *329 - - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *344 + - *343 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: - default: *346 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48001,8 +48263,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: + - *328 - *329 - - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48033,9 +48295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - &347 + - &346 name: job_id description: The unique identifier of the job. in: path @@ -48047,7 +48309,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &374 title: Job description: Information of a job execution in a workflow run type: object @@ -48354,9 +48616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 responses: '302': description: Response @@ -48384,9 +48646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *347 + - *346 requestBody: required: false content: @@ -48431,8 +48693,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: + - *328 - *329 - - *330 responses: '200': description: Status response @@ -48482,8 +48744,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -48546,8 +48808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -48565,7 +48827,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &376 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -48585,7 +48847,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &377 value: total_count: 2 secrets: @@ -48618,9 +48880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -48637,7 +48899,7 @@ paths: type: integer variables: type: array - items: &381 + items: &380 title: Actions Variable type: object properties: @@ -48667,7 +48929,7 @@ paths: - created_at - updated_at examples: - default: &382 + default: &381 value: total_count: 2 variables: @@ -48700,8 +48962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48710,11 +48972,11 @@ paths: schema: type: object properties: - enabled: &350 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *120 - selected_actions_url: *349 + selected_actions_url: *348 sha_pinning_required: *121 required: - enabled @@ -48743,8 +49005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48755,7 +49017,7 @@ paths: schema: type: object properties: - enabled: *350 + enabled: *349 allowed_actions: *120 sha_pinning_required: *121 required: @@ -48787,14 +49049,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: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: &351 + schema: &350 type: object properties: access_level: @@ -48811,7 +49073,7 @@ paths: required: - access_level examples: - default: &352 + default: &351 value: access_level: organization x-github: @@ -48835,15 +49097,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: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *351 + schema: *350 examples: - default: *352 + default: *351 responses: '204': description: Response @@ -48867,14 +49129,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: default: value: @@ -48898,8 +49160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Empty response for successful settings update @@ -48909,7 +49171,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *353 examples: default: summary: Set retention days @@ -48933,8 +49195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -48942,7 +49204,7 @@ paths: application/json: schema: *122 examples: - default: *355 + default: *354 '404': *6 x-github: enabledForGitHubApps: true @@ -48961,8 +49223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -48996,14 +49258,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: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *356 + schema: *355 examples: default: *123 '403': *29 @@ -49025,13 +49287,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: + - *328 - *329 - - *330 requestBody: required: true content: application/json: - schema: *357 + schema: *356 examples: default: *123 responses: @@ -49057,8 +49319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49085,8 +49347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -49118,14 +49380,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *358 + schema: *357 examples: default: *130 x-github: @@ -49148,8 +49410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Success response @@ -49160,7 +49422,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *358 examples: default: *130 x-github: @@ -49189,8 +49451,8 @@ paths: in: query schema: type: string + - *328 - *329 - - *330 - *17 - *19 responses: @@ -49234,8 +49496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -49243,9 +49505,9 @@ paths: application/json: schema: type: array - items: *360 + items: *359 examples: - default: *361 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49267,8 +49529,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -49311,7 +49573,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *362 + '201': *361 '404': *6 '422': *7 '409': *47 @@ -49342,8 +49604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49351,7 +49613,7 @@ paths: application/json: schema: *139 examples: - default: *363 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49379,8 +49641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -49388,7 +49650,7 @@ paths: application/json: schema: *139 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49410,8 +49672,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: + - *328 - *329 - - *330 - *136 responses: '200': @@ -49420,7 +49682,7 @@ paths: application/json: schema: *137 examples: - default: *365 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49441,8 +49703,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: + - *328 - *329 - - *330 - *136 responses: '204': @@ -49469,8 +49731,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: + - *328 - *329 - - *330 - *136 responses: '200': *141 @@ -49495,8 +49757,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: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49545,8 +49807,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: + - *328 - *329 - - *330 - *136 requestBody: required: true @@ -49596,11 +49858,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: + - *328 - *329 - - *330 - *136 responses: - '200': *366 + '200': *365 '404': *6 x-github: githubCloudOnly: false @@ -49627,10 +49889,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: + - *328 - *329 - - *330 - *136 - - *367 + - *366 responses: '200': *141 '404': *6 @@ -49658,9 +49920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *328 - *329 - - *330 - - &385 + - &384 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. @@ -49668,7 +49930,7 @@ paths: required: false schema: type: string - - &386 + - &385 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -49676,7 +49938,7 @@ paths: required: false schema: type: string - - &387 + - &386 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -49685,7 +49947,7 @@ paths: required: false schema: type: string - - &388 + - &387 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 @@ -49712,7 +49974,7 @@ paths: - pending - *17 - *19 - - &389 + - &388 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)." @@ -49721,7 +49983,7 @@ paths: schema: type: string format: date-time - - &368 + - &367 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -49730,13 +49992,13 @@ paths: schema: type: boolean default: false - - &390 + - &389 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &391 + - &390 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49759,7 +50021,7 @@ paths: type: integer workflow_runs: type: array - items: &369 + items: &368 title: Workflow Run description: An invocation of a workflow type: object @@ -49854,7 +50116,7 @@ paths: that triggered the run. type: array nullable: true - items: &410 + items: &409 title: Pull Request Minimal type: object properties: @@ -49973,7 +50235,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &413 id: type: string description: SHA for the commit @@ -50024,7 +50286,7 @@ paths: - name - email nullable: true - required: &415 + required: &414 - id - tree_id - message @@ -50071,7 +50333,7 @@ paths: - workflow_url - pull_requests examples: - default: &392 + default: &391 value: total_count: 1 workflow_runs: @@ -50307,24 +50569,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *328 - *329 - - *330 - - &370 + - &369 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: &373 + default: &372 value: id: 30433642 name: Build @@ -50565,9 +50827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -50590,9 +50852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -50711,9 +50973,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: + - *328 - *329 - - *330 - - *370 + - *369 responses: '201': description: Response @@ -50746,12 +51008,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *328 - *329 - - *330 - - *370 + - *369 - *17 - *19 - - *371 + - *370 responses: '200': description: Response @@ -50767,9 +51029,9 @@ paths: type: integer artifacts: type: array - items: *341 + items: *340 examples: - default: *372 + default: *371 headers: Link: *58 x-github: @@ -50793,25 +51055,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - &374 + - *369 + - &373 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *368 + - *367 responses: '200': description: Response content: application/json: - schema: *369 + schema: *368 examples: - default: *373 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50834,10 +51096,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 - *17 - *19 responses: @@ -50855,9 +51117,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: &376 + default: &375 value: total_count: 1 jobs: @@ -50970,10 +51232,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *328 - *329 - - *330 - - *370 - - *374 + - *369 + - *373 responses: '302': description: Response @@ -51001,9 +51263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51036,9 +51298,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: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51105,9 +51367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '202': description: Response @@ -51140,9 +51402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 - 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 @@ -51172,9 +51434,9 @@ paths: type: integer jobs: type: array - items: *375 + items: *374 examples: - default: *376 + default: *375 headers: Link: *58 x-github: @@ -51199,9 +51461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '302': description: Response @@ -51228,9 +51490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '204': description: Response @@ -51257,9 +51519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51404,9 +51666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: true content: @@ -51615,9 +51877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51661,9 +51923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *328 - *329 - - *330 - - *370 + - *369 requestBody: required: false content: @@ -51716,9 +51978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *328 - *329 - - *330 - - *370 + - *369 responses: '200': description: Response @@ -51855,8 +52117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -51874,9 +52136,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -51901,16 +52163,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51932,15 +52194,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *377 + schema: *376 examples: default: &505 value: @@ -51968,8 +52230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -52027,8 +52289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -52054,9 +52316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *328 - *329 - - *330 - - *348 + - *347 - *19 responses: '200': @@ -52073,9 +52335,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -52098,8 +52360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -52151,15 +52413,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '200': description: Response content: application/json: - schema: *381 + schema: *380 examples: default: &506 value: @@ -52187,8 +52449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 requestBody: required: true @@ -52231,8 +52493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *328 - *329 - - *330 - *146 responses: '204': @@ -52258,8 +52520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52277,7 +52539,7 @@ paths: type: integer workflows: type: array - items: &383 + items: &382 title: Workflow description: A GitHub Actions workflow type: object @@ -52384,9 +52646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *328 - *329 - - *330 - - &384 + - &383 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52401,7 +52663,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -52434,9 +52696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52461,9 +52723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52514,9 +52776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '204': description: Response @@ -52543,19 +52805,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *328 - *329 - - *330 + - *383 - *384 - *385 - *386 - *387 - - *388 - *17 - *19 + - *388 + - *367 - *389 - - *368 - *390 - - *391 responses: '200': description: Response @@ -52571,9 +52833,9 @@ paths: type: integer workflow_runs: type: array - items: *369 + items: *368 examples: - default: *392 + default: *391 headers: Link: *58 x-github: @@ -52605,9 +52867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *328 - *329 - - *330 - - *384 + - *383 responses: '200': description: Response @@ -52668,8 +52930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *328 - *329 - - *330 - *48 - *17 - *40 @@ -52833,8 +53095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -52871,8 +53133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *328 - *329 - - *330 - name: assignee in: path required: true @@ -52908,8 +53170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53021,8 +53283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *328 - *329 - - *330 - *17 - *40 - *41 @@ -53078,7 +53340,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53098,8 +53360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -53107,7 +53369,7 @@ paths: application/json: schema: type: array - items: &394 + items: &393 title: Autolink reference description: An autolink reference. type: object @@ -53161,8 +53423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -53201,9 +53463,9 @@ paths: description: response content: application/json: - schema: *394 + schema: *393 examples: - default: &395 + default: &394 value: id: 1 key_prefix: TICKET- @@ -53234,9 +53496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *328 - *329 - - *330 - - &396 + - &395 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53248,9 +53510,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *393 examples: - default: *395 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -53270,9 +53532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *328 - *329 - - *330 - - *396 + - *395 responses: '204': description: Response @@ -53296,8 +53558,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: + - *328 - *329 - - *330 responses: '200': description: Response if Dependabot is enabled @@ -53345,8 +53607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53367,8 +53629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -53388,8 +53650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *328 - *329 - - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53427,7 +53689,7 @@ paths: - url protected: type: boolean - protection: &398 + protection: &397 title: Branch Protection description: Branch Protection type: object @@ -53469,7 +53731,7 @@ paths: required: - contexts - checks - enforce_admins: &401 + enforce_admins: &400 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53484,7 +53746,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &403 + required_pull_request_reviews: &402 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53560,7 +53822,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &400 + restrictions: &399 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53837,9 +54099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *328 - *329 - - *330 - - &399 + - &398 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). @@ -53853,14 +54115,14 @@ paths: description: Response content: application/json: - schema: &409 + schema: &408 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &461 title: Commit description: Commit type: object @@ -53894,7 +54156,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &397 + properties: &396 name: type: string example: '"Chris Wanstrath"' @@ -53909,7 +54171,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true message: type: string @@ -54000,7 +54262,7 @@ paths: type: integer files: type: array - items: &475 + items: &474 title: Diff Entry description: Diff Entry type: object @@ -54084,7 +54346,7 @@ paths: - self protected: type: boolean - protection: *398 + protection: *397 protection_url: type: string format: uri @@ -54191,7 +54453,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -54213,15 +54475,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *398 + schema: *397 examples: default: value: @@ -54415,9 +54677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -54672,7 +54934,7 @@ paths: url: type: string format: uri - required_status_checks: &406 + required_status_checks: &405 title: Status Check Policy description: Status Check Policy type: object @@ -54824,7 +55086,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *400 + restrictions: *399 required_conversation_resolution: type: object properties: @@ -54936,9 +55198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -54963,17 +55225,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &402 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54995,17 +55257,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *402 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55024,9 +55286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55051,17 +55313,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: &404 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55157,9 +55419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55257,9 +55519,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *402 examples: - default: *404 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -55280,9 +55542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55309,17 +55571,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: &405 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55342,17 +55604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *401 + schema: *400 examples: - default: *405 + default: *404 '404': *6 x-github: githubCloudOnly: false @@ -55372,9 +55634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55399,17 +55661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: &407 + default: &406 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55435,9 +55697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55489,9 +55751,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 '404': *6 '422': *15 x-github: @@ -55513,9 +55775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55539,9 +55801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55575,9 +55837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55644,9 +55906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -55710,9 +55972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -55778,15 +56040,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response content: application/json: - schema: *400 + schema: *399 examples: default: value: @@ -55877,9 +56139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '204': description: Response @@ -55902,9 +56164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -55914,7 +56176,7 @@ paths: type: array items: *5 examples: - default: &408 + default: &407 value: - id: 1 slug: octoapp @@ -55971,9 +56233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56007,7 +56269,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56028,9 +56290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56064,7 +56326,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56085,9 +56347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56121,7 +56383,7 @@ paths: type: array items: *5 examples: - default: *408 + default: *407 '422': *15 x-github: githubCloudOnly: false @@ -56143,9 +56405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56155,7 +56417,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -56175,9 +56437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56215,7 +56477,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56236,9 +56498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: false content: @@ -56276,7 +56538,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56297,9 +56559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: content: application/json: @@ -56336,7 +56598,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -56358,9 +56620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 responses: '200': description: Response @@ -56394,9 +56656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56454,9 +56716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56514,9 +56776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56576,9 +56838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 requestBody: required: true content: @@ -56600,7 +56862,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *408 examples: default: value: @@ -56716,8 +56978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -56996,7 +57258,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &410 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57115,7 +57377,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *410 + items: *409 deployment: &713 title: Deployment description: A deployment created as the result of an Actions @@ -57396,9 +57658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *328 - *329 - - *330 - - &412 + - &411 name: check_run_id description: The unique identifier of the check run. in: path @@ -57410,9 +57672,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: &413 + default: &412 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -57512,9 +57774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 requestBody: required: true content: @@ -57754,9 +58016,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *410 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57776,9 +58038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *328 - *329 - - *330 - - *412 + - *411 - *17 - *19 responses: @@ -57873,9 +58135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *328 - *329 - - *330 - - *412 + - *411 responses: '201': description: Response @@ -57919,8 +58181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -57942,7 +58204,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &415 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58006,7 +58268,7 @@ paths: nullable: true pull_requests: type: array - items: *410 + items: *409 nullable: true app: title: GitHub app @@ -58032,8 +58294,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *413 + required: *414 latest_check_runs_count: type: integer check_runs_url: @@ -58061,7 +58323,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &416 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58352,9 +58614,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58373,8 +58635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -58683,9 +58945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *328 - *329 - - *330 - - &418 + - &417 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58697,9 +58959,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58722,17 +58984,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 - - &468 + - *417 + - &467 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &468 name: status description: Returns check runs with the specified `status`. in: query @@ -58771,9 +59033,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: &470 + default: &469 value: total_count: 1 check_runs: @@ -58875,9 +59137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *328 - *329 - - *330 - - *418 + - *417 responses: '201': description: Response @@ -58910,21 +59172,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - &437 + - &436 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: *421 - - &438 + schema: *420 + - &437 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58949,13 +59211,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *421 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *422 responses: '200': description: Response @@ -58971,7 +59233,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -58982,11 +59244,11 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *424 + dismissed_comment: *425 + rule: *426 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59112,7 +59374,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &429 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59139,9 +59401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - &431 + - &430 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59155,7 +59417,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &431 type: object properties: number: *54 @@ -59163,7 +59425,7 @@ paths: updated_at: *151 url: *56 html_url: *57 - instances_url: *424 + instances_url: *423 state: *156 fixed_at: *152 dismissed_by: @@ -59174,8 +59436,8 @@ paths: required: *21 nullable: true dismissed_at: *153 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 rule: type: object properties: @@ -59229,8 +59491,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *427 + most_recent_instance: *428 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59329,7 +59591,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59349,9 +59611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -59366,8 +59628,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *424 + dismissed_comment: *425 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59386,7 +59648,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *431 examples: default: value: @@ -59462,7 +59724,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &435 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -59489,15 +59751,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: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: Response content: application/json: - schema: &433 + schema: &432 type: object properties: status: @@ -59523,13 +59785,13 @@ paths: - description - started_at examples: - default: &434 + default: &433 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &434 description: Bad Request content: application/json: @@ -59540,7 +59802,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': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59565,29 +59827,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: + - *328 - *329 - - *330 - - *431 + - *430 responses: '200': description: OK content: application/json: - schema: *433 + schema: *432 examples: - default: *434 + default: *433 '202': description: Accepted content: application/json: - schema: *433 + schema: *432 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *434 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -59619,9 +59881,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: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: false content: @@ -59666,8 +59928,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *434 + '403': *435 '404': *6 '422': description: Unprocessable Entity @@ -59691,13 +59953,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 + - *436 - *437 - - *438 responses: '200': description: Response @@ -59705,7 +59967,7 @@ paths: application/json: schema: type: array - items: *429 + items: *428 examples: default: value: @@ -59744,7 +60006,7 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59778,25 +60040,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *328 - *329 - - *330 + - *418 - *419 - - *420 - *19 - *17 - - *438 + - *437 - 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: *421 + schema: *420 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59817,23 +60079,23 @@ paths: application/json: schema: type: array - items: &442 + items: &441 type: object properties: - ref: *421 - commit_sha: &450 + ref: *420 + commit_sha: &449 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: *439 + analysis_key: *438 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *439 error: type: string example: error reading field xyz @@ -59857,8 +60119,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *440 + tool: *427 deletable: type: boolean warning: @@ -59919,7 +60181,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -59955,8 +60217,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: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59969,7 +60231,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: response: summary: application/json response @@ -60023,7 +60285,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *429 '404': *6 '422': description: Response if analysis could not be processed @@ -60110,8 +60372,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: + - *328 - *329 - - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60164,7 +60426,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': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60186,8 +60448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -60195,7 +60457,7 @@ paths: application/json: schema: type: array - items: &443 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -60306,7 +60568,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': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60335,8 +60597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60348,7 +60610,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: value: @@ -60380,9 +60642,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': &477 + '302': &476 description: Found - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -60404,8 +60666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *328 - *329 - - *330 - name: language in: path description: The language of the CodeQL database. @@ -60415,7 +60677,7 @@ paths: responses: '204': description: Response - '403': *436 + '403': *435 '404': *6 '503': *72 x-github: @@ -60443,8 +60705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -60453,7 +60715,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -60532,7 +60794,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -60542,7 +60804,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -60589,7 +60851,7 @@ paths: items: type: object properties: - repository: &445 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -60625,7 +60887,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -60657,7 +60919,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -60671,7 +60933,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: *445 + items: *444 required: - repository_count - repositories @@ -60693,8 +60955,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -60710,7 +60972,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &446 summary: Default response value: id: 1 @@ -60862,10 +61124,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -60893,8 +61155,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: + - *328 - *329 - - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60906,9 +61168,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *447 examples: - default: *447 + default: *446 '404': *6 '503': *72 x-github: @@ -60931,7 +61193,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: - - *329 + - *328 - name: repo in: path description: The name of the controller repository. @@ -60966,7 +61228,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61091,8 +61353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61177,7 +61439,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *429 '404': *6 '503': *72 x-github: @@ -61198,8 +61460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61291,7 +61553,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *435 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -61362,8 +61624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -61371,7 +61633,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *449 ref: type: string description: |- @@ -61429,7 +61691,7 @@ paths: schema: type: object properties: - id: *441 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -61443,7 +61705,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': *436 + '403': *435 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -61466,8 +61728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *328 - *329 - - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -61513,7 +61775,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': *430 + '403': *429 '404': description: Not Found if the sarif id does not match any upload '503': *72 @@ -61538,8 +61800,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: + - *328 - *329 - - *330 responses: '200': description: Response @@ -61620,8 +61882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *328 - *329 - - *330 - 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 @@ -61741,8 +62003,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -61758,7 +62020,7 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: default: value: @@ -62056,8 +62318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -62120,17 +62382,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '400': *14 '401': *25 '403': *29 @@ -62159,8 +62421,8 @@ paths: parameters: - *17 - *19 + - *328 - *329 - - *330 responses: '200': description: Response @@ -62224,8 +62486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *328 - *329 - - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -62264,8 +62526,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 examples: default: &662 value: @@ -62307,8 +62569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *328 - *329 - - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -62392,8 +62654,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: + - *328 - *329 - - *330 - 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 @@ -62459,8 +62721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -62478,7 +62740,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -62498,7 +62760,7 @@ paths: - created_at - updated_at examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -62521,16 +62783,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -62550,17 +62812,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': description: Response content: application/json: - schema: *457 + schema: *456 examples: - default: *458 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62580,8 +62842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -62634,8 +62896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -62664,8 +62926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *328 - *329 - - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -62707,7 +62969,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &458 login: type: string example: octocat @@ -62800,7 +63062,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &459 - avatar_url - events_url - followers_url @@ -62874,8 +63136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -62922,8 +63184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 requestBody: required: false @@ -63179,8 +63441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *328 - *329 - - *330 - *63 responses: '204': @@ -63212,8 +63474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *328 - *329 - - *330 - *63 responses: '200': @@ -63234,8 +63496,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *458 + required: *459 nullable: true required: - permission @@ -63290,8 +63552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -63301,7 +63563,7 @@ paths: application/json: schema: type: array - items: &461 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -63359,7 +63621,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &463 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63418,17 +63680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: &465 + default: &464 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63485,8 +63747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63509,7 +63771,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: default: value: @@ -63560,8 +63822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -63583,8 +63845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -63611,9 +63873,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -63634,8 +63896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -63668,16 +63930,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -63699,10 +63961,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -63751,8 +64013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *328 - *329 - - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63808,7 +64070,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: &575 value: @@ -63904,9 +64166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *328 - *329 - - *330 - - &463 + - &462 name: commit_sha description: The SHA of the commit. in: path @@ -63978,9 +64240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -63990,9 +64252,9 @@ paths: application/json: schema: type: array - items: *461 + items: *460 examples: - default: *464 + default: *463 headers: Link: *58 x-github: @@ -64020,9 +64282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *328 - *329 - - *330 - - *463 + - *462 requestBody: required: true content: @@ -64057,9 +64319,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: *465 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64087,9 +64349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *328 - *329 - - *330 - - *463 + - *462 - *17 - *19 responses: @@ -64099,7 +64361,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: &567 value: @@ -64638,11 +64900,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *328 - *329 - - *330 - *19 - *17 - - &467 + - &466 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)" @@ -64657,7 +64919,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *461 examples: default: &554 value: @@ -64772,11 +65034,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *328 - *329 - - *330 + - *466 - *467 - *468 - - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64810,9 +65072,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *410 examples: - default: *470 + default: *469 headers: Link: *58 x-github: @@ -64837,9 +65099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64847,7 +65109,7 @@ paths: schema: type: integer example: 1 - - *468 + - *467 - *17 - *19 responses: @@ -64865,7 +65127,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *415 examples: default: value: @@ -65065,9 +65327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65265,9 +65527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *328 - *329 - - *330 - - *467 + - *466 - *17 - *19 responses: @@ -65358,7 +65620,7 @@ paths: site_admin: false headers: Link: *58 - '301': *338 + '301': *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65386,8 +65648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -65416,20 +65678,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *470 + required: *471 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &472 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &473 - url - html_url nullable: true @@ -65443,26 +65705,26 @@ paths: contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *472 + required: *473 nullable: true required: - code_of_conduct @@ -65589,8 +65851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *328 - *329 - - *330 - *19 - *17 - name: basehead @@ -65633,8 +65895,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *461 + merge_base_commit: *461 status: type: string enum: @@ -65654,10 +65916,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *461 files: type: array - items: *475 + items: *474 required: - url - html_url @@ -65943,8 +66205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66087,7 +66349,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &475 summary: Response if content is a file value: type: file @@ -66420,7 +66682,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *475 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66489,7 +66751,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *476 '304': *37 x-github: githubCloudOnly: false @@ -66512,8 +66774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66606,7 +66868,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &477 title: File Commit description: File Commit type: object @@ -66758,7 +67020,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: example-for-creating-a-file: value: @@ -66865,8 +67127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *328 - *329 - - *330 - name: path description: path parameter in: path @@ -66927,7 +67189,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *477 examples: default: value: @@ -66982,8 +67244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *328 - *329 - - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -67106,8 +67368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *328 - *329 - - *330 - *168 - *169 - *170 @@ -67119,9 +67381,9 @@ paths: schema: type: string - *172 + - *478 - *173 - *174 - - *175 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -67141,8 +67403,8 @@ paths: default: 30 - *40 - *41 + - *175 - *176 - - *177 responses: '200': description: Response @@ -67457,8 +67719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *328 - *329 - - *330 - &482 name: alert_number in: path @@ -67587,8 +67849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *328 - *329 - - *330 - *482 requestBody: required: true @@ -67763,8 +68025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -67835,8 +68097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -67864,8 +68126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '200': @@ -67898,8 +68160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 requestBody: required: true @@ -67952,8 +68214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *328 - *329 - - *330 - *143 responses: '204': @@ -67976,8 +68238,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: + - *328 - *329 - - *330 - 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 @@ -68137,8 +68399,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: + - *328 - *329 - - *330 responses: '200': description: Response @@ -68377,8 +68639,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68628,8 +68890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *328 - *329 - - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -68737,8 +68999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -68892,8 +69154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *328 - *329 - - *330 - &489 name: deployment_id description: deployment_id parameter @@ -68971,8 +69233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *328 - *329 - - *330 - *489 responses: '204': @@ -68995,8 +69257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *328 - *329 - - *330 - *489 - *17 - *19 @@ -69168,8 +69430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 requestBody: required: true @@ -69303,8 +69565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *328 - *329 - - *330 - *489 - name: status_id in: path @@ -69343,8 +69605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -69401,8 +69663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -69648,8 +69910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *328 - *329 - - *330 - &494 name: environment_name in: path @@ -69749,8 +70011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *328 - *329 - - *330 - *494 requestBody: required: false @@ -69829,8 +70091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *328 - *329 - - *330 - *494 responses: '204': @@ -69856,8 +70118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -69933,8 +70195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70025,8 +70287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - &500 name: branch_policy_id @@ -70061,8 +70323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 requestBody: @@ -70113,8 +70375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *328 - *329 - - *330 - *494 - *500 responses: @@ -70142,8 +70404,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *494 - - *330 - *329 + - *328 responses: '200': description: List of deployment protection rules @@ -70278,8 +70540,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *494 - - *330 - *329 + - *328 requestBody: content: application/json: @@ -70338,8 +70600,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *19 - *17 responses: @@ -70393,8 +70655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *328 - *329 - - *330 - *494 - &504 name: protection_rule_id @@ -70432,8 +70694,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *494 - - *330 - *329 + - *328 - *504 responses: '204': @@ -70460,8 +70722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *328 - *329 - - *330 - *494 - *17 - *19 @@ -70480,9 +70742,9 @@ paths: type: integer secrets: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 headers: Link: *58 x-github: @@ -70507,17 +70769,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *328 - *329 - - *330 - *494 responses: '200': description: Response content: application/json: - schema: *379 + schema: *378 examples: - default: *380 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70539,8 +70801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70548,7 +70810,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *376 examples: default: *505 x-github: @@ -70572,8 +70834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 requestBody: @@ -70632,8 +70894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *328 - *329 - - *330 - *494 - *143 responses: @@ -70660,10 +70922,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *328 - *329 - - *330 - *494 - - *348 + - *347 - *19 responses: '200': @@ -70680,9 +70942,9 @@ paths: type: integer variables: type: array - items: *381 + items: *380 examples: - default: *382 + default: *381 headers: Link: *58 x-github: @@ -70705,8 +70967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 requestBody: required: true @@ -70759,8 +71021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *328 - *329 - - *330 - *494 - *146 responses: @@ -70768,7 +71030,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *380 examples: default: *506 x-github: @@ -70791,8 +71053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 requestBody: @@ -70836,8 +71098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *328 - *329 - - *330 - *146 - *494 responses: @@ -70861,8 +71123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -70939,8 +71201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *328 - *329 - - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71099,8 +71361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -71132,9 +71394,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -71155,8 +71417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71241,8 +71503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *328 - *329 - - *330 - name: file_sha in: path required: true @@ -71341,8 +71603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71665,9 +71927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *328 - *329 - - *330 - - *463 + - *462 responses: '200': description: Response @@ -71729,8 +71991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *328 - *329 - - *330 - &509 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -71823,8 +72085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '200': @@ -71862,8 +72124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -71920,8 +72182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *328 - *329 - - *330 - *509 requestBody: required: true @@ -71971,8 +72233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *328 - *329 - - *330 - *509 responses: '204': @@ -72028,8 +72290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72230,8 +72492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *328 - *329 - - *330 - name: tag_sha in: path required: true @@ -72268,8 +72530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -72438,8 +72700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *328 - *329 - - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72521,8 +72783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -72660,8 +72922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -72763,9 +73025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72793,9 +73055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: true content: @@ -72863,9 +73125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -72889,9 +73151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '200': description: Response @@ -72918,9 +73180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *328 - *329 - - *330 - - *185 + - *184 requestBody: required: false content: @@ -72964,11 +73226,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *17 - - *186 + - *185 responses: '200': description: Response @@ -72976,9 +73238,9 @@ paths: application/json: schema: type: array - items: *187 + items: *186 examples: - default: *188 + default: *187 '400': *14 '422': *15 x-github: @@ -72997,18 +73259,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '400': *14 '422': *15 x-github: @@ -73027,9 +73289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 - *16 responses: '202': *39 @@ -73052,9 +73314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73079,9 +73341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *328 - *329 - - *330 - - *185 + - *184 responses: '204': description: Response @@ -73091,6 +73353,97 @@ paths: enabledForGitHubApps: true category: repos subcategory: webhooks + "/repos/{owner}/{repo}/immutable-releases": + get: + summary: Check if immutable releases are enabled for a repository + description: |- + Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being + enforced by the repository owner. The authenticated user must have admin read access to the repository. + tags: + - repos + operationId: repos/check-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *328 + - *329 + responses: + '200': + description: Response if immutable releases are enabled + content: + application/json: + schema: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + example: true + description: Whether immutable releases are enabled for the repository. + enforced_by_owner: + type: boolean + example: false + description: Whether immutable releases are enforced by the repository + owner. + required: + - enabled + - enforced_by_owner + examples: + default: + value: + enabled: true + enforced_by_owner: false + '404': + description: Not Found if immutable releases are not enabled for the repository + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + put: + summary: Enable immutable releases + description: Enables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/enable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#enable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + delete: + summary: Disable immutable releases + description: Disables immutable releases for a repository. The authenticated + user must have admin access to the repository. + tags: + - repos + operationId: repos/disable-immutable-releases + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#disable-immutable-releases + parameters: + - *328 + - *329 + responses: + '204': *161 + '409': *47 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -73139,8 +73492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73290,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73392,8 +73745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -73513,8 +73866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73544,8 +73897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *328 - *329 - - *330 - &684 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -73639,8 +73992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *328 - *329 - - *330 - name: author_id in: path required: true @@ -73707,8 +74060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73777,8 +74130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73832,8 +74185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73842,7 +74195,7 @@ paths: schema: *22 examples: default: *522 - '301': *338 + '301': *337 '404': *6 x-github: githubCloudOnly: false @@ -73862,8 +74215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -73871,7 +74224,7 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false @@ -73901,8 +74254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -73919,7 +74272,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: *524 '409': @@ -73943,8 +74296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -73967,8 +74320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -74111,9 +74464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 requestBody: required: false content: @@ -74273,9 +74626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *328 - *329 - - *330 - - *207 + - *206 responses: '204': description: Response @@ -74306,8 +74659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *328 - *329 - - *330 - 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 @@ -74355,7 +74708,7 @@ paths: required: false schema: type: string - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -74528,7 +74881,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *338 + '301': *337 '422': *15 '404': *6 x-github: @@ -74557,8 +74910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -74798,7 +75151,7 @@ paths: '422': *15 '503': *72 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -74826,8 +75179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *328 - *329 - - *330 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74908,8 +75261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -74972,8 +75325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75016,8 +75369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -75038,8 +75391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75066,9 +75419,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -75089,8 +75442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -75123,16 +75476,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -75154,10 +75507,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -75177,8 +75530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -75539,8 +75892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *328 - *329 - - *330 - name: event_id in: path required: true @@ -75744,7 +76097,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *335 + '410': *334 '403': *29 x-github: githubCloudOnly: false @@ -75778,8 +76131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *328 - *329 - - *330 - &532 name: issue_number description: The number that identifies the issue. @@ -75795,9 +76148,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '304': *37 x-github: githubCloudOnly: false @@ -75822,8 +76175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -75934,9 +76287,9 @@ paths: '422': *15 '503': *72 '403': *29 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75954,8 +76307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -76000,8 +76353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: content: @@ -76051,8 +76404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *328 - *329 - - *330 - *532 - name: assignee in: path @@ -76093,8 +76446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *328 - *329 - - *330 - *532 - *74 - *17 @@ -76112,7 +76465,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76141,8 +76494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76174,7 +76527,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76202,8 +76555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76219,9 +76572,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76249,8 +76602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -76281,9 +76634,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *338 + '301': *337 '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -76314,8 +76667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *328 - *329 - - *330 - *532 - name: issue_id in: path @@ -76331,12 +76684,12 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,8 +76715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -76379,9 +76732,9 @@ paths: default: *534 headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76398,8 +76751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77251,7 +77604,7 @@ paths: color: red headers: Link: *58 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77268,8 +77621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77345,9 +77698,9 @@ paths: default: false headers: Link: *58 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77364,8 +77717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77428,9 +77781,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77447,8 +77800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77512,9 +77865,9 @@ paths: items: *535 examples: default: *536 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 '422': *15 x-github: githubCloudOnly: false @@ -77531,15 +77884,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': description: Response - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77558,8 +77911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: name in: path @@ -77584,9 +77937,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77606,8 +77959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: false @@ -77636,7 +77989,7 @@ paths: '204': description: Response '403': *29 - '410': *335 + '410': *334 '404': *6 '422': *15 x-github: @@ -77654,8 +78007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *328 - *329 - - *330 - *532 responses: '204': @@ -77686,8 +78039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *328 - *329 - - *330 - *532 responses: '200': @@ -77697,9 +78050,9 @@ paths: schema: *84 examples: default: *531 - '301': *338 + '301': *337 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77716,8 +78069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77744,13 +78097,13 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77768,8 +78121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77802,16 +78155,16 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -77833,10 +78186,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *328 - *329 - - *330 - *532 - - *325 + - *324 responses: '204': description: Response @@ -77865,8 +78218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -77924,8 +78277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -77942,7 +78295,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77970,8 +78323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78008,7 +78361,7 @@ paths: schema: type: string '403': *29 - '410': *335 + '410': *334 '422': *15 '404': *6 x-github: @@ -78028,8 +78381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *328 - *329 - - *330 - *532 requestBody: required: true @@ -78085,8 +78438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *328 - *329 - - *330 - *532 - *17 - *19 @@ -78632,7 +78985,7 @@ paths: type: string comments: type: array - items: *461 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78921,7 +79274,7 @@ paths: headers: Link: *58 '404': *6 - '410': *335 + '410': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78938,8 +79291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79015,8 +79368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79088,8 +79441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *328 - *329 - - *330 - &552 name: key_id description: The unique identifier of the key. @@ -79122,8 +79475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *328 - *329 - - *330 - *552 responses: '204': @@ -79144,8 +79497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -79178,8 +79531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79249,8 +79602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79280,8 +79633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79346,8 +79699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *328 - *329 - - *330 - name: name in: path required: true @@ -79373,8 +79726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -79413,9 +79766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *328 - *329 - - *330 - - *437 + - *436 responses: '200': description: Response @@ -79560,8 +79913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79626,8 +79979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79661,7 +80014,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *461 examples: default: *554 '204': @@ -79688,8 +80041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *328 - *329 - - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79734,8 +80087,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 examples: default: value: @@ -79791,8 +80144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -79893,8 +80246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *328 - *329 - - *330 - &557 name: milestone_number description: The number that identifies the milestone. @@ -79926,8 +80279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *328 - *329 - - *330 - *557 requestBody: required: false @@ -79984,8 +80337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *328 - *329 - - *330 - *557 responses: '204': @@ -80007,8 +80360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *328 - *329 - - *330 - *557 - *17 - *19 @@ -80040,8 +80393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *328 - *329 - - *330 - *558 - *559 - *74 @@ -80081,8 +80434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -80140,8 +80493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80313,8 +80666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80393,8 +80746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80493,8 +80846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -80520,8 +80873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -80625,8 +80978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *328 - *329 - - *330 responses: '201': description: Response @@ -80671,8 +81024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -80728,8 +81081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *328 - *329 - - *330 - name: build_id in: path required: true @@ -80762,8 +81115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -80868,8 +81221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -80928,8 +81281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *328 - *329 - - *330 - *566 responses: '204': *161 @@ -80957,8 +81310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81216,8 +81569,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: + - *328 - *329 - - *330 responses: '200': description: Private vulnerability reporting status @@ -81254,8 +81607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81276,8 +81629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': *161 '422': *14 @@ -81300,8 +81653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: + - *328 - *329 - - *330 - name: state description: Indicates the state of the projects to return. in: query @@ -81322,7 +81675,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -81362,7 +81715,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81385,8 +81738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81412,13 +81765,13 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *334 + default: *333 '401': *25 '403': *29 '404': *6 - '410': *335 + '410': *334 '422': *7 x-github: githubCloudOnly: false @@ -81441,8 +81794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -81450,7 +81803,7 @@ paths: application/json: schema: type: array - items: *261 + items: *260 examples: default: value: @@ -81481,8 +81834,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: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81494,7 +81847,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *261 + items: *260 required: - properties examples: @@ -81544,8 +81897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *328 - *329 - - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81605,7 +81958,7 @@ paths: application/json: schema: type: array - items: *466 + items: *465 examples: default: *567 headers: @@ -81639,8 +81992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -81816,8 +82169,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -81862,7 +82215,7 @@ paths: nullable: true requested_teams: type: array - items: *307 + items: *306 nullable: true head: type: object @@ -81901,14 +82254,14 @@ paths: _links: type: object properties: - comments: *251 - commits: *251 - statuses: *251 - html: *251 - issue: *251 - review_comments: *251 - review_comment: *251 - self: *251 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -82538,8 +82891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *328 - *329 - - *330 - name: sort in: query required: false @@ -82647,8 +83000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '200': @@ -82732,8 +83085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82774,8 +83127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *83 responses: '204': @@ -82797,8 +83150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82825,9 +83178,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -82848,8 +83201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *328 - *329 - - *330 - *83 requestBody: required: true @@ -82882,16 +83235,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -82913,10 +83266,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *328 - *329 - - *330 - *83 - - *325 + - *324 responses: '204': description: Response @@ -82959,8 +83312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *328 - *329 - - *330 - &573 name: pull_number description: The number that identifies the pull request. @@ -83011,8 +83364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83079,8 +83432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83141,17 +83494,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -83181,8 +83534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *94 - name: direction @@ -83239,8 +83592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -83434,8 +83787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *328 - *329 - - *330 - *573 - *83 requestBody: @@ -83545,8 +83898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83557,7 +83910,7 @@ paths: application/json: schema: type: array - items: *462 + items: *461 examples: default: *575 headers: @@ -83589,8 +83942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -83601,7 +83954,7 @@ paths: application/json: schema: type: array - items: *475 + items: *474 examples: default: value: @@ -83639,8 +83992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *328 - *329 - - *330 - *573 responses: '204': @@ -83664,8 +84017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83777,8 +84130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 responses: '200': @@ -83854,8 +84207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -83893,7 +84246,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84429,8 +84782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: true @@ -84465,7 +84818,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: value: @@ -84970,8 +85323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *17 - *19 @@ -85133,8 +85486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85286,8 +85639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - &577 name: review_id @@ -85362,8 +85715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85450,8 +85803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 responses: @@ -85488,8 +85841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *328 - *329 - - *330 - *573 - *577 - *17 @@ -85574,9 +85927,9 @@ paths: _links: type: object properties: - self: *251 - html: *251 - pull_request: *251 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -85726,8 +86079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85820,8 +86173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *328 - *329 - - *330 - *573 - *577 requestBody: @@ -85882,8 +86235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *328 - *329 - - *330 - *573 requestBody: required: false @@ -85947,8 +86300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *328 - *329 - - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86005,8 +86358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *328 - *329 - - *330 - name: dir description: The alternate path to look for a README file in: path @@ -86050,8 +86403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -86319,8 +86672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86503,8 +86856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *328 - *329 - - *330 - &584 name: asset_id description: The unique identifier of the asset. @@ -86554,7 +86907,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86570,8 +86923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *328 - *329 - - *330 - *584 requestBody: required: false @@ -86618,8 +86971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *328 - *329 - - *330 - *584 responses: '204': @@ -86644,8 +86997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -86730,8 +87083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -86756,8 +87109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *328 - *329 - - *330 - name: tag description: tag parameter in: path @@ -86794,8 +87147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *328 - *329 - - *330 - &587 name: release_id description: The unique identifier of the release. @@ -86830,8 +87183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: false @@ -86919,8 +87272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *328 - *329 - - *330 - *587 responses: '204': @@ -86941,8 +87294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *328 - *329 - - *330 - *587 - *17 - *19 @@ -87034,8 +87387,8 @@ 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: + - *328 - *329 - - *330 - *587 - name: name in: query @@ -87117,8 +87470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *328 - *329 - - *330 - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87143,9 +87496,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 '404': *6 @@ -87166,8 +87519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *328 - *329 - - *330 - *587 requestBody: required: true @@ -87198,16 +87551,16 @@ paths: description: Reaction exists content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '201': description: Reaction created content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 '422': *15 x-github: githubCloudOnly: false @@ -87229,10 +87582,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *328 - *329 - - *330 - *587 - - *325 + - *324 responses: '204': description: Response @@ -87256,9 +87609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *328 - *329 - - *330 - - *399 + - *398 - *17 - *19 responses: @@ -87274,7 +87627,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *270 + - *269 - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -87294,6 +87647,9 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *588 - allOf: - *271 - *588 @@ -87301,10 +87657,10 @@ paths: - *272 - *588 - allOf: - - *273 + - *589 - *588 - allOf: - - *589 + - *273 - *588 - allOf: - *274 @@ -87351,9 +87707,6 @@ paths: - allOf: - *288 - *588 - - allOf: - - *289 - - *588 - allOf: - *590 - *588 @@ -87395,8 +87748,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - *17 - *19 - name: includes_parents @@ -87415,7 +87768,7 @@ paths: application/json: schema: type: array - items: *290 + items: *289 examples: default: value: @@ -87462,8 +87815,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 requestBody: description: Request body required: true @@ -87483,12 +87836,12 @@ paths: - tag - push default: branch - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. @@ -87523,7 +87876,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: &602 value: @@ -87572,8 +87925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *328 - *329 - - *330 - *593 - *594 - *595 @@ -87608,8 +87961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *328 - *329 - - *330 - *599 responses: '200': @@ -87646,8 +87999,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87667,7 +88020,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87687,8 +88040,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87713,12 +88066,12 @@ paths: - branch - tag - push - enforcement: *267 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *268 - conditions: *265 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array @@ -87750,7 +88103,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *289 examples: default: *602 '404': *6 @@ -87770,8 +88123,8 @@ paths: category: repos subcategory: rules parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87794,8 +88147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *328 - *329 - - *330 - *17 - *19 - name: ruleset_id @@ -87811,7 +88164,7 @@ paths: application/json: schema: type: array - items: *293 + items: *292 examples: default: *603 '404': *6 @@ -87832,8 +88185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *328 - *329 - - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87906,21 +88259,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *328 - *329 - - *330 + - *293 - *294 - *295 - *296 - - *297 - *48 - *19 - *17 - *605 - *606 + - *297 - *298 - *299 - *300 - - *301 responses: '200': description: Response @@ -88167,10 +88520,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 - - *301 + - *430 + - *300 responses: '200': description: Response @@ -88228,9 +88581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 requestBody: required: true content: @@ -88332,9 +88685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *328 - *329 - - *330 - - *431 + - *430 - *19 - *17 responses: @@ -88469,8 +88822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88545,8 +88898,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: + - *328 - *329 - - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -88665,8 +89018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *328 - *329 - - *330 - *48 - name: sort description: The property to sort the results by. @@ -88735,8 +89088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -88809,7 +89162,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89131,8 +89484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -89383,8 +89736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '200': @@ -89417,8 +89770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 requestBody: required: true @@ -89492,7 +89845,7 @@ paths: login: type: string description: The username of the user credited. - type: *306 + type: *305 required: - login - type @@ -89619,8 +89972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: + - *328 - *329 - - *330 - *629 responses: '202': *39 @@ -89648,17 +90001,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *328 - *329 - - *330 - *629 responses: '202': description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 '400': *14 '422': *15 '403': *29 @@ -89684,8 +90037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -89784,8 +90137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89827,8 +90180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -89904,8 +90257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90001,8 +90354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *328 - *329 - - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -90156,8 +90509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *328 - *329 - - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -90200,8 +90553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *328 - *329 - - *330 - name: sha in: path required: true @@ -90309,8 +90662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90342,8 +90695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '200': description: if you subscribe to the repository @@ -90417,8 +90770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *328 - *329 - - *330 requestBody: required: false content: @@ -90471,8 +90824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -90492,8 +90845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90572,8 +90925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -90633,8 +90986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90688,8 +91041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *328 - *329 - - *330 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90726,8 +91079,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -90763,8 +91116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *328 - *329 - - *330 - *17 - *19 responses: @@ -90776,7 +91129,7 @@ paths: type: array items: *167 examples: - default: *226 + default: *225 headers: Link: *58 '404': *6 @@ -90796,8 +91149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *328 - *329 - - *330 - *19 - *17 responses: @@ -90840,8 +91193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -90895,8 +91248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *328 - *329 - - *330 - &637 name: per description: The time frame to display results for. @@ -91013,8 +91366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91104,8 +91457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *328 - *329 - - *330 responses: '200': description: Response @@ -91165,8 +91518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *328 - *329 - - *330 - *637 responses: '200': @@ -91263,8 +91616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *328 - *329 - - *330 requestBody: required: true content: @@ -91538,8 +91891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *328 - *329 - - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91562,8 +91915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91585,8 +91938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -91612,8 +91965,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *328 - *329 - - *330 - name: ref in: path required: true @@ -91705,9 +92058,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92188,7 +92541,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true comment_count: type: integer @@ -92227,7 +92580,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *397 + properties: *396 nullable: true parents: type: array @@ -92545,8 +92898,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *249 - required: *250 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -92604,7 +92957,7 @@ paths: timeline_url: type: string format: uri - type: *208 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93842,9 +94195,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -93934,16 +94287,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '201': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 '404': *6 '422': *15 '403': *29 @@ -94013,7 +94366,7 @@ paths: application/json: schema: type: array - items: *316 + items: *315 examples: default: *645 headers: @@ -94078,9 +94431,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -94108,15 +94461,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '200': description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94142,7 +94495,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: false content: @@ -94165,7 +94518,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: *646 x-github: @@ -94193,7 +94546,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *644 - - *318 + - *317 responses: '204': description: Response @@ -94223,7 +94576,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *644 - - *318 + - *317 - *48 - *17 - *19 @@ -94234,7 +94587,7 @@ paths: application/json: schema: type: array - items: *319 + items: *318 examples: default: *647 headers: @@ -94266,7 +94619,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94288,9 +94641,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: triggersNotification: true githubCloudOnly: false @@ -94318,16 +94671,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *318 examples: - default: *320 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94353,8 +94706,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94376,7 +94729,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *318 examples: default: *648 x-github: @@ -94404,8 +94757,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 responses: '204': description: Response @@ -94435,8 +94788,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94462,9 +94815,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94494,8 +94847,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *644 - - *318 - - *321 + - *317 + - *320 requestBody: required: true content: @@ -94527,9 +94880,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94556,7 +94909,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94582,9 +94935,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *324 + default: *323 headers: Link: *58 x-github: @@ -94614,7 +94967,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *644 - - *318 + - *317 requestBody: required: true content: @@ -94646,9 +94999,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *323 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94682,9 +95035,9 @@ paths: application/json: schema: type: array - items: *205 + items: *204 examples: - default: *206 + default: *205 headers: Link: *58 x-github: @@ -94882,7 +95235,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-user-is-a-team-maintainer: *649 '404': *6 @@ -94943,7 +95296,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *325 examples: response-if-users-membership-with-team-is-now-pending: *650 '403': @@ -95018,7 +95371,7 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: default: *651 headers: @@ -95047,13 +95400,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *644 - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *327 + schema: *326 examples: default: *652 '404': @@ -95080,7 +95433,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *644 - - *328 + - *327 requestBody: required: false content: @@ -95148,7 +95501,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *644 - - *328 + - *327 responses: '204': description: Response @@ -95187,7 +95540,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -95218,8 +95571,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '200': description: Alternative response with extra repository information @@ -95377,8 +95730,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *644 + - *328 - *329 - - *330 requestBody: required: false content: @@ -95429,8 +95782,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *644 + - *328 - *329 - - *330 responses: '204': description: Response @@ -96059,9 +96412,9 @@ paths: type: integer codespaces: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 '304': *37 '500': *104 '401': *25 @@ -96200,17 +96553,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96294,7 +96647,7 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *453 headers: Link: *58 x-github: @@ -96660,15 +97013,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '401': *25 @@ -96694,7 +97047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 requestBody: required: false content: @@ -96724,9 +97077,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '401': *25 '403': *29 '404': *6 @@ -96748,7 +97101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': *39 '304': *37 @@ -96777,7 +97130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '202': description: Response @@ -96856,7 +97209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *215 + - *214 - name: export_id in: path required: true @@ -96892,7 +97245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *215 + - *214 responses: '200': description: Response @@ -96939,7 +97292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *215 + - *214 requestBody: required: true content: @@ -96989,13 +97342,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *337 + repository: *336 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97769,15 +98122,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '304': *37 '500': *104 '400': *14 @@ -97809,15 +98162,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *215 + - *214 responses: '200': description: Response content: application/json: - schema: *213 + schema: *212 examples: - default: *451 + default: *450 '500': *104 '401': *25 '403': *29 @@ -97847,7 +98200,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: &674 value: @@ -98936,12 +99289,12 @@ paths: application/json: schema: anyOf: - - *203 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *204 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -98976,7 +99329,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: default: value: @@ -99057,7 +99410,7 @@ paths: - closed - all default: open - - *211 + - *210 - name: sort description: What to sort results by. in: query @@ -99082,7 +99435,7 @@ paths: type: array items: *84 examples: - default: *212 + default: *211 headers: Link: *58 '404': *6 @@ -99487,7 +99840,7 @@ paths: application/json: schema: type: array - items: *218 + items: *217 examples: default: value: @@ -99595,7 +99948,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99678,7 +100031,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *217 examples: default: value: @@ -99746,7 +100099,7 @@ paths: application/json: schema: type: array - items: *220 + items: *219 examples: default: value: @@ -99999,7 +100352,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100179,7 +100532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *221 + - *220 - name: exclude in: query required: false @@ -100192,7 +100545,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *219 examples: default: value: @@ -100386,7 +100739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *221 + - *220 responses: '302': description: Response @@ -100412,7 +100765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *221 + - *220 responses: '204': description: Response @@ -100441,7 +100794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *221 + - *220 - *671 responses: '204': @@ -100466,7 +100819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *221 + - *220 - *17 - *19 responses: @@ -100478,7 +100831,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '404': *6 @@ -100513,7 +100866,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -100567,7 +100920,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '400': *675 @@ -100590,14 +100943,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: &691 value: @@ -100712,8 +101065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 responses: '204': description: Response @@ -100743,8 +101096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - name: token description: package token schema: @@ -100776,8 +101129,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: + - *228 - *229 - - *230 - *19 - *17 - name: state @@ -100797,7 +101150,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -100846,15 +101199,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -100890,9 +101243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100922,9 +101275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 responses: '204': description: Response @@ -100980,7 +101333,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: default: value: @@ -101471,9 +101824,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *336 examples: - default: *339 + default: *338 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101536,7 +101889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -101559,7 +101912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *207 + - *206 responses: '204': description: Response @@ -102128,8 +102481,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: + - *328 - *329 - - *330 responses: '204': description: Response if this repository is starred by you @@ -102157,8 +102510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102182,8 +102535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *328 - *329 - - *330 responses: '204': description: Response @@ -102218,7 +102571,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 '304': *37 @@ -102255,7 +102608,7 @@ paths: application/json: schema: type: array - items: *314 + items: *313 examples: default: value: @@ -102799,7 +103152,7 @@ paths: initiator: type: string examples: - default: *393 + default: *392 '201': description: Response content: @@ -102838,7 +103191,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103433,7 +103786,7 @@ paths: application/json: schema: type: array - items: *217 + items: *216 examples: default: *672 headers: @@ -103485,7 +103838,7 @@ paths: application/json: schema: type: array - items: *227 + items: *226 examples: default: *674 '403': *29 @@ -103510,15 +103863,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '200': description: Response content: application/json: - schema: *227 + schema: *226 examples: default: *691 x-github: @@ -103541,8 +103894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 responses: '204': @@ -103575,8 +103928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: + - *228 - *229 - - *230 - *63 - name: token description: package token @@ -103609,8 +103962,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: + - *228 - *229 - - *230 - *63 responses: '200': @@ -103619,7 +103972,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -103677,16 +104030,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: + - *228 - *229 - - *230 - - *232 + - *231 - *63 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -103721,10 +104074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103756,10 +104109,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: + - *228 - *229 - - *230 - *63 - - *232 + - *231 responses: '204': description: Response @@ -103806,7 +104159,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -103881,9 +104234,9 @@ paths: application/json: schema: type: array - items: *244 + items: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103905,16 +104258,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *246 + - *245 - *63 responses: '200': description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *245 + default: *244 headers: Link: *58 '304': *37 @@ -103936,7 +104289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *246 + - *245 - *63 - *17 - *40 @@ -103948,9 +104301,9 @@ paths: application/json: schema: type: array - items: *247 + items: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -103972,7 +104325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *246 + - *245 - *692 - *63 responses: @@ -103980,9 +104333,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *58 '304': *37 @@ -104005,7 +104358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - *40 - *41 @@ -104035,9 +104388,9 @@ paths: application/json: schema: type: array - items: *254 + items: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104059,7 +104412,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *246 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -104098,8 +104451,8 @@ paths: application/json: schema: *693 examples: - issue: *253 - pull_request: *253 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -104119,9 +104472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *246 + - *245 - *63 - - *256 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -104138,9 +104491,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *255 + default: *254 headers: Link: *58 '304': *37 @@ -104161,9 +104514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104233,13 +104586,13 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - text_field: *255 - number_field: *255 - date_field: *255 - single_select_field: *255 - iteration_field: *255 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -104259,9 +104612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *246 + - *245 - *63 - - *256 + - *255 responses: '204': description: Response @@ -104509,7 +104862,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -104960,7 +105313,7 @@ paths: type: array items: *135 examples: - default: *233 + default: *232 headers: Link: *58 x-github: @@ -106699,7 +107052,7 @@ x-webhooks: type: string pull_requests: type: array - items: *410 + items: *409 repository: *135 status: example: completed @@ -106787,7 +107140,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *410 + items: *409 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110517,7 +110870,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110840,7 +111193,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111170,7 +111523,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111512,7 +111865,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111783,7 +112136,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112057,7 +112410,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *425 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112645,7 +112998,7 @@ x-webhooks: type: string enum: - created - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112812,7 +113165,7 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112892,7 +113245,7 @@ x-webhooks: type: string enum: - updated - definition: *257 + definition: *256 enterprise: *708 installation: *709 organization: *710 @@ -112980,11 +113333,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *261 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *261 + items: *260 required: - action - repository @@ -124460,7 +124813,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -125847,7 +126200,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -127087,7 +127440,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -128697,7 +129050,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -129694,7 +130047,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -130816,7 +131169,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -131824,7 +132177,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -132948,7 +133301,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -133940,7 +134293,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -134956,7 +135309,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *208 + type: *207 title: description: Title of the issue type: string @@ -135944,7 +136297,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -136989,7 +137342,7 @@ x-webhooks: required: - login - id - type: *208 + type: *207 required: - id - number @@ -138268,7 +138621,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -139254,7 +139607,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -140343,7 +140696,7 @@ x-webhooks: format: uri user_view_type: type: string - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -141231,7 +141584,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -141886,7 +142239,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -143038,7 +143391,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *208 + type: *207 updated_at: type: string format: date-time @@ -143283,7 +143636,7 @@ x-webhooks: enterprise: *708 installation: *709 issue: *735 - type: *208 + type: *207 organization: *710 repository: *711 sender: *4 @@ -150986,7 +151339,7 @@ x-webhooks: - closed installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151069,7 +151422,7 @@ x-webhooks: - created installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151152,7 +151505,7 @@ x-webhooks: - deleted installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151271,7 +151624,7 @@ x-webhooks: type: string installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -151388,7 +151741,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *252 + content_type: *251 creator: *4 created_at: type: string @@ -152122,7 +152475,7 @@ x-webhooks: - reopened installation: *709 organization: *710 - projects_v2: *244 + projects_v2: *243 sender: *4 required: - action @@ -214796,7 +215149,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214878,7 +215231,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 sender: *4 required: - action @@ -214960,7 +215313,7 @@ x-webhooks: installation: *709 organization: *710 repository: *711 - repository_ruleset: *290 + repository_ruleset: *289 changes: type: object properties: @@ -214979,16 +215332,16 @@ x-webhooks: properties: added: type: array - items: *265 + items: *264 deleted: type: array - items: *265 + items: *264 updated: type: array items: type: object properties: - condition: *265 + condition: *264 changes: type: object properties: @@ -217466,11 +217819,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *264 + security_and_analysis: *263 enterprise: *708 installation: *709 organization: *710 - repository: *337 + repository: *336 sender: *4 required: - changes diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c04e8687c3..96641ab89c 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -128627,7 +128627,7 @@ { "name": "has", "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", + "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values.", "schema": { "oneOf": [ { @@ -128638,13 +128638,22 @@ "items": { "type": "string", "enum": [ - "patch" + "patch", + "deployment" ] } } ] } }, + { + "name": "runtime_risk", + "in": "query", + "description": "A comma-separated list of runtime risk strings. If specified, only alerts for repositories with deployment records matching these risks will be returned.\n\nCan be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement`", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -207583,6 +207592,1146 @@ } } }, + "/orgs/{org}/settings/immutable-releases": { + "get": { + "summary": "Get immutable releases settings for an organization", + "description": "Gets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Immutable releases settings response", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases organization settings", + "description": "Check immutable releases settings for an organization.", + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories for immutable releases enforcement, when `enforced_repositories` is set to `selected`." + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set immutable releases settings for an organization", + "description": "Sets the immutable releases policy for repositories in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enforced_repositories": { + "type": "string", + "description": "The policy that controls how immutable releases are enforced in the organization.", + "enum": [ + "all", + "none", + "selected" + ], + "example": "all" + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "enforced_repositories" + ] + }, + "examples": { + "default": { + "value": { + "enforced_repositories": "all" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories": { + "get": { + "summary": "List selected repositories for immutable releases enforcement", + "description": "List all of the repositories that have been selected for immutable releases enforcement in an organization.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/get-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST 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 + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST 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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "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" + }, + "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" + }, + "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" + ] + } + } + } + } + }, + "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" + ] + } + } + } + }, + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "put": { + "summary": "Set selected repositories for immutable releases enforcement", + "description": "Replaces all repositories that have been selected for immutable releases enforcement in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-immutable-releases-settings-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement" + }, + "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": { + "type": "array", + "description": "An array of repository ids for which immutable releases enforcement should be applied. You can only provide a list of repository ids when the `enforced_repositories` is set to `selected`. You can add and remove individual repositories using the [Enable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization) and [Disable a selected repository for immutable releases in an organization](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/settings/immutable-releases/repositories/{repository_id}": { + "put": { + "summary": "Enable a selected repository for immutable releases in an organization", + "description": "Adds a repository to the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/enable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "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": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "delete": { + "summary": "Disable a selected repository for immutable releases in an organization", + "description": "Removes a repository from the list of selected repositories that are enforced for immutable releases in an organization. To use this endpoint, the organization immutable releases policy for `enforced_repositories` must be configured to `selected`.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "operationId": "orgs/disable-selected-repository-immutable-releases-organization", + "tags": [ + "orgs" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization" + }, + "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": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, "/orgs/{org}/settings/network-configurations": { "get": { "summary": "List hosted compute network configurations for an organization", @@ -364099,6 +365248,225 @@ } } }, + "/repos/{owner}/{repo}/immutable-releases": { + "get": { + "summary": "Check if immutable releases are enabled for a repository", + "description": "Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being\nenforced by the repository owner. The authenticated user must have admin read access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/check-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response if immutable releases are enabled", + "content": { + "application/json": { + "schema": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "example": true, + "description": "Whether immutable releases are enabled for the repository." + }, + "enforced_by_owner": { + "type": "boolean", + "example": false, + "description": "Whether immutable releases are enforced by the repository owner." + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, + "examples": { + "default": { + "value": { + "enabled": true, + "enforced_by_owner": false + } + } + } + } + } + }, + "404": { + "description": "Not Found if immutable releases are not enabled for the repository" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + }, + "put": { + "summary": "Enable immutable releases", + "description": "Enables immutable releases for a repository. The authenticated user must have admin access to the repository.", + "tags": [ + "repos" + ], + "operationId": "repos/enable-immutable-releases", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses":{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}