diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 9a9d2881dc..383f4a8580 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -16454,7 +16454,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" @@ -16724,9 +16727,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -16741,8 +16751,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -25838,6 +25848,305 @@ } } }, + "/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" + ], + "examples": [ + "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", @@ -49192,6 +49501,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", @@ -102002,7 +102430,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -105888,6 +106316,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -119313,6 +119751,32 @@ "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" + ], + "examples": [ + "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.", @@ -130060,6 +130524,31 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -135275,6 +135764,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -151944,6 +152443,16 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -287414,7 +287923,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -309523,7 +310052,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -316975,6 +317524,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 79702d8c27..4249cd2160 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -11967,7 +11967,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" @@ -12162,9 +12163,13 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -12174,8 +12179,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -18613,6 +18618,231 @@ 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 + examples: + - 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 @@ -35813,6 +36043,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 @@ -73545,8 +73855,8 @@ components: - write organization_custom_properties: type: string - description: The level of permission to grant the access token for custom - property management. + description: The level of permission to grant the access token for repository + custom properties management at the organization level. enum: - read - write @@ -76563,6 +76873,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -86529,6 +86843,28 @@ 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 + examples: + - 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. @@ -94336,6 +94672,24 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository owner. + examples: + - false + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -97872,6 +98226,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -110221,6 +110579,10 @@ components: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211667,6 +212029,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 enterprise-teams-items: value: - id: 1 @@ -230663,6 +231044,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 secret-scanning-alert-open: value: number: 42 @@ -237164,6 +237564,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 9a9d2881dc..383f4a8580 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -16454,7 +16454,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" @@ -16724,9 +16727,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -16741,8 +16751,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -25838,6 +25848,305 @@ } } }, + "/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" + ], + "examples": [ + "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", @@ -49192,6 +49501,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", @@ -102002,7 +102430,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -105888,6 +106316,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -119313,6 +119751,32 @@ "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" + ], + "examples": [ + "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.", @@ -130060,6 +130524,31 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -135275,6 +135764,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -151944,6 +152443,16 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -287414,7 +287923,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -309523,7 +310052,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -316975,6 +317524,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 79702d8c27..4249cd2160 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -11967,7 +11967,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" @@ -12162,9 +12163,13 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -12174,8 +12179,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -18613,6 +18618,231 @@ 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 + examples: + - 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 @@ -35813,6 +36043,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 @@ -73545,8 +73855,8 @@ components: - write organization_custom_properties: type: string - description: The level of permission to grant the access token for custom - property management. + description: The level of permission to grant the access token for repository + custom properties management at the organization level. enum: - read - write @@ -76563,6 +76873,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -86529,6 +86843,28 @@ 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 + examples: + - 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. @@ -94336,6 +94672,24 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository owner. + examples: + - false + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -97872,6 +98226,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -110221,6 +110579,10 @@ components: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211667,6 +212029,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 enterprise-teams-items: value: - id: 1 @@ -230663,6 +231044,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 secret-scanning-alert-open: value: number: 42 @@ -237164,6 +237564,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 3b642db3f9..d352d001a0 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -5641,7 +5641,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -6732,7 +6732,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -7596,7 +7596,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -8025,7 +8025,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -10312,7 +10312,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -11435,7 +11435,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -12422,7 +12422,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -13112,7 +13112,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -26194,6 +26194,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -26361,7 +26536,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -100936,7 +101131,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": [ { @@ -100947,13 +101142,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", @@ -103321,9 +103525,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -103338,8 +103549,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -114641,7 +114852,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -115747,7 +115958,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -184120,6 +184331,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -184287,7 +184673,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -188250,6 +188656,1312 @@ } } }, + "/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" + ], + "examples": [ + "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" + ], + "examples": [ + "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", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "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", @@ -363187,6 +364899,229 @@ } } }, + "/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", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "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", @@ -365792,7 +367727,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -543441,6 +545376,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -543541,7 +545651,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -544657,6 +546787,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -545843,6 +548148,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -627743,7 +630223,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -679702,7 +682182,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -880802,7 +883282,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -883868,7 +886348,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -886839,7 +889319,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -889810,7 +892290,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -892915,7 +895395,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -896027,7 +898507,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -901134,7 +903614,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1378484,38 +1380964,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1378690,15 +1381353,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1378872,42 +1381563,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1381338,15 +1383993,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1381520,42 +1384386,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1384214,38 +1387044,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1384420,15 +1387433,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1384602,42 +1387643,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1387068,15 +1390073,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1387250,42 +1390466,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1389510,38 +1392690,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1389716,15 +1393079,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1389898,42 +1393289,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1392582,6 +1395937,181 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index e0744dcc3b..d54f2dbb61 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &291 + type: &290 type: string description: The type of credit the user is receiving. enum: @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &176 + - &175 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &177 + items: &176 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &178 + default: &177 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &178 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &180 + default: &179 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2526,7 +2526,8 @@ paths: organization_custom_properties: type: string description: The level of permission to grant the access - token for custom property management. + token for repository custom properties management at the + organization level. enum: - read - write @@ -8958,7 +8959,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 - - &165 + - &457 name: has in: query description: |- @@ -8972,7 +8973,7 @@ paths: type: string enum: - patch - - &166 + - &165 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8982,7 +8983,7 @@ paths: enum: - development - runtime - - &167 + - &166 name: sort in: query description: |- @@ -9000,7 +9001,7 @@ paths: - *46 - *38 - *39 - - &168 + - &167 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -9013,7 +9014,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &169 + - &168 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -9033,7 +9034,7 @@ paths: application/json: schema: type: array - items: &170 + items: &169 type: object description: A Dependabot alert. properties: @@ -9398,7 +9399,7 @@ paths: - repository additionalProperties: false examples: - default: &171 + default: &170 value: - number: 2 state: dismissed @@ -9745,7 +9746,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &279 + - &278 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9756,7 +9757,7 @@ paths: enum: - open - resolved - - &280 + - &279 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9766,7 +9767,7 @@ paths: required: false schema: type: string - - &281 + - &280 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9775,7 +9776,7 @@ paths: required: false schema: type: string - - &282 + - &281 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. @@ -9791,7 +9792,7 @@ paths: - *17 - *38 - *39 - - &283 + - &282 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9800,7 +9801,7 @@ paths: required: false schema: type: string - - &284 + - &283 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9809,7 +9810,7 @@ paths: schema: type: boolean default: false - - &285 + - &284 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9818,7 +9819,7 @@ paths: schema: type: boolean default: false - - &286 + - &285 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9834,7 +9835,7 @@ paths: application/json: schema: type: array - items: &287 + items: &286 type: object properties: number: *52 @@ -10259,8 +10260,12 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: &288 + default: &287 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10416,6 +10421,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 headers: Link: *57 '404': *6 @@ -11195,7 +11219,7 @@ paths: milestone: anyOf: - type: 'null' - - &237 + - &236 title: Milestone description: A collection of related issues and pull requests. @@ -11367,7 +11391,7 @@ paths: timeline_url: type: string format: uri - type: &198 + type: &197 title: Issue Type description: The type of issue. type: @@ -14081,7 +14105,7 @@ paths: - closed - all default: open - - &201 + - &200 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14132,7 +14156,7 @@ paths: type: array items: *81 examples: - default: &202 + default: &201 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15544,14 +15568,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &313 + - &312 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &314 + - &313 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15622,7 +15646,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &321 description: Moved permanently content: application/json: @@ -16033,7 +16057,7 @@ paths: type: boolean examples: - false - security_and_analysis: &249 + security_and_analysis: &248 type: - object - 'null' @@ -18271,7 +18295,7 @@ paths: type: integer repository_cache_usages: type: array - items: &327 + items: &326 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19168,7 +19192,7 @@ paths: - all - local_only - selected - selected_actions_url: &333 + selected_actions_url: &332 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` @@ -19251,7 +19275,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &336 type: object properties: days: @@ -19293,7 +19317,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &337 type: object properties: days: @@ -19350,7 +19374,7 @@ paths: required: - approval_policy examples: - default: &339 + default: &338 value: approval_policy: first_time_contributors '404': *6 @@ -19409,7 +19433,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &339 type: object required: - run_workflows_from_fork_pull_requests @@ -19463,7 +19487,7 @@ paths: required: true content: application/json: - schema: &341 + schema: &340 type: object required: - run_workflows_from_fork_pull_requests @@ -20098,7 +20122,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &341 type: object properties: default_workflow_permissions: &122 @@ -20149,7 +20173,7 @@ paths: required: false content: application/json: - schema: &343 + schema: &342 type: object properties: default_workflow_permissions: *122 @@ -21289,7 +21313,7 @@ paths: application/json: schema: type: array - items: &344 + items: &343 title: Runner Application description: Runner Application type: object @@ -21314,7 +21338,7 @@ paths: - download_url - filename examples: - default: &345 + default: &344 value: - os: osx architecture: x64 @@ -21400,7 +21424,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &346 + '201': &345 description: Response content: application/json: @@ -21515,7 +21539,7 @@ paths: - token - expires_at examples: - default: &347 + default: &346 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21554,7 +21578,7 @@ paths: application/json: schema: *133 examples: - default: &348 + default: &347 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21588,7 +21612,7 @@ paths: application/json: schema: *131 examples: - default: &349 + default: &348 value: id: 23 name: MBP @@ -21814,7 +21838,7 @@ paths: - *97 - *130 responses: - '200': &350 + '200': &349 description: Response content: application/json: @@ -21871,7 +21895,7 @@ paths: parameters: - *97 - *130 - - &351 + - &350 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22003,7 +22027,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &362 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22038,7 +22062,7 @@ paths: - key_id - key examples: - default: &364 + default: &363 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22451,7 +22475,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *97 - - &332 + - &331 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)." @@ -23546,7 +23570,7 @@ paths: initiator: type: string examples: - default: &377 + default: &376 value: attestations: - bundle: @@ -23899,7 +23923,7 @@ paths: parent: anyOf: - type: 'null' - - &213 + - &212 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -24496,7 +24520,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *97 - - &402 + - &401 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`, @@ -24506,7 +24530,7 @@ paths: schema: &147 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &402 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 @@ -24530,7 +24554,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &404 type: string description: State of a code scanning alert. enum: @@ -24553,7 +24577,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &405 type: string description: Severity of a code scanning alert. enum: @@ -24579,7 +24603,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &407 + instances_url: &406 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24601,7 +24625,7 @@ paths: - type: 'null' - *4 dismissed_at: *146 - dismissed_reason: &408 + dismissed_reason: &407 type: - string - 'null' @@ -24612,14 +24636,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &408 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &409 type: object properties: id: @@ -24680,7 +24704,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &410 type: object properties: name: *147 @@ -24691,15 +24715,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *148 - most_recent_instance: &412 + most_recent_instance: &411 type: object properties: - ref: &404 + ref: &403 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &421 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24710,7 +24734,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &422 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26003,7 +26027,7 @@ paths: type: integer codespaces: type: array - items: &203 + items: &202 type: object title: Codespace description: A codespace. @@ -26038,7 +26062,7 @@ paths: machine: anyOf: - type: 'null' - - &435 + - &434 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26325,7 +26349,7 @@ paths: - pulls_url - recent_folders examples: - default: &204 + default: &203 value: total_count: 3 codespaces: @@ -26990,7 +27014,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &435 value: total_count: 2 secrets: @@ -27028,7 +27052,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &436 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27063,7 +27087,7 @@ paths: - key_id - key examples: - default: &438 + default: &437 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27095,7 +27119,7 @@ paths: application/json: schema: *157 examples: - default: &440 + default: &439 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27562,7 +27586,7 @@ paths: currently being billed. seats: type: array - items: &206 + items: &205 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28093,7 +28117,7 @@ paths: application/json: schema: type: array - items: &295 + items: &294 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28408,7 +28432,7 @@ paths: - date additionalProperties: true examples: - default: &296 + default: &295 value: - date: '2024-06-24' total_active_users: 24 @@ -28510,7 +28534,7 @@ paths: '500': *98 '403': *27 '404': *6 - '422': &297 + '422': &296 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28558,14 +28582,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 - *165 - *166 - - *167 - *46 - *38 - *39 + - *167 - *168 - - *169 - *17 responses: '200': @@ -28574,9 +28619,9 @@ paths: application/json: schema: type: array - items: *170 + items: *169 examples: - default: *171 + default: *170 '304': *35 '400': *14 '403': *27 @@ -28620,7 +28665,7 @@ paths: type: integer secrets: type: array - items: &172 + items: &171 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28748,7 +28793,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *171 examples: default: value: @@ -28813,9 +28858,13 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -28825,8 +28874,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -29045,7 +29094,7 @@ paths: application/json: schema: type: array - items: &215 + items: &214 title: Package description: A software package type: object @@ -29116,7 +29165,7 @@ paths: - created_at - updated_at examples: - default: &216 + default: &215 value: - id: 197 name: hello_docker @@ -29283,7 +29332,7 @@ paths: application/json: schema: type: array - items: &195 + items: &194 title: Organization Invitation description: Organization Invitation type: object @@ -29337,7 +29386,7 @@ paths: - invitation_teams_url - node_id examples: - default: &196 + default: &195 value: - id: 1 login: monalisa @@ -29404,7 +29453,7 @@ paths: application/json: schema: type: array - items: &173 + items: &172 title: Org Hook description: Org Hook type: object @@ -29589,9 +29638,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *172 examples: - default: &174 + default: &173 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29639,7 +29688,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *97 - - &175 + - &174 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. @@ -29652,9 +29701,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *172 examples: - default: *174 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29682,7 +29731,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *97 - - *175 + - *174 requestBody: required: false content: @@ -29728,7 +29777,7 @@ paths: description: Response content: application/json: - schema: *173 + schema: *172 examples: default: value: @@ -29770,7 +29819,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *97 - - *175 + - *174 responses: '204': description: Response @@ -29798,7 +29847,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *97 - - *175 + - *174 responses: '200': description: Response @@ -29829,7 +29878,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *97 - - *175 + - *174 requestBody: required: false content: @@ -29880,9 +29929,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *97 - - *175 + - *174 - *17 - - *176 + - *175 responses: '200': description: Response @@ -29890,9 +29939,9 @@ paths: application/json: schema: type: array - items: *177 + items: *176 examples: - default: *178 + default: *177 '400': *14 '422': *15 x-github: @@ -29918,16 +29967,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *97 - - *175 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *179 + schema: *178 examples: - default: *180 + default: *179 '400': *14 '422': *15 x-github: @@ -29953,7 +30002,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *97 - - *175 + - *174 - *16 responses: '202': *37 @@ -29983,7 +30032,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *97 - - *175 + - *174 responses: '204': description: Response @@ -30006,7 +30055,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *97 - - &185 + - &184 name: actor_type in: path description: The type of the actor @@ -30019,14 +30068,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &186 + - &185 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &181 + - &180 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`.' @@ -30034,7 +30083,7 @@ paths: required: true schema: type: string - - &182 + - &181 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) @@ -30129,12 +30178,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *97 + - *180 - *181 - - *182 - *19 - *17 - *46 - - &191 + - &190 name: sort description: The property to sort the results by. in: query @@ -30214,14 +30263,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *97 + - *180 - *181 - - *182 responses: '200': description: Response content: application/json: - schema: &183 + schema: &182 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30237,7 +30286,7 @@ paths: type: integer format: int64 examples: - default: &184 + default: &183 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30258,23 +30307,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *97 - - &187 + - &186 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *180 - *181 - - *182 responses: '200': description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -30293,18 +30342,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *97 + - *180 - *181 - - *182 + - *184 - *185 - - *186 responses: '200': description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -30322,9 +30371,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *97 + - *180 - *181 - - *182 - - &188 + - &187 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30337,7 +30386,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30353,7 +30402,7 @@ paths: type: integer format: int64 examples: - default: &190 + default: &189 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30390,18 +30439,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *97 - - *187 + - *186 + - *180 - *181 - - *182 - - *188 + - *187 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -30419,19 +30468,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *97 + - *184 - *185 - - *186 + - *180 - *181 - - *182 - - *188 + - *187 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -30449,13 +30498,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *97 - - *187 + - *186 + - *180 - *181 - - *182 - *19 - *17 - *46 - - *191 + - *190 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30705,12 +30754,12 @@ paths: application/json: schema: anyOf: - - &193 + - &192 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &192 + limit: &191 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30738,7 +30787,7 @@ paths: properties: {} additionalProperties: false examples: - default: &194 + default: &193 value: limit: collaborators_only origin: organization @@ -30773,7 +30822,7 @@ paths: duration type: object properties: - limit: *192 + limit: *191 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30798,9 +30847,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 '422': *15 x-github: githubCloudOnly: false @@ -30876,9 +30925,9 @@ paths: application/json: schema: type: array - items: *195 + items: *194 examples: - default: *196 + default: *195 headers: Link: *57 '404': *6 @@ -30955,7 +31004,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *194 examples: default: value: @@ -31010,7 +31059,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *97 - - &197 + - &196 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31041,7 +31090,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *97 - - *197 + - *196 - *17 - *19 responses: @@ -31053,7 +31102,7 @@ paths: type: array items: *159 examples: - default: &214 + default: &213 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31096,7 +31145,7 @@ paths: application/json: schema: type: array - items: *198 + items: *197 examples: default: value: @@ -31184,9 +31233,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *197 examples: - default: &199 + default: &198 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31219,7 +31268,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *97 - - &200 + - &199 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31275,9 +31324,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *197 examples: - default: *199 + default: *198 '404': *6 '422': *7 x-github: @@ -31302,7 +31351,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *97 - - *200 + - *199 responses: '204': description: Response @@ -31365,7 +31414,7 @@ paths: - closed - all default: open - - *201 + - *200 - name: type description: Can be the name of an issue type. in: query @@ -31396,7 +31445,7 @@ paths: type: array items: *81 examples: - default: *202 + default: *201 headers: Link: *57 '404': *6 @@ -31555,9 +31604,9 @@ paths: type: integer codespaces: type: array - items: *203 + items: *202 examples: - default: *204 + default: *203 '304': *35 '500': *98 '401': *23 @@ -31584,7 +31633,7 @@ paths: parameters: - *97 - *62 - - &205 + - &204 name: codespace_name in: path required: true @@ -31619,15 +31668,15 @@ paths: parameters: - *97 - *62 - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: &434 + default: &433 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31807,7 +31856,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *206 + schema: *205 examples: default: value: @@ -31883,7 +31932,7 @@ paths: description: Response content: application/json: - schema: &207 + schema: &206 title: Org Membership description: Org Membership type: object @@ -31952,7 +32001,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &208 + response-if-user-has-an-active-admin-membership-with-organization: &207 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32049,9 +32098,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *206 examples: - response-if-user-already-had-membership-with-organization: *208 + response-if-user-already-had-membership-with-organization: *207 '422': *15 '403': *27 x-github: @@ -32123,7 +32172,7 @@ paths: application/json: schema: type: array - items: &209 + items: &208 title: Migration description: A migration. type: object @@ -32461,7 +32510,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -32640,7 +32689,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *97 - - &210 + - &209 name: migration_id description: The unique identifier of the migration. in: path @@ -32668,7 +32717,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -32838,7 +32887,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *97 - - *210 + - *209 responses: '302': description: Response @@ -32860,7 +32909,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *97 - - *210 + - *209 responses: '204': description: Response @@ -32884,7 +32933,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *97 - - *210 + - *209 - &646 name: repo_name description: repo_name parameter @@ -32913,7 +32962,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *97 - - *210 + - *209 - *17 - *19 responses: @@ -32925,7 +32974,7 @@ paths: type: array items: *129 examples: - default: &221 + default: &220 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33078,7 +33127,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &212 + items: &211 title: Organization Role description: Organization roles type: object @@ -33255,7 +33304,7 @@ paths: parameters: - *97 - *64 - - &211 + - &210 name: role_id description: The unique identifier of the role. in: path @@ -33292,7 +33341,7 @@ paths: parameters: - *97 - *64 - - *211 + - *210 responses: '204': description: Response @@ -33345,7 +33394,7 @@ paths: parameters: - *97 - *62 - - *211 + - *210 responses: '204': description: Response @@ -33377,7 +33426,7 @@ paths: parameters: - *97 - *62 - - *211 + - *210 responses: '204': description: Response @@ -33406,13 +33455,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *97 - - *211 + - *210 responses: '200': description: Response content: application/json: - schema: *212 + schema: *211 examples: default: value: @@ -33463,7 +33512,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *97 - - *211 + - *210 - *17 - *19 responses: @@ -33542,7 +33591,7 @@ paths: parent: anyOf: - type: 'null' - - *213 + - *212 type: description: The ownership type of the team type: string @@ -33575,7 +33624,7 @@ paths: - type - parent examples: - default: *214 + default: *213 headers: Link: *57 '404': @@ -33605,7 +33654,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *97 - - *211 + - *210 - *17 - *19 responses: @@ -33634,7 +33683,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *213 + items: *212 name: type: - string @@ -33980,9 +34029,9 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: - default: *216 + default: *215 '403': *27 '401': *23 '400': &650 @@ -34007,7 +34056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &217 + - &216 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 @@ -34025,7 +34074,7 @@ paths: - docker - nuget - container - - &218 + - &217 name: package_name description: The name of the package. in: path @@ -34038,7 +34087,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *214 examples: default: value: @@ -34090,8 +34139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: + - *216 - *217 - - *218 - *97 responses: '204': @@ -34124,8 +34173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - name: token description: package token @@ -34158,8 +34207,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: + - *216 - *217 - - *218 - *97 - *19 - *17 @@ -34180,7 +34229,7 @@ paths: application/json: schema: type: array - items: &219 + items: &218 title: Package Version description: A version of a software package type: object @@ -34315,10 +34364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - - &220 + - &219 name: package_version_id description: Unique identifier of the package version. in: path @@ -34330,7 +34379,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *218 examples: default: value: @@ -34366,10 +34415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - - *220 + - *219 responses: '204': description: Response @@ -34401,10 +34450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - - *220 + - *219 responses: '204': description: Response @@ -34434,7 +34483,7 @@ paths: - *97 - *17 - *19 - - &222 + - &221 name: sort description: The property by which to sort the results. in: query @@ -34445,7 +34494,7 @@ paths: - created_at default: created_at - *46 - - &223 + - &222 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34457,7 +34506,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &224 + - &223 name: repository description: The name of the repository to use to filter the results. in: query @@ -34466,7 +34515,7 @@ paths: type: string examples: - Hello-World - - &225 + - &224 name: permission description: The permission to use to filter the results. in: query @@ -34475,7 +34524,7 @@ paths: type: string examples: - issues_read - - &226 + - &225 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) @@ -34485,7 +34534,7 @@ paths: schema: type: string format: date-time - - &227 + - &226 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) @@ -34495,7 +34544,7 @@ paths: schema: type: string format: date-time - - &228 + - &227 name: token_id description: The ID of the token in: query @@ -34814,7 +34863,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -34840,14 +34889,14 @@ paths: - *97 - *17 - *19 - - *222 + - *221 - *46 + - *222 - *223 - *224 - *225 - *226 - *227 - - *228 responses: '500': *98 '422': *15 @@ -35131,7 +35180,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -35173,7 +35222,7 @@ paths: type: integer configurations: type: array - items: &229 + items: &228 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35432,7 +35481,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &230 + org-private-registry-with-selected-visibility: &229 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35530,9 +35579,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *229 + schema: *228 examples: - default: *230 + default: *229 '404': *6 x-github: githubCloudOnly: false @@ -35697,7 +35746,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 title: Project description: Projects are a way to organize columns and cards of work. @@ -35879,7 +35928,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -35917,7 +35966,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &319 + '410': &318 description: Gone content: application/json: @@ -35960,7 +36009,7 @@ paths: application/json: schema: type: array - items: &232 + items: &231 title: Projects v2 Project description: A projects v2 project type: object @@ -36119,7 +36168,7 @@ paths: - deleted_at - deleted_by examples: - default: &233 + default: &232 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36222,7 +36271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &234 + - &233 name: project_number description: The project's number. in: path @@ -36235,9 +36284,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *231 examples: - default: *233 + default: *232 headers: Link: *57 '304': *35 @@ -36259,7 +36308,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *234 + - *233 - *97 - *17 - *38 @@ -36271,7 +36320,7 @@ paths: application/json: schema: type: array - items: &235 + items: &234 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36421,7 +36470,7 @@ paths: - updated_at - project_url examples: - default: &236 + default: &235 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36464,7 +36513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *234 + - *233 - &667 name: field_id description: The unique identifier of the field. @@ -36478,9 +36527,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *234 examples: - default: *236 + default: *235 headers: Link: *57 '304': *35 @@ -36503,7 +36552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *234 + - *233 - *97 - 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) @@ -36534,7 +36583,7 @@ paths: application/json: schema: type: array - items: &241 + items: &240 title: Projects v2 Item description: An item belonging to a project type: object @@ -36551,7 +36600,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &239 + content_type: &238 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36608,7 +36657,7 @@ paths: - updated_at - archived_at examples: - default: &242 + default: &241 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37303,7 +37352,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *97 - - *234 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -37354,7 +37403,7 @@ paths: content: oneOf: - *81 - - &447 + - &446 title: Pull Request Simple description: Pull Request Simple type: object @@ -37474,7 +37523,7 @@ paths: milestone: anyOf: - type: 'null' - - *237 + - *236 active_lock_reason: type: - string @@ -37573,7 +37622,7 @@ paths: _links: type: object properties: - comments: &238 + comments: &237 title: Link description: Hypermedia Link type: object @@ -37582,13 +37631,13 @@ paths: type: string required: - href - commits: *238 - statuses: *238 - html: *238 - issue: *238 - review_comments: *238 - review_comment: *238 - self: *238 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -37701,7 +37750,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *239 + content_type: *238 creator: *4 created_at: type: string @@ -37738,7 +37787,7 @@ paths: - updated_at - archived_at examples: - issue: &240 + issue: &239 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37793,7 +37842,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: *240 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -37813,9 +37862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *234 + - *233 - *97 - - &243 + - &242 name: item_id description: The unique identifier of the project item. in: path @@ -37839,9 +37888,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 headers: Link: *57 '304': *35 @@ -37862,9 +37911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *234 + - *233 - *97 - - *243 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37937,13 +37986,13 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - text_field: *242 - number_field: *242 - date_field: *242 - single_select_field: *242 - iteration_field: *242 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -37963,9 +38012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *234 + - *233 - *97 - - *243 + - *242 responses: '204': description: Response @@ -37997,7 +38046,7 @@ paths: application/json: schema: type: array - items: &244 + items: &243 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38073,7 +38122,7 @@ paths: - property_name - value_type examples: - default: &245 + default: &244 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38132,7 +38181,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *244 + items: *243 minItems: 1 maxItems: 100 required: @@ -38162,9 +38211,9 @@ paths: application/json: schema: type: array - items: *244 + items: *243 examples: - default: *245 + default: *244 '403': *27 '404': *6 x-github: @@ -38186,7 +38235,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *97 - - &246 + - &245 name: custom_property_name description: The custom property name in: path @@ -38198,9 +38247,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: &247 + default: &246 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38235,7 +38284,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *97 - - *246 + - *245 requestBody: required: true content: @@ -38313,9 +38362,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *247 + default: *246 '403': *27 '404': *6 x-github: @@ -38339,7 +38388,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *97 - - *246 + - *245 responses: '204': *154 '403': *27 @@ -38403,7 +38452,7 @@ paths: - octocat/Hello-World properties: type: array - items: &248 + items: &247 title: Custom Property Value description: Custom property name and associated value type: object @@ -38493,7 +38542,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *248 + items: *247 required: - repository_names - properties @@ -38685,7 +38734,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -38888,7 +38937,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &320 title: Full Repository description: Full Repository type: object @@ -39353,7 +39402,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &451 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39383,7 +39432,7 @@ paths: - key - name - html_url - security_and_analysis: *249 + security_and_analysis: *248 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39467,7 +39516,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &322 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40007,7 +40056,7 @@ paths: application/json: schema: type: array - items: &275 + items: &274 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40042,7 +40091,7 @@ paths: source: type: string description: The name of the source - enforcement: &252 + enforcement: &251 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40055,7 +40104,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &253 + items: &252 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40126,7 +40175,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &250 + - &249 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40150,7 +40199,7 @@ paths: match. items: type: string - - &254 + - &253 title: Organization ruleset conditions type: object description: |- @@ -40164,7 +40213,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *250 + - *249 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40198,7 +40247,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *250 + - *249 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40220,7 +40269,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *250 + - *249 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40233,7 +40282,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &251 + items: &250 title: Repository ruleset property targeting definition type: object @@ -40266,7 +40315,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *251 + items: *250 required: - repository_property type: @@ -40279,7 +40328,7 @@ paths: type: object description: A repository rule. oneOf: - - &255 + - &254 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40291,7 +40340,7 @@ paths: type: string enum: - creation - - &256 + - &255 title: update description: Only allow users with bypass permission to update matching refs. @@ -40312,7 +40361,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &257 + - &256 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40324,7 +40373,7 @@ paths: type: string enum: - deletion - - &258 + - &257 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40414,7 +40463,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &259 + - &258 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40438,7 +40487,7 @@ paths: type: string required: - required_deployment_environments - - &260 + - &259 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40450,7 +40499,7 @@ paths: type: string enum: - required_signatures - - &261 + - &260 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40512,7 +40561,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &262 + - &261 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40560,7 +40609,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &263 + - &262 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40572,7 +40621,7 @@ paths: type: string enum: - non_fast_forward - - &264 + - &263 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40608,7 +40657,7 @@ paths: required: - operator - pattern - - &265 + - &264 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40644,7 +40693,7 @@ paths: required: - operator - pattern - - &266 + - &265 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40680,7 +40729,7 @@ paths: required: - operator - pattern - - &267 + - &266 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40716,7 +40765,7 @@ paths: required: - operator - pattern - - &268 + - &267 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40752,7 +40801,7 @@ paths: required: - operator - pattern - - &269 + - &268 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40777,7 +40826,7 @@ paths: type: string required: - restricted_file_paths - - &270 + - &269 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40801,7 +40850,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &271 + - &270 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40824,7 +40873,7 @@ paths: type: string required: - restricted_file_extensions - - &272 + - &271 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40849,7 +40898,7 @@ paths: maximum: 100 required: - max_file_size - - &273 + - &272 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40899,7 +40948,7 @@ paths: - repository_id required: - workflows - - &274 + - &273 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41058,20 +41107,21 @@ paths: - push - repository default: branch - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *252 + conditions: *253 rules: type: array description: An array of rules within the ruleset. - items: &277 + items: &276 title: Repository Rule type: object description: A repository rule. oneOf: + - *254 - *255 - *256 - *257 @@ -41091,7 +41141,6 @@ paths: - *271 - *272 - *273 - - *274 required: - name - enforcement @@ -41129,9 +41178,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: - default: &276 + default: &275 value: id: 21 name: super cool ruleset @@ -41540,9 +41589,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: - default: *276 + default: *275 '404': *6 '500': *98 put: @@ -41586,16 +41635,16 @@ paths: - tag - push - repository - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *252 + conditions: *253 rules: description: An array of rules within the ruleset. type: array - items: *277 + items: *276 examples: default: value: @@ -41630,9 +41679,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: - default: *276 + default: *275 '404': *6 '500': *98 delete: @@ -41689,7 +41738,7 @@ paths: application/json: schema: type: array - items: &278 + items: &277 title: Ruleset version type: object description: The historical version of a ruleset @@ -41768,7 +41817,7 @@ paths: application/json: schema: &580 allOf: - - *278 + - *277 - type: object required: - state @@ -41838,10 +41887,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *97 + - *278 - *279 - *280 - *281 - - *282 - *46 - *19 - *17 @@ -41865,10 +41914,10 @@ paths: required: false schema: type: string + - *282 - *283 - *284 - *285 - - *286 responses: '200': description: Response @@ -41876,9 +41925,9 @@ paths: application/json: schema: type: array - items: *287 + items: *286 examples: - default: *288 + default: *287 headers: Link: *57 '404': *6 @@ -41919,7 +41968,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &290 + pattern_config_version: &289 type: - string - 'null' @@ -41929,7 +41978,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &289 + items: &288 type: object properties: token_type: @@ -41998,7 +42047,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *289 + items: *288 examples: default: value: @@ -42055,7 +42104,7 @@ paths: schema: type: object properties: - pattern_config_version: *290 + pattern_config_version: *289 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42081,7 +42130,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *290 + custom_pattern_version: *289 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42423,7 +42472,7 @@ paths: login: type: string description: The username of the user credited. - type: *291 + type: *290 credits_detailed: type: - array @@ -42434,7 +42483,7 @@ paths: type: object properties: user: *4 - type: *291 + type: *290 state: type: string description: The state of the user's acceptance of the @@ -42885,9 +42934,9 @@ paths: application/json: schema: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43156,6 +43205,249 @@ 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: + - *97 + 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 + examples: + - 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: + - *97 + 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 + examples: + - 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: + - *97 + - *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: *129 + examples: + default: *141 + 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: + - *97 + 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: + - *97 + - *118 + 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: + - *97 + - *118 + 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 @@ -43188,7 +43480,7 @@ paths: type: integer network_configurations: type: array - items: &292 + items: &291 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43313,9 +43605,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: &293 + default: &292 value: id: 123456789ABCDEF name: My network configuration @@ -43344,7 +43636,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - &294 + - &293 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43356,9 +43648,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 headers: Link: *57 x-github: @@ -43380,7 +43672,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - *294 + - *293 requestBody: required: true content: @@ -43419,9 +43711,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43441,7 +43733,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *97 - - *294 + - *293 responses: '204': description: Response @@ -43586,13 +43878,13 @@ paths: application/json: schema: type: array - items: *295 + items: *294 examples: - default: *296 + default: *295 '500': *98 '403': *27 '404': *6 - '422': *297 + '422': *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43622,7 +43914,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 headers: Link: *57 '403': *27 @@ -43716,7 +44008,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &297 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43790,7 +44082,7 @@ paths: parent: anyOf: - type: 'null' - - *213 + - *212 members_count: type: integer examples: @@ -44115,7 +44407,7 @@ paths: - repos_count - organization examples: - default: &299 + default: &298 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44192,9 +44484,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -44279,16 +44571,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '201': description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 '422': *15 '403': *27 @@ -44358,7 +44650,7 @@ paths: application/json: schema: type: array - items: &300 + items: &299 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44578,9 +44870,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: &301 + default: &300 value: author: login: octocat @@ -44654,7 +44946,7 @@ paths: parameters: - *97 - *64 - - &302 + - &301 name: discussion_number description: The number that identifies the discussion. in: path @@ -44666,9 +44958,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44692,7 +44984,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 requestBody: required: false content: @@ -44715,7 +45007,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: default: &622 value: @@ -44789,7 +45081,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 responses: '204': description: Response @@ -44817,7 +45109,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 - *46 - *17 - *19 @@ -44828,7 +45120,7 @@ paths: application/json: schema: type: array - items: &303 + items: &302 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44978,7 +45270,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 requestBody: required: true content: @@ -45000,9 +45292,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: &304 + default: &303 value: author: login: octocat @@ -45070,8 +45362,8 @@ paths: parameters: - *97 - *64 - - *302 - - &305 + - *301 + - &304 name: comment_number description: The number that identifies the comment. in: path @@ -45083,9 +45375,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45401,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -45132,7 +45424,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: default: &624 value: @@ -45200,8 +45492,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 responses: '204': description: Response @@ -45229,8 +45521,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 - 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. @@ -45256,7 +45548,7 @@ paths: application/json: schema: type: array - items: &306 + items: &305 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45300,7 +45592,7 @@ paths: - content - created_at examples: - default: &308 + default: &307 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45352,8 +45644,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -45386,9 +45678,9 @@ paths: team discussion comment content: application/json: - schema: *306 + schema: *305 examples: - default: &307 + default: &306 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45417,9 +45709,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45444,9 +45736,9 @@ paths: parameters: - *97 - *64 - - *302 - - *305 - - &309 + - *301 + - *304 + - &308 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45480,7 +45772,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 - 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. @@ -45506,9 +45798,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 x-github: @@ -45536,7 +45828,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 requestBody: required: true content: @@ -45568,16 +45860,16 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45602,8 +45894,8 @@ paths: parameters: - *97 - *64 - - *302 - - *309 + - *301 + - *308 responses: '204': description: Response @@ -45638,9 +45930,9 @@ paths: application/json: schema: type: array - items: *195 + items: *194 examples: - default: *196 + default: *195 headers: Link: *57 x-github: @@ -45724,7 +46016,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &309 title: Team Membership description: Team Membership type: object @@ -45815,7 +46107,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *309 examples: response-if-users-membership-with-team-is-now-pending: &626 summary: Response if user's membership with team is now pending @@ -45890,7 +46182,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Team Project description: A team's access to a project. type: object @@ -46024,7 +46316,7 @@ paths: parameters: - *97 - *64 - - &312 + - &311 name: project_id description: The unique identifier of the project. in: path @@ -46036,7 +46328,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: default: &628 value: @@ -46102,7 +46394,7 @@ paths: parameters: - *97 - *64 - - *312 + - *311 requestBody: required: false content: @@ -46171,7 +46463,7 @@ paths: parameters: - *97 - *64 - - *312 + - *311 responses: '204': description: Response @@ -46211,7 +46503,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -46242,8 +46534,8 @@ paths: parameters: - *97 - *64 + - *312 - *313 - - *314 responses: '200': description: Alternative response with repository permissions @@ -46892,8 +47184,8 @@ paths: parameters: - *97 - *64 + - *312 - *313 - - *314 requestBody: required: false content: @@ -46940,8 +47232,8 @@ paths: parameters: - *97 - *64 + - *312 - *313 - - *314 responses: '204': description: Response @@ -47105,7 +47397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &315 + - &314 name: column_id description: The unique identifier of the column. in: path @@ -47117,7 +47409,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &315 title: Project Column description: Project columns contain cards of work. type: object @@ -47171,7 +47463,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &316 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47206,7 +47498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *315 + - *314 requestBody: required: true content: @@ -47231,9 +47523,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 '304': *35 '403': *27 '401': *23 @@ -47258,7 +47550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *315 + - *314 responses: '204': description: Response @@ -47287,7 +47579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *315 + - *314 requestBody: required: true content: @@ -47348,15 +47640,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *312 + - *311 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: &318 + default: &317 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47413,7 +47705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *312 + - *311 requestBody: required: false content: @@ -47462,9 +47754,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: *318 + default: *317 '404': description: Not Found if the authenticated user does not have access to the project @@ -47485,7 +47777,7 @@ paths: items: type: string '401': *23 - '410': *319 + '410': *318 '422': *7 x-github: githubCloudOnly: false @@ -47508,7 +47800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *312 + - *311 responses: '204': description: Delete Success @@ -47529,7 +47821,7 @@ paths: items: type: string '401': *23 - '410': *319 + '410': *318 '404': *6 x-github: githubCloudOnly: false @@ -47553,7 +47845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *312 + - *311 - 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 @@ -47610,7 +47902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *312 + - *311 - *62 requestBody: required: false @@ -47665,7 +47957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *312 + - *311 - *62 responses: '204': @@ -47697,7 +47989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *312 + - *311 - *62 responses: '200': @@ -47768,7 +48060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *312 + - *311 - *17 - *19 responses: @@ -47778,7 +48070,7 @@ paths: application/json: schema: type: array - items: *316 + items: *315 examples: default: value: @@ -47816,7 +48108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *312 + - *311 requestBody: required: true content: @@ -47840,7 +48132,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: value: @@ -47905,7 +48197,7 @@ paths: resources: type: object properties: - core: &320 + core: &319 title: Rate Limit type: object properties: @@ -47922,21 +48214,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *319 + search: *319 + code_search: *319 + source_import: *319 + integration_manifest: *319 + code_scanning_upload: *319 + actions_runner_registration: *319 + scim: *319 + dependency_snapshots: *319 + dependency_sbom: *319 + code_scanning_autofix: *319 required: - core - search - rate: *320 + rate: *319 required: - rate - resources @@ -48041,14 +48333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: default-response: summary: Default response @@ -48549,7 +48841,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48567,8 +48859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -48816,10 +49108,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 - '307': &324 + default: *322 + '307': &323 description: Temporary Redirect content: application/json: @@ -48848,8 +49140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -48871,7 +49163,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *323 '404': *6 '409': *45 x-github: @@ -48895,11 +49187,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 - - &355 + - &354 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48922,7 +49214,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &324 title: Artifact description: An artifact type: object @@ -49017,7 +49309,7 @@ paths: - expires_at - updated_at examples: - default: &356 + default: &355 value: total_count: 2 artifacts: @@ -49078,9 +49370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *312 - *313 - - *314 - - &326 + - &325 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49092,7 +49384,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: default: value: @@ -49130,9 +49422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *312 - *313 - - *314 - - *326 + - *325 responses: '204': description: Response @@ -49156,9 +49448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *312 - *313 - - *314 - - *326 + - *325 - name: archive_format in: path required: true @@ -49172,7 +49464,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': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49195,14 +49487,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *327 + schema: *326 examples: default: value: @@ -49228,11 +49520,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 - - &328 + - &327 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 @@ -49266,7 +49558,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &328 title: Repository actions caches description: Repository actions caches type: object @@ -49316,7 +49608,7 @@ paths: - total_count - actions_caches examples: - default: &330 + default: &329 value: total_count: 1 actions_caches: @@ -49348,23 +49640,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: + - *312 - *313 - - *314 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *329 + schema: *328 examples: - default: *330 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49384,8 +49676,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: + - *312 - *313 - - *314 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49416,9 +49708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - &331 + - &330 name: job_id description: The unique identifier of the job. in: path @@ -49430,7 +49722,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &358 title: Job description: Information of a job execution in a workflow run type: object @@ -49777,9 +50069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *331 + - *330 responses: '302': description: Response @@ -49807,9 +50099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *312 - *313 - - *314 - - *331 + - *330 requestBody: required: false content: @@ -49855,8 +50147,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: + - *312 - *313 - - *314 responses: '200': description: Status response @@ -49906,8 +50198,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -49970,8 +50262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -49989,7 +50281,7 @@ paths: type: integer secrets: type: array - items: &361 + items: &360 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50010,7 +50302,7 @@ paths: - created_at - updated_at examples: - default: &362 + default: &361 value: total_count: 2 secrets: @@ -50043,9 +50335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *312 - *313 - - *314 - - *332 + - *331 - *19 responses: '200': @@ -50062,7 +50354,7 @@ paths: type: integer variables: type: array - items: &365 + items: &364 title: Actions Variable type: object properties: @@ -50096,7 +50388,7 @@ paths: - created_at - updated_at examples: - default: &366 + default: &365 value: total_count: 2 variables: @@ -50129,8 +50421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50139,11 +50431,11 @@ paths: schema: type: object properties: - enabled: &334 + enabled: &333 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *114 - selected_actions_url: *333 + selected_actions_url: *332 sha_pinning_required: *115 required: - enabled @@ -50172,8 +50464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -50184,7 +50476,7 @@ paths: schema: type: object properties: - enabled: *334 + enabled: *333 allowed_actions: *114 sha_pinning_required: *115 required: @@ -50216,14 +50508,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: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: &335 + schema: &334 type: object properties: access_level: @@ -50240,7 +50532,7 @@ paths: required: - access_level examples: - default: &336 + default: &335 value: access_level: organization x-github: @@ -50264,15 +50556,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: + - *312 - *313 - - *314 requestBody: required: true content: application/json: - schema: *335 + schema: *334 examples: - default: *336 + default: *335 responses: '204': description: Response @@ -50296,14 +50588,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *337 + schema: *336 examples: default: value: @@ -50327,8 +50619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Empty response for successful settings update @@ -50338,7 +50630,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *337 examples: default: summary: Set retention days @@ -50362,8 +50654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50371,7 +50663,7 @@ paths: application/json: schema: *116 examples: - default: *339 + default: *338 '404': *6 x-github: enabledForGitHubApps: true @@ -50390,8 +50682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -50425,14 +50717,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: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *340 + schema: *339 examples: default: *117 '403': *27 @@ -50454,13 +50746,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: + - *312 - *313 - - *314 requestBody: required: true content: application/json: - schema: *341 + schema: *340 examples: default: *117 responses: @@ -50486,8 +50778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50514,8 +50806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -50547,14 +50839,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *342 + schema: *341 examples: default: *124 x-github: @@ -50577,8 +50869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Success response @@ -50589,7 +50881,7 @@ paths: required: true content: application/json: - schema: *343 + schema: *342 examples: default: *124 x-github: @@ -50618,8 +50910,8 @@ paths: in: query schema: type: string + - *312 - *313 - - *314 - *17 - *19 responses: @@ -50663,8 +50955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50672,9 +50964,9 @@ paths: application/json: schema: type: array - items: *344 + items: *343 examples: - default: *345 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50696,8 +50988,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -50740,7 +51032,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *346 + '201': *345 '404': *6 '422': *7 '409': *45 @@ -50771,8 +51063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *312 - *313 - - *314 responses: '201': description: Response @@ -50780,7 +51072,7 @@ paths: application/json: schema: *133 examples: - default: *347 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50808,8 +51100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *312 - *313 - - *314 responses: '201': description: Response @@ -50817,7 +51109,7 @@ paths: application/json: schema: *133 examples: - default: *348 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50839,8 +51131,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: + - *312 - *313 - - *314 - *130 responses: '200': @@ -50849,7 +51141,7 @@ paths: application/json: schema: *131 examples: - default: *349 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50870,8 +51162,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: + - *312 - *313 - - *314 - *130 responses: '204': @@ -50898,8 +51190,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: + - *312 - *313 - - *314 - *130 responses: '200': *135 @@ -50924,8 +51216,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: + - *312 - *313 - - *314 - *130 requestBody: required: true @@ -50974,8 +51266,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: + - *312 - *313 - - *314 - *130 requestBody: required: true @@ -51025,11 +51317,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: + - *312 - *313 - - *314 - *130 responses: - '200': *350 + '200': *349 '404': *6 x-github: githubCloudOnly: false @@ -51056,10 +51348,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: + - *312 - *313 - - *314 - *130 - - *351 + - *350 responses: '200': *135 '404': *6 @@ -51087,9 +51379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *312 - *313 - - *314 - - &369 + - &368 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. @@ -51097,7 +51389,7 @@ paths: required: false schema: type: string - - &370 + - &369 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51105,7 +51397,7 @@ paths: required: false schema: type: string - - &371 + - &370 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51114,7 +51406,7 @@ paths: required: false schema: type: string - - &372 + - &371 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 @@ -51141,7 +51433,7 @@ paths: - pending - *17 - *19 - - &373 + - &372 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)." @@ -51150,7 +51442,7 @@ paths: schema: type: string format: date-time - - &352 + - &351 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51159,13 +51451,13 @@ paths: schema: type: boolean default: false - - &374 + - &373 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &375 + - &374 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51188,7 +51480,7 @@ paths: type: integer workflow_runs: type: array - items: &353 + items: &352 title: Workflow Run description: An invocation of a workflow type: object @@ -51305,7 +51597,7 @@ paths: type: - array - 'null' - items: &394 + items: &393 title: Pull Request Minimal type: object properties: @@ -51432,7 +51724,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &397 title: Simple Commit description: A commit. type: object @@ -51547,7 +51839,7 @@ paths: - workflow_url - pull_requests examples: - default: &376 + default: &375 value: total_count: 1 workflow_runs: @@ -51783,24 +52075,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *312 - *313 - - *314 - - &354 + - &353 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *352 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: - default: &357 + default: &356 value: id: 30433642 name: Build @@ -52041,9 +52333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '204': description: Response @@ -52066,9 +52358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '200': description: Response @@ -52196,9 +52488,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: + - *312 - *313 - - *314 - - *354 + - *353 responses: '201': description: Response @@ -52231,12 +52523,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *312 - *313 - - *314 - - *354 + - *353 - *17 - *19 - - *355 + - *354 responses: '200': description: Response @@ -52252,9 +52544,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *324 examples: - default: *356 + default: *355 headers: Link: *57 x-github: @@ -52278,25 +52570,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *312 - *313 - - *314 - - *354 - - &358 + - *353 + - &357 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *352 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: - default: *357 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52319,10 +52611,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *312 - *313 - - *314 - - *354 - - *358 + - *353 + - *357 - *17 - *19 responses: @@ -52340,9 +52632,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *358 examples: - default: &360 + default: &359 value: total_count: 1 jobs: @@ -52455,10 +52747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *312 - *313 - - *314 - - *354 - - *358 + - *353 + - *357 responses: '302': description: Response @@ -52486,9 +52778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '202': description: Response @@ -52521,9 +52813,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: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: true content: @@ -52590,9 +52882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '202': description: Response @@ -52625,9 +52917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 - 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 @@ -52657,9 +52949,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *358 examples: - default: *360 + default: *359 headers: Link: *57 x-github: @@ -52684,9 +52976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '302': description: Response @@ -52713,9 +53005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '204': description: Response @@ -52742,9 +53034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '200': description: Response @@ -52899,9 +53191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: true content: @@ -53119,9 +53411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: false content: @@ -53166,9 +53458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: false content: @@ -53222,9 +53514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '200': description: Response @@ -53361,8 +53653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -53380,9 +53672,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *360 examples: - default: *362 + default: *361 headers: Link: *57 x-github: @@ -53407,16 +53699,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *363 + schema: *362 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53438,15 +53730,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: default: &484 value: @@ -53474,8 +53766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 requestBody: required: true @@ -53533,8 +53825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '204': @@ -53560,9 +53852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *312 - *313 - - *314 - - *332 + - *331 - *19 responses: '200': @@ -53579,9 +53871,9 @@ paths: type: integer variables: type: array - items: *365 + items: *364 examples: - default: *366 + default: *365 headers: Link: *57 x-github: @@ -53604,8 +53896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -53657,15 +53949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *312 - *313 - - *314 - *140 responses: '200': description: Response content: application/json: - schema: *365 + schema: *364 examples: default: &485 value: @@ -53693,8 +53985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *312 - *313 - - *314 - *140 requestBody: required: true @@ -53737,8 +54029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *312 - *313 - - *314 - *140 responses: '204': @@ -53764,8 +54056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -53783,7 +54075,7 @@ paths: type: integer workflows: type: array - items: &367 + items: &366 title: Workflow description: A GitHub Actions workflow type: object @@ -53901,9 +54193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *312 - *313 - - *314 - - &368 + - &367 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53918,7 +54210,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: value: @@ -53951,9 +54243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '204': description: Response @@ -53978,9 +54270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '204': description: Response @@ -54031,9 +54323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '204': description: Response @@ -54060,19 +54352,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *312 - *313 - - *314 + - *367 - *368 - *369 - *370 - *371 - - *372 - *17 - *19 + - *372 + - *351 - *373 - - *352 - *374 - - *375 responses: '200': description: Response @@ -54088,9 +54380,9 @@ paths: type: integer workflow_runs: type: array - items: *353 + items: *352 examples: - default: *376 + default: *375 headers: Link: *57 x-github: @@ -54122,9 +54414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '200': description: Response @@ -54185,8 +54477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *312 - *313 - - *314 - *46 - *17 - *38 @@ -54354,8 +54646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -54392,8 +54684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *312 - *313 - - *314 - name: assignee in: path required: true @@ -54429,8 +54721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -54542,8 +54834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *312 - *313 - - *314 - *17 - *38 - *39 @@ -54599,7 +54891,7 @@ paths: initiator: type: string examples: - default: *377 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54619,8 +54911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -54628,7 +54920,7 @@ paths: application/json: schema: type: array - items: &378 + items: &377 title: Autolink reference description: An autolink reference. type: object @@ -54687,8 +54979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -54727,9 +55019,9 @@ paths: description: response content: application/json: - schema: *378 + schema: *377 examples: - default: &379 + default: &378 value: id: 1 key_prefix: TICKET- @@ -54760,9 +55052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *312 - *313 - - *314 - - &380 + - &379 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54774,9 +55066,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *377 examples: - default: *379 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -54796,9 +55088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *312 - *313 - - *314 - - *380 + - *379 responses: '204': description: Response @@ -54822,8 +55114,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: + - *312 - *313 - - *314 responses: '200': description: Response if Dependabot is enabled @@ -54873,8 +55165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -54895,8 +55187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -54916,8 +55208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *312 - *313 - - *314 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54955,7 +55247,7 @@ paths: - url protected: type: boolean - protection: &382 + protection: &381 title: Branch Protection description: Branch Protection type: object @@ -54998,7 +55290,7 @@ paths: required: - contexts - checks - enforce_admins: &385 + enforce_admins: &384 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55015,7 +55307,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &387 + required_pull_request_reviews: &386 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55099,7 +55391,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &384 + restrictions: &383 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55392,9 +55684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *312 - *313 - - *314 - - &383 + - &382 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). @@ -55408,14 +55700,14 @@ paths: description: Response content: application/json: - schema: &393 + schema: &392 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &442 title: Commit description: Commit type: object @@ -55454,7 +55746,7 @@ paths: author: anyOf: - type: 'null' - - &381 + - &380 title: Git User description: Metaproperties for Git author/committer information. @@ -55475,7 +55767,7 @@ paths: committer: anyOf: - type: 'null' - - *381 + - *380 message: type: string examples: @@ -55579,7 +55871,7 @@ paths: type: integer files: type: array - items: &454 + items: &453 title: Diff Entry description: Diff Entry type: object @@ -55675,7 +55967,7 @@ paths: - self protected: type: boolean - protection: *382 + protection: *381 protection_url: type: string format: uri @@ -55784,7 +56076,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *321 '404': *6 x-github: githubCloudOnly: false @@ -55806,15 +56098,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *382 + schema: *381 examples: default: value: @@ -56008,9 +56300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -56270,7 +56562,7 @@ paths: url: type: string format: uri - required_status_checks: &390 + required_status_checks: &389 title: Status Check Policy description: Status Check Policy type: object @@ -56429,7 +56721,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *384 + restrictions: *383 required_conversation_resolution: type: object properties: @@ -56541,9 +56833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -56568,17 +56860,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: &386 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56600,17 +56892,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: *386 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56629,9 +56921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -56656,17 +56948,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: &388 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56762,9 +57054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -56862,9 +57154,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: *388 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -56885,9 +57177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -56914,17 +57206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: &389 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56947,17 +57239,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: *389 + default: *388 '404': *6 x-github: githubCloudOnly: false @@ -56977,9 +57269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -57004,17 +57296,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *390 + schema: *389 examples: - default: &391 + default: &390 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57040,9 +57332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57094,9 +57386,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *389 examples: - default: *391 + default: *390 '404': *6 '422': *15 x-github: @@ -57118,9 +57410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -57144,9 +57436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57180,9 +57472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57249,9 +57541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57315,9 +57607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: content: application/json: @@ -57383,15 +57675,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *384 + schema: *383 examples: default: value: @@ -57482,9 +57774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -57507,9 +57799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57519,7 +57811,7 @@ paths: type: array items: *5 examples: - default: &392 + default: &391 value: - id: 1 slug: octoapp @@ -57576,9 +57868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -57612,7 +57904,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -57633,9 +57925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -57669,7 +57961,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +57982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -57726,7 +58018,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -57748,9 +58040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57760,7 +58052,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -57780,9 +58072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57820,7 +58112,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -57841,9 +58133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57881,7 +58173,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -57902,9 +58194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: content: application/json: @@ -57941,7 +58233,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -57963,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57999,9 +58291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58059,9 +58351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58119,9 +58411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58181,9 +58473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58205,7 +58497,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *392 examples: default: value: @@ -58321,8 +58613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -58601,7 +58893,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &394 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58736,7 +59028,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *394 + items: *393 deployment: &688 title: Deployment description: A deployment created as the result of an Actions @@ -59024,9 +59316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *312 - *313 - - *314 - - &396 + - &395 name: check_run_id description: The unique identifier of the check run. in: path @@ -59038,9 +59330,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *394 examples: - default: &397 + default: &396 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59140,9 +59432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *312 - *313 - - *314 - - *396 + - *395 requestBody: required: true content: @@ -59382,9 +59674,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *394 examples: - default: *397 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59404,9 +59696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *312 - *313 - - *314 - - *396 + - *395 - *17 - *19 responses: @@ -59516,9 +59808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *312 - *313 - - *314 - - *396 + - *395 responses: '201': description: Response @@ -59562,8 +59854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -59585,7 +59877,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &398 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59667,7 +59959,7 @@ paths: type: - array - 'null' - items: *394 + items: *393 app: anyOf: - type: 'null' @@ -59683,7 +59975,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *397 latest_check_runs_count: type: integer check_runs_url: @@ -59711,7 +60003,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &399 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60002,9 +60294,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *398 examples: - default: *400 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60023,8 +60315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -60333,9 +60625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *312 - *313 - - *314 - - &401 + - &400 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60347,9 +60639,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *398 examples: - default: *400 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60372,17 +60664,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *312 - *313 - - *314 - - *401 - - &449 + - *400 + - &448 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &449 name: status description: Returns check runs with the specified `status`. in: query @@ -60421,9 +60713,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *394 examples: - default: &451 + default: &450 value: total_count: 1 check_runs: @@ -60525,9 +60817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *312 - *313 - - *314 - - *401 + - *400 responses: '201': description: Response @@ -60560,21 +60852,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *312 - *313 - - *314 + - *401 - *402 - - *403 - *19 - *17 - - &420 + - &419 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: *404 - - &421 + schema: *403 + - &420 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60599,13 +60891,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *404 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *405 responses: '200': description: Response @@ -60621,7 +60913,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *407 + instances_url: *406 state: *149 fixed_at: *145 dismissed_by: @@ -60629,11 +60921,11 @@ paths: - type: 'null' - *4 dismissed_at: *146 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_reason: *407 + dismissed_comment: *408 + rule: *409 + tool: *410 + most_recent_instance: *411 dismissal_approved_by: anyOf: - type: 'null' @@ -60756,7 +61048,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &412 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60783,9 +61075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *312 - *313 - - *314 - - &414 + - &413 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60799,7 +61091,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &414 type: object properties: number: *52 @@ -60807,7 +61099,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *407 + instances_url: *406 state: *149 fixed_at: *145 dismissed_by: @@ -60815,8 +61107,8 @@ paths: - type: 'null' - *4 dismissed_at: *146 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *407 + dismissed_comment: *408 rule: type: object properties: @@ -60878,8 +61170,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *410 + most_recent_instance: *411 dismissal_approved_by: anyOf: - type: 'null' @@ -60975,7 +61267,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -60995,9 +61287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 requestBody: required: true content: @@ -61012,8 +61304,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *407 + dismissed_comment: *408 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61032,7 +61324,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: default: value: @@ -61108,7 +61400,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &418 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61135,15 +61427,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: + - *312 - *313 - - *314 - - *414 + - *413 responses: '200': description: Response content: application/json: - schema: &416 + schema: &415 type: object properties: status: @@ -61170,13 +61462,13 @@ paths: - description - started_at examples: - default: &417 + default: &416 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &417 description: Bad Request content: application/json: @@ -61187,7 +61479,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': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61212,29 +61504,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: + - *312 - *313 - - *314 - - *414 + - *413 responses: '200': description: OK content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 '202': description: Accepted content: application/json: - schema: *416 + schema: *415 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *417 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61266,9 +61558,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: + - *312 - *313 - - *314 - - *414 + - *413 requestBody: required: false content: @@ -61314,8 +61606,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *417 + '403': *418 '404': *6 '422': description: Unprocessable Entity @@ -61339,13 +61631,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 - *19 - *17 + - *419 - *420 - - *421 responses: '200': description: Response @@ -61353,7 +61645,7 @@ paths: application/json: schema: type: array - items: *412 + items: *411 examples: default: value: @@ -61392,7 +61684,7 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61426,25 +61718,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *312 - *313 - - *314 + - *401 - *402 - - *403 - *19 - *17 - - *421 + - *420 - 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: *404 + schema: *403 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &423 type: string description: An identifier for the upload. examples: @@ -61466,23 +61758,23 @@ paths: application/json: schema: type: array - items: &425 + items: &424 type: object properties: - ref: *404 - commit_sha: &433 + ref: *403 + commit_sha: &432 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: *422 + analysis_key: *421 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *422 error: type: string examples: @@ -61507,8 +61799,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *423 + tool: *410 deletable: type: boolean warning: @@ -61570,7 +61862,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61606,8 +61898,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: + - *312 - *313 - - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61620,7 +61912,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *424 examples: response: summary: application/json response @@ -61674,7 +61966,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *412 '404': *6 '422': description: Response if analysis could not be processed @@ -61761,8 +62053,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: + - *312 - *313 - - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61818,7 +62110,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': *419 + '403': *418 '404': *6 '503': *69 x-github: @@ -61840,8 +62132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -61849,7 +62141,7 @@ paths: application/json: schema: type: array - items: &426 + items: &425 title: CodeQL Database description: A CodeQL database. type: object @@ -61961,7 +62253,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': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61990,8 +62282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *312 - *313 - - *314 - name: language in: path description: The language of the CodeQL database. @@ -62003,7 +62295,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: default: value: @@ -62035,9 +62327,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': &456 + '302': &455 description: Found - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -62059,8 +62351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *312 - *313 - - *314 - name: language in: path description: The language of the CodeQL database. @@ -62070,7 +62362,7 @@ paths: responses: '204': description: Response - '403': *419 + '403': *418 '404': *6 '503': *69 x-github: @@ -62098,8 +62390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -62108,7 +62400,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &426 type: string description: The language targeted by the CodeQL query enum: @@ -62187,7 +62479,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &430 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62197,7 +62489,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *426 query_pack_url: type: string description: The download url for the query pack. @@ -62245,7 +62537,7 @@ paths: items: type: object properties: - repository: &428 + repository: &427 title: Repository Identifier description: Repository Identifier type: object @@ -62287,7 +62579,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &431 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62319,7 +62611,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &428 type: object properties: repository_count: @@ -62334,7 +62626,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: *428 + items: *427 required: - repository_count - repositories @@ -62357,8 +62649,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *428 + over_limit_repos: *428 required: - access_mismatch_repos - not_found_repos @@ -62374,7 +62666,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &429 summary: Default response value: id: 1 @@ -62526,10 +62818,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *429 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *429 '404': *6 '422': description: Unable to process variant analysis submission @@ -62557,8 +62849,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: + - *312 - *313 - - *314 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62570,9 +62862,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *430 + default: *429 '404': *6 '503': *69 x-github: @@ -62595,7 +62887,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: - - *313 + - *312 - name: repo in: path description: The name of the controller repository. @@ -62630,7 +62922,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *431 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62755,8 +63047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -62849,7 +63141,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -62870,8 +63162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -62965,7 +63257,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *418 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63036,8 +63328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -63045,7 +63337,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *432 ref: type: string description: |- @@ -63105,7 +63397,7 @@ paths: schema: type: object properties: - id: *424 + id: *423 url: type: string description: The REST API URL for checking the status of the upload. @@ -63119,7 +63411,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': *419 + '403': *418 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63142,8 +63434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *312 - *313 - - *314 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63191,7 +63483,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': *413 + '403': *412 '404': description: Not Found if the sarif id does not match any upload '503': *69 @@ -63216,8 +63508,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: + - *312 - *313 - - *314 responses: '200': description: Response @@ -63298,8 +63590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *312 - *313 - - *314 - 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 @@ -63427,8 +63719,8 @@ paths: parameters: - *17 - *19 + - *312 - *313 - - *314 responses: '200': description: Response @@ -63444,7 +63736,7 @@ paths: type: integer codespaces: type: array - items: *203 + items: *202 examples: default: value: @@ -63742,8 +64034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -63807,17 +64099,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '400': *14 '401': *23 '403': *27 @@ -63846,8 +64138,8 @@ paths: parameters: - *17 - *19 + - *312 - *313 - - *314 responses: '200': description: Response @@ -63911,8 +64203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *312 - *313 - - *314 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63949,7 +64241,7 @@ paths: type: integer machines: type: array - items: *435 + items: *434 examples: default: &637 value: @@ -63991,8 +64283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *312 - *313 - - *314 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64079,8 +64371,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: + - *312 - *313 - - *314 - 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 @@ -64149,8 +64441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -64168,7 +64460,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &438 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64189,7 +64481,7 @@ paths: - created_at - updated_at examples: - default: *436 + default: *435 headers: Link: *57 x-github: @@ -64212,16 +64504,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64241,17 +64533,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '200': description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *440 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64271,8 +64563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 requestBody: required: true @@ -64325,8 +64617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '204': @@ -64355,8 +64647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *312 - *313 - - *314 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64394,7 +64686,7 @@ paths: application/json: schema: type: array - items: &441 + items: &440 title: Collaborator description: Collaborator type: object @@ -64587,8 +64879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *312 - *313 - - *314 - *62 responses: '204': @@ -64635,8 +64927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *312 - *313 - - *314 - *62 requestBody: required: false @@ -64891,8 +65183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *312 - *313 - - *314 - *62 responses: '204': @@ -64924,8 +65216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *312 - *313 - - *314 - *62 responses: '200': @@ -64946,7 +65238,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *440 required: - permission - role_name @@ -65000,8 +65292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -65011,7 +65303,7 @@ paths: application/json: schema: type: array - items: &442 + items: &441 title: Commit Comment description: Commit Comment type: object @@ -65069,7 +65361,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &444 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65128,17 +65420,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 responses: '200': description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: &446 + default: &445 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65195,8 +65487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -65219,7 +65511,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: default: value: @@ -65270,8 +65562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 responses: '204': @@ -65293,8 +65585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65321,9 +65613,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -65344,8 +65636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -65378,16 +65670,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -65409,10 +65701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *312 - *313 - - *314 - *80 - - *309 + - *308 responses: '204': description: Response @@ -65461,8 +65753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *312 - *313 - - *314 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65518,7 +65810,7 @@ paths: application/json: schema: type: array - items: *443 + items: *442 examples: default: &551 value: @@ -65614,9 +65906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *312 - *313 - - *314 - - &444 + - &443 name: commit_sha description: The SHA of the commit. in: path @@ -65688,9 +65980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *312 - *313 - - *314 - - *444 + - *443 - *17 - *19 responses: @@ -65700,9 +65992,9 @@ paths: application/json: schema: type: array - items: *442 + items: *441 examples: - default: *445 + default: *444 headers: Link: *57 x-github: @@ -65730,9 +66022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *312 - *313 - - *314 - - *444 + - *443 requestBody: required: true content: @@ -65767,9 +66059,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *446 + default: *445 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65797,9 +66089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *312 - *313 - - *314 - - *444 + - *443 - *17 - *19 responses: @@ -65809,7 +66101,7 @@ paths: application/json: schema: type: array - items: *447 + items: *446 examples: default: &543 value: @@ -66348,11 +66640,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *312 - *313 - - *314 - *19 - *17 - - &448 + - &447 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)" @@ -66367,7 +66659,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: &531 value: @@ -66482,11 +66774,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *312 - *313 - - *314 + - *447 - *448 - *449 - - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66520,9 +66812,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *394 examples: - default: *451 + default: *450 headers: Link: *57 x-github: @@ -66547,9 +66839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *312 - *313 - - *314 - - *448 + - *447 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66557,7 +66849,7 @@ paths: schema: type: integer example: 1 - - *449 + - *448 - *17 - *19 responses: @@ -66575,7 +66867,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *398 examples: default: value: @@ -66775,9 +67067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *312 - *313 - - *314 - - *448 + - *447 - *17 - *19 responses: @@ -66979,9 +67271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *312 - *313 - - *314 - - *448 + - *447 - *17 - *19 responses: @@ -67072,7 +67364,7 @@ paths: site_admin: false headers: Link: *57 - '301': *322 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67100,8 +67392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -67134,11 +67426,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *451 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &452 title: Community Health File type: object properties: @@ -67158,19 +67450,19 @@ paths: contributing: anyOf: - type: 'null' - - *453 + - *452 readme: anyOf: - type: 'null' - - *453 + - *452 issue_template: anyOf: - type: 'null' - - *453 + - *452 pull_request_template: anyOf: - type: 'null' - - *453 + - *452 required: - code_of_conduct - code_of_conduct_file @@ -67299,8 +67591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *312 - *313 - - *314 - *19 - *17 - name: basehead @@ -67348,8 +67640,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *442 + merge_base_commit: *442 status: type: string enum: @@ -67373,10 +67665,10 @@ paths: - 6 commits: type: array - items: *443 + items: *442 files: type: array - items: *454 + items: *453 required: - url - html_url @@ -67662,8 +67954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *312 - *313 - - *314 - name: path description: path parameter in: path @@ -67816,7 +68108,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &454 summary: Response if content is a file value: type: file @@ -68171,7 +68463,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *454 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68240,7 +68532,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *455 '304': *35 x-github: githubCloudOnly: false @@ -68263,8 +68555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *312 - *313 - - *314 - name: path description: path parameter in: path @@ -68359,7 +68651,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &456 title: File Commit description: File Commit type: object @@ -68515,7 +68807,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *456 examples: example-for-creating-a-file: value: @@ -68622,8 +68914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *312 - *313 - - *314 - name: path description: path parameter in: path @@ -68684,7 +68976,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *456 examples: default: value: @@ -68739,8 +69031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *312 - *313 - - *314 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68864,8 +69156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *312 - *313 - - *314 - *160 - *161 - *162 @@ -68877,9 +69169,9 @@ paths: schema: type: string - *164 + - *457 - *165 - *166 - - *167 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68899,8 +69191,8 @@ paths: default: 30 - *38 - *39 + - *167 - *168 - - *169 responses: '200': description: Response @@ -69219,8 +69511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *312 - *313 - - *314 - &461 name: alert_number in: path @@ -69349,8 +69641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *312 - *313 - - *314 - *461 requestBody: required: true @@ -69525,8 +69817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -69598,8 +69890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -69627,8 +69919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '200': @@ -69661,8 +69953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 requestBody: required: true @@ -69715,8 +70007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '204': @@ -69739,8 +70031,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: + - *312 - *313 - - *314 - 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 @@ -69914,8 +70206,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: + - *312 - *313 - - *314 responses: '200': description: Response @@ -70175,8 +70467,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -70445,8 +70737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *312 - *313 - - *314 - name: sha description: The SHA recorded at creation time. in: query @@ -70555,8 +70847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -70711,8 +71003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *312 - *313 - - *314 - &468 name: deployment_id description: deployment_id parameter @@ -70790,8 +71082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *312 - *313 - - *314 - *468 responses: '204': @@ -70814,8 +71106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *312 - *313 - - *314 - *468 - *17 - *19 @@ -70990,8 +71282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *312 - *313 - - *314 - *468 requestBody: required: true @@ -71125,8 +71417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *312 - *313 - - *314 - *468 - name: status_id in: path @@ -71165,8 +71457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -71223,8 +71515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -71490,8 +71782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *312 - *313 - - *314 - &473 name: environment_name in: path @@ -71591,8 +71883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *312 - *313 - - *314 - *473 requestBody: required: false @@ -71675,8 +71967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *312 - *313 - - *314 - *473 responses: '204': @@ -71702,8 +71994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *312 - *313 - - *314 - *473 - *17 - *19 @@ -71784,8 +72076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 requestBody: required: true @@ -71878,8 +72170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 - &479 name: branch_policy_id @@ -71914,8 +72206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 - *479 requestBody: @@ -71967,8 +72259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 - *479 responses: @@ -71996,8 +72288,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *473 - - *314 - *313 + - *312 responses: '200': description: List of deployment protection rules @@ -72140,8 +72432,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *473 - - *314 - *313 + - *312 requestBody: content: application/json: @@ -72200,8 +72492,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *473 - - *314 - *313 + - *312 - *19 - *17 responses: @@ -72256,8 +72548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *312 - *313 - - *314 - *473 - &483 name: protection_rule_id @@ -72295,8 +72587,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *473 - - *314 - *313 + - *312 - *483 responses: '204': @@ -72323,8 +72615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *312 - *313 - - *314 - *473 - *17 - *19 @@ -72343,9 +72635,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *360 examples: - default: *362 + default: *361 headers: Link: *57 x-github: @@ -72370,17 +72662,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *312 - *313 - - *314 - *473 responses: '200': description: Response content: application/json: - schema: *363 + schema: *362 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72402,8 +72694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *312 - *313 - - *314 - *473 - *137 responses: @@ -72411,7 +72703,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: *484 x-github: @@ -72435,8 +72727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *312 - *313 - - *314 - *473 - *137 requestBody: @@ -72495,8 +72787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *312 - *313 - - *314 - *473 - *137 responses: @@ -72523,10 +72815,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *312 - *313 - - *314 - *473 - - *332 + - *331 - *19 responses: '200': @@ -72543,9 +72835,9 @@ paths: type: integer variables: type: array - items: *365 + items: *364 examples: - default: *366 + default: *365 headers: Link: *57 x-github: @@ -72568,8 +72860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *312 - *313 - - *314 - *473 requestBody: required: true @@ -72622,8 +72914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *312 - *313 - - *314 - *473 - *140 responses: @@ -72631,7 +72923,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *364 examples: default: *485 x-github: @@ -72654,8 +72946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *312 - *313 - - *314 - *140 - *473 requestBody: @@ -72699,8 +72991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *312 - *313 - - *314 - *140 - *473 responses: @@ -72724,8 +73016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -72802,8 +73094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *312 - *313 - - *314 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72962,8 +73254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -72996,9 +73288,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 '400': *14 '422': *15 '403': *27 @@ -73019,8 +73311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -73105,8 +73397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *312 - *313 - - *314 - name: file_sha in: path required: true @@ -73206,8 +73498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -73543,9 +73835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *312 - *313 - - *314 - - *444 + - *443 responses: '200': description: Response @@ -73607,8 +73899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *312 - *313 - - *314 - &488 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -73702,8 +73994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *312 - *313 - - *314 - *488 responses: '200': @@ -73741,8 +74033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -73799,8 +74091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *312 - *313 - - *314 - *488 requestBody: required: true @@ -73850,8 +74142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *312 - *313 - - *314 - *488 responses: '204': @@ -73907,8 +74199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -74114,8 +74406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *312 - *313 - - *314 - name: tag_sha in: path required: true @@ -74152,8 +74444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -74329,8 +74621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *312 - *313 - - *314 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74412,8 +74704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -74563,8 +74855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -74667,9 +74959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '200': description: Response @@ -74697,9 +74989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 requestBody: required: true content: @@ -74767,9 +75059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '204': description: Response @@ -74793,9 +75085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '200': description: Response @@ -74822,9 +75114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *312 - *313 - - *314 - - *175 + - *174 requestBody: required: false content: @@ -74868,11 +75160,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 - *17 - - *176 + - *175 responses: '200': description: Response @@ -74880,9 +75172,9 @@ paths: application/json: schema: type: array - items: *177 + items: *176 examples: - default: *178 + default: *177 '400': *14 '422': *15 x-github: @@ -74901,18 +75193,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *179 + schema: *178 examples: - default: *180 + default: *179 '400': *14 '422': *15 x-github: @@ -74931,9 +75223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 - *16 responses: '202': *37 @@ -74956,9 +75248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '204': description: Response @@ -74983,9 +75275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '204': description: Response @@ -74995,6 +75287,99 @@ 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: + - *312 + - *313 + 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 + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository + owner. + examples: + - false + 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: + - *312 + - *313 + responses: + '204': *154 + '409': *45 + 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: + - *312 + - *313 + responses: + '204': *154 + '409': *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -75043,8 +75428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75202,8 +75587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -75304,8 +75689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -75428,8 +75813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -75459,8 +75844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *312 - *313 - - *314 - &659 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -75554,8 +75939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *312 - *313 - - *314 - name: author_id in: path required: true @@ -75622,8 +76007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75692,8 +76077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -75747,8 +76132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75757,7 +76142,7 @@ paths: schema: *20 examples: default: *501 - '301': *322 + '301': *321 '404': *6 x-github: githubCloudOnly: false @@ -75777,8 +76162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75786,7 +76171,7 @@ paths: application/json: schema: anyOf: - - *193 + - *192 - type: object properties: {} additionalProperties: false @@ -75816,8 +76201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -75834,7 +76219,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *192 examples: default: *503 '409': @@ -75858,8 +76243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -75882,8 +76267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -76026,9 +76411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *312 - *313 - - *314 - - *197 + - *196 requestBody: required: false content: @@ -76188,9 +76573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *312 - *313 - - *314 - - *197 + - *196 responses: '204': description: Response @@ -76221,8 +76606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *312 - *313 - - *314 - 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 @@ -76270,7 +76655,7 @@ paths: required: false schema: type: string - - *201 + - *200 - name: sort description: What to sort results by. in: query @@ -76443,7 +76828,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *322 + '301': *321 '422': *15 '404': *6 x-github: @@ -76472,8 +76857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -76721,7 +77106,7 @@ paths: '422': *15 '503': *69 '404': *6 - '410': *319 + '410': *318 x-github: triggersNotification: true githubCloudOnly: false @@ -76749,8 +77134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *312 - *313 - - *314 - *90 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76831,8 +77216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 responses: '200': @@ -76895,8 +77280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -76939,8 +77324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 responses: '204': @@ -76961,8 +77346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76989,9 +77374,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -77012,8 +77397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -77046,16 +77431,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -77077,10 +77462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *312 - *313 - - *314 - *80 - - *309 + - *308 responses: '204': description: Response @@ -77100,8 +77485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -77450,8 +77835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *312 - *313 - - *314 - name: event_id in: path required: true @@ -77655,7 +78040,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *319 + '410': *318 '403': *27 x-github: githubCloudOnly: false @@ -77689,8 +78074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *312 - *313 - - *314 - &509 name: issue_number description: The number that identifies the issue. @@ -77706,9 +78091,9 @@ paths: schema: *81 examples: default: *508 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 '304': *35 x-github: githubCloudOnly: false @@ -77733,8 +78118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -77860,9 +78245,9 @@ paths: '422': *15 '503': *69 '403': *27 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77880,8 +78265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -77926,8 +78311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: content: @@ -77977,8 +78362,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: + - *312 - *313 - - *314 - *509 - name: assignee in: path @@ -78019,8 +78404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *312 - *313 - - *314 - *509 - *71 - *17 @@ -78038,7 +78423,7 @@ paths: headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78067,8 +78452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -78100,7 +78485,7 @@ paths: schema: type: string '403': *27 - '410': *319 + '410': *318 '422': *15 '404': *6 x-github: @@ -78128,8 +78513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -78145,9 +78530,9 @@ paths: default: *511 headers: Link: *57 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78175,8 +78560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -78207,9 +78592,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *321 '403': *27 - '410': *319 + '410': *318 '422': *15 '404': *6 x-github: @@ -78240,8 +78625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *312 - *313 - - *314 - *509 - name: issue_id in: path @@ -78257,12 +78642,12 @@ paths: schema: *81 examples: default: *508 - '301': *322 + '301': *321 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *319 + '410': *318 x-github: triggersNotification: true githubCloudOnly: false @@ -78288,8 +78673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -78305,9 +78690,9 @@ paths: default: *511 headers: Link: *57 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78324,8 +78709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -79119,7 +79504,7 @@ paths: color: red headers: Link: *57 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79136,8 +79521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -79221,9 +79606,9 @@ paths: default: false headers: Link: *57 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79240,8 +79625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -79304,9 +79689,9 @@ paths: items: *512 examples: default: *513 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 '422': *15 x-github: githubCloudOnly: false @@ -79323,8 +79708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -79388,9 +79773,9 @@ paths: items: *512 examples: default: *513 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 '422': *15 x-github: githubCloudOnly: false @@ -79407,15 +79792,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *312 - *313 - - *314 - *509 responses: '204': description: Response - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79434,8 +79819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *312 - *313 - - *314 - *509 - name: name in: path @@ -79460,9 +79845,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79482,8 +79867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -79513,7 +79898,7 @@ paths: '204': description: Response '403': *27 - '410': *319 + '410': *318 '404': *6 '422': *15 x-github: @@ -79531,8 +79916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *312 - *313 - - *314 - *509 responses: '204': @@ -79563,8 +79948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *312 - *313 - - *314 - *509 responses: '200': @@ -79574,9 +79959,9 @@ paths: schema: *81 examples: default: *508 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79593,8 +79978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *312 - *313 - - *314 - *509 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79621,13 +80006,13 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79645,8 +80030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79679,16 +80064,16 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -79710,10 +80095,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *312 - *313 - - *314 - *509 - - *309 + - *308 responses: '204': description: Response @@ -79742,8 +80127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79801,8 +80186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -79819,7 +80204,7 @@ paths: headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79847,8 +80232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79885,7 +80270,7 @@ paths: schema: type: string '403': *27 - '410': *319 + '410': *318 '422': *15 '404': *6 x-github: @@ -79905,8 +80290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79962,8 +80347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -80558,7 +80943,7 @@ paths: type: string comments: type: array - items: *442 + items: *441 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80833,7 +81218,7 @@ paths: headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80850,8 +81235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -80929,8 +81314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81002,8 +81387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *312 - *313 - - *314 - &529 name: key_id description: The unique identifier of the key. @@ -81036,8 +81421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *312 - *313 - - *314 - *529 responses: '204': @@ -81058,8 +81443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -81092,8 +81477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81163,8 +81548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *312 - *313 - - *314 - name: name in: path required: true @@ -81194,8 +81579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *312 - *313 - - *314 - name: name in: path required: true @@ -81260,8 +81645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *312 - *313 - - *314 - name: name in: path required: true @@ -81287,8 +81672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -81327,9 +81712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *312 - *313 - - *314 - - *420 + - *419 responses: '200': description: Response @@ -81476,8 +81861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81542,8 +81927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81577,7 +81962,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *442 examples: default: *531 '204': @@ -81604,8 +81989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *312 - *313 - - *314 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81646,7 +82031,7 @@ paths: application/json: schema: type: array - items: *237 + items: *236 examples: default: value: @@ -81702,8 +82087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81743,7 +82128,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *236 examples: default: &532 value: @@ -81804,8 +82189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *312 - *313 - - *314 - &533 name: milestone_number description: The number that identifies the milestone. @@ -81818,7 +82203,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *236 examples: default: *532 '404': *6 @@ -81837,8 +82222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *312 - *313 - - *314 - *533 requestBody: required: false @@ -81877,7 +82262,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *236 examples: default: *532 x-github: @@ -81895,8 +82280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *312 - *313 - - *314 - *533 responses: '204': @@ -81918,8 +82303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *312 - *313 - - *314 - *533 - *17 - *19 @@ -81951,8 +82336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *312 - *313 - - *314 - *534 - *535 - *71 @@ -81992,8 +82377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -82051,8 +82436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -82243,8 +82628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -82324,8 +82709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -82425,8 +82810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -82452,8 +82837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -82555,8 +82940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *312 - *313 - - *314 responses: '201': description: Response @@ -82603,8 +82988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -82660,8 +83045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *312 - *313 - - *314 - name: build_id in: path required: true @@ -82694,8 +83079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -82803,8 +83188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *312 - *313 - - *314 - &542 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -82863,8 +83248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *312 - *313 - - *314 - *542 responses: '204': *154 @@ -82892,8 +83277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -83188,8 +83573,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: + - *312 - *313 - - *314 responses: '200': description: Private vulnerability reporting status @@ -83226,8 +83611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': *154 '422': *14 @@ -83248,8 +83633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': *154 '422': *14 @@ -83272,8 +83657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: + - *312 - *313 - - *314 - name: state description: Indicates the state of the projects to return. in: query @@ -83294,7 +83679,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -83334,7 +83719,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *319 + '410': *318 '422': *7 x-github: githubCloudOnly: false @@ -83357,8 +83742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -83384,13 +83769,13 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: *318 + default: *317 '401': *23 '403': *27 '404': *6 - '410': *319 + '410': *318 '422': *7 x-github: githubCloudOnly: false @@ -83413,8 +83798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -83422,7 +83807,7 @@ paths: application/json: schema: type: array - items: *248 + items: *247 examples: default: value: @@ -83453,8 +83838,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -83466,7 +83851,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *248 + items: *247 required: - properties examples: @@ -83516,8 +83901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *312 - *313 - - *314 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83577,7 +83962,7 @@ paths: application/json: schema: type: array - items: *447 + items: *446 examples: default: *543 headers: @@ -83611,8 +83996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -83808,7 +84193,7 @@ paths: milestone: anyOf: - type: 'null' - - *237 + - *236 active_lock_reason: type: - string @@ -83863,7 +84248,7 @@ paths: type: - array - 'null' - items: *213 + items: *212 head: type: object properties: @@ -83901,14 +84286,14 @@ paths: _links: type: object properties: - comments: *238 - commits: *238 - statuses: *238 - html: *238 - issue: *238 - review_comments: *238 - review_comment: *238 - self: *238 + comments: *237 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -84548,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *312 - *313 - - *314 - name: sort in: query required: false @@ -84657,8 +85042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *80 responses: '200': @@ -84742,8 +85127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -84784,8 +85169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *80 responses: '204': @@ -84807,8 +85192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *312 - *313 - - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84835,9 +85220,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -84858,8 +85243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -84892,16 +85277,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -84923,10 +85308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *312 - *313 - - *314 - *80 - - *309 + - *308 responses: '204': description: Response @@ -84969,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *312 - *313 - - *314 - &549 name: pull_number description: The number that identifies the pull request. @@ -85021,8 +85406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -85089,8 +85474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: true @@ -85152,17 +85537,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '401': *23 '403': *27 '404': *6 @@ -85192,8 +85577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *90 - name: direction @@ -85250,8 +85635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: true @@ -85446,8 +85831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *312 - *313 - - *314 - *549 - *80 requestBody: @@ -85557,8 +85942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *17 - *19 @@ -85569,7 +85954,7 @@ paths: application/json: schema: type: array - items: *443 + items: *442 examples: default: *551 headers: @@ -85601,8 +85986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *312 - *313 - - *314 - *549 - *17 - *19 @@ -85613,7 +85998,7 @@ paths: application/json: schema: type: array - items: *454 + items: *453 examples: default: value: @@ -85651,8 +86036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *312 - *313 - - *314 - *549 responses: '204': @@ -85676,8 +86061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -85790,8 +86175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 responses: '200': @@ -85867,8 +86252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -85906,7 +86291,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -86442,8 +86827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: true @@ -86478,7 +86863,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -86983,8 +87368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *17 - *19 @@ -87151,8 +87536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -87308,8 +87693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - &553 name: review_id @@ -87384,8 +87769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 requestBody: @@ -87472,8 +87857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 responses: @@ -87510,8 +87895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *312 - *313 - - *314 - *549 - *553 - *17 @@ -87611,9 +87996,9 @@ paths: _links: type: object properties: - self: *238 - html: *238 - pull_request: *238 + self: *237 + html: *237 + pull_request: *237 required: - self - html @@ -87771,8 +88156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 requestBody: @@ -87866,8 +88251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 requestBody: @@ -87928,8 +88313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -87994,8 +88379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *312 - *313 - - *314 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88052,8 +88437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *312 - *313 - - *314 - name: dir description: The alternate path to look for a README file in: path @@ -88097,8 +88482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -88377,8 +88762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -88561,8 +88946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *312 - *313 - - *314 - &560 name: asset_id description: The unique identifier of the asset. @@ -88612,7 +88997,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88628,8 +89013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *312 - *313 - - *314 - *560 requestBody: required: false @@ -88677,8 +89062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *312 - *313 - - *314 - *560 responses: '204': @@ -88703,8 +89088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -88790,8 +89175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -88816,8 +89201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *312 - *313 - - *314 - name: tag description: tag parameter in: path @@ -88854,8 +89239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *312 - *313 - - *314 - &563 name: release_id description: The unique identifier of the release. @@ -88890,8 +89275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *312 - *313 - - *314 - *563 requestBody: required: false @@ -88979,8 +89364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *312 - *313 - - *314 - *563 responses: '204': @@ -89001,8 +89386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *312 - *313 - - *314 - *563 - *17 - *19 @@ -89094,8 +89479,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: + - *312 - *313 - - *314 - *563 - name: name in: query @@ -89177,8 +89562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *312 - *313 - - *314 - *563 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -89203,9 +89588,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -89226,8 +89611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *312 - *313 - - *314 - *563 requestBody: required: true @@ -89258,16 +89643,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -89289,10 +89674,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *312 - *313 - - *314 - *563 - - *309 + - *308 responses: '204': description: Response @@ -89316,9 +89701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 - *17 - *19 responses: @@ -89334,7 +89719,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *255 + - *254 - &564 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -89354,6 +89739,9 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *255 + - *564 - allOf: - *256 - *564 @@ -89361,10 +89749,10 @@ paths: - *257 - *564 - allOf: - - *258 + - *565 - *564 - allOf: - - *565 + - *258 - *564 - allOf: - *259 @@ -89411,9 +89799,6 @@ paths: - allOf: - *273 - *564 - - allOf: - - *274 - - *564 - allOf: - *566 - *564 @@ -89455,8 +89840,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - *17 - *19 - name: includes_parents @@ -89475,7 +89860,7 @@ paths: application/json: schema: type: array - items: *275 + items: *274 examples: default: value: @@ -89522,8 +89907,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 requestBody: description: Request body required: true @@ -89543,12 +89928,12 @@ paths: - tag - push default: branch - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *252 + conditions: *249 rules: type: array description: An array of rules within the ruleset. @@ -89583,7 +89968,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: default: &578 value: @@ -89632,8 +90017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *312 - *313 - - *314 - *569 - *570 - *571 @@ -89668,8 +90053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *312 - *313 - - *314 - *575 responses: '200': @@ -89706,8 +90091,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89727,7 +90112,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: default: *578 '404': *6 @@ -89747,8 +90132,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89773,12 +90158,12 @@ paths: - branch - tag - push - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *252 + conditions: *249 rules: description: An array of rules within the ruleset. type: array @@ -89810,7 +90195,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: default: *578 '404': *6 @@ -89830,8 +90215,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89854,8 +90239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *312 - *313 - - *314 - *17 - *19 - name: ruleset_id @@ -89871,7 +90256,7 @@ paths: application/json: schema: type: array - items: *278 + items: *277 examples: default: *579 '404': *6 @@ -89892,8 +90277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89966,21 +90351,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *312 - *313 - - *314 + - *278 - *279 - *280 - *281 - - *282 - *46 - *19 - *17 - *581 - *582 + - *282 - *283 - *284 - *285 - - *286 responses: '200': description: Response @@ -90104,6 +90489,10 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: default: value: @@ -90196,6 +90585,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 '404': description: Repository is public or secret scanning is disabled for the repository @@ -90221,10 +90629,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 - - *286 + - *413 + - *285 responses: '200': description: Response @@ -90282,9 +90690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 requestBody: required: true content: @@ -90387,9 +90795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 - *19 - *17 responses: @@ -90525,8 +90933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -90602,8 +91010,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: + - *312 - *313 - - *314 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90724,8 +91132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *312 - *313 - - *314 - *46 - name: sort description: The property to sort the results by. @@ -90794,8 +91202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -90875,7 +91283,7 @@ paths: login: type: string description: The username of the user credited. - type: *291 + type: *290 required: - login - type @@ -91200,8 +91608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -91461,8 +91869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *312 - *313 - - *314 - *605 responses: '200': @@ -91495,8 +91903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *312 - *313 - - *314 - *605 requestBody: required: true @@ -91577,7 +91985,7 @@ paths: login: type: string description: The username of the user credited. - type: *291 + type: *290 required: - login - type @@ -91709,8 +92117,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: + - *312 - *313 - - *314 - *605 responses: '202': *37 @@ -91738,17 +92146,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *312 - *313 - - *314 - *605 responses: '202': description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 '400': *14 '422': *15 '403': *27 @@ -91774,8 +92182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -91871,8 +92279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *312 - *313 - - *314 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91914,8 +92322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -91993,8 +92401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -92088,8 +92496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *312 - *313 - - *314 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92243,8 +92651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *312 - *313 - - *314 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92287,8 +92695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *312 - *313 - - *314 - name: sha in: path required: true @@ -92398,8 +92806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -92431,8 +92839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *312 - *313 - - *314 responses: '200': description: if you subscribe to the repository @@ -92511,8 +92919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -92565,8 +92973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -92586,8 +92994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -92669,8 +93077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -92735,8 +93143,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -92790,8 +93198,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: + - *312 - *313 - - *314 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92828,8 +93236,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *312 - *313 - - *314 - name: ref in: path required: true @@ -92865,8 +93273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -92878,7 +93286,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 headers: Link: *57 '404': *6 @@ -92898,8 +93306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *312 - *313 - - *314 - *19 - *17 responses: @@ -92942,8 +93350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -92997,8 +93405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *312 - *313 - - *314 - &613 name: per description: The time frame to display results for. @@ -93117,8 +93525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -93212,8 +93620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -93276,8 +93684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *312 - *313 - - *314 - *613 responses: '200': @@ -93376,8 +93784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -93651,8 +94059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93675,8 +94083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -93698,8 +94106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -93725,8 +94133,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *312 - *313 - - *314 - name: ref in: path required: true @@ -93818,9 +94226,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94301,7 +94709,7 @@ paths: committer: anyOf: - type: 'null' - - *381 + - *380 comment_count: type: integer message: @@ -94335,7 +94743,7 @@ paths: committer: anyOf: - type: 'null' - - *381 + - *380 parents: type: array items: @@ -94649,7 +95057,7 @@ paths: milestone: anyOf: - type: 'null' - - *237 + - *236 comments: type: integer created_at: @@ -94712,7 +95120,7 @@ paths: timeline_url: type: string format: uri - type: *198 + type: *197 performed_via_github_app: anyOf: - type: 'null' @@ -95961,9 +96369,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -96054,16 +96462,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '201': description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 '422': *15 '403': *27 @@ -96133,7 +96541,7 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: default: *621 headers: @@ -96198,9 +96606,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -96228,15 +96636,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *620 - - *302 + - *301 responses: '200': description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96262,7 +96670,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *620 - - *302 + - *301 requestBody: required: false content: @@ -96285,7 +96693,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: default: *622 x-github: @@ -96313,7 +96721,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *620 - - *302 + - *301 responses: '204': description: Response @@ -96343,7 +96751,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *620 - - *302 + - *301 - *46 - *17 - *19 @@ -96354,7 +96762,7 @@ paths: application/json: schema: type: array - items: *303 + items: *302 examples: default: *623 headers: @@ -96386,7 +96794,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *620 - - *302 + - *301 requestBody: required: true content: @@ -96408,9 +96816,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: triggersNotification: true githubCloudOnly: false @@ -96438,16 +96846,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 responses: '200': description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96473,8 +96881,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -96496,7 +96904,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: default: *624 x-github: @@ -96524,8 +96932,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 responses: '204': description: Response @@ -96555,8 +96963,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 - 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. @@ -96582,9 +96990,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 x-github: @@ -96614,8 +97022,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -96647,9 +97055,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96676,7 +97084,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *620 - - *302 + - *301 - 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. @@ -96702,9 +97110,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 x-github: @@ -96734,7 +97142,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *620 - - *302 + - *301 requestBody: required: true content: @@ -96766,9 +97174,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96802,9 +97210,9 @@ paths: application/json: schema: type: array - items: *195 + items: *194 examples: - default: *196 + default: *195 headers: Link: *57 x-github: @@ -97002,7 +97410,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *309 examples: response-if-user-is-a-team-maintainer: *625 '404': *6 @@ -97063,7 +97471,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *309 examples: response-if-users-membership-with-team-is-now-pending: *626 '403': @@ -97138,7 +97546,7 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: default: *627 headers: @@ -97167,13 +97575,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *620 - - *312 + - *311 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: default: *628 '404': @@ -97200,7 +97608,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *620 - - *312 + - *311 requestBody: required: false content: @@ -97268,7 +97676,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *620 - - *312 + - *311 responses: '204': description: Response @@ -97307,7 +97715,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 '404': *6 @@ -97338,8 +97746,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *620 + - *312 - *313 - - *314 responses: '200': description: Alternative response with extra repository information @@ -97497,8 +97905,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *620 + - *312 - *313 - - *314 requestBody: required: false content: @@ -97549,8 +97957,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *620 + - *312 - *313 - - *314 responses: '204': description: Response @@ -98233,9 +98641,9 @@ paths: type: integer codespaces: type: array - items: *203 + items: *202 examples: - default: *204 + default: *203 '304': *35 '500': *98 '401': *23 @@ -98374,17 +98782,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '401': *23 '403': *27 '404': *6 @@ -98470,7 +98878,7 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *435 headers: Link: *57 x-github: @@ -98838,15 +99246,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '304': *35 '500': *98 '401': *23 @@ -98872,7 +99280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 requestBody: required: false content: @@ -98902,9 +99310,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '401': *23 '403': *27 '404': *6 @@ -98926,7 +99334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '202': *37 '304': *35 @@ -98955,7 +99363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '202': description: Response @@ -99046,7 +99454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *205 + - *204 - name: export_id in: path required: true @@ -99082,7 +99490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *205 + - *204 responses: '200': description: Response @@ -99098,7 +99506,7 @@ paths: type: integer machines: type: array - items: *435 + items: *434 examples: default: *637 '304': *35 @@ -99129,7 +99537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *205 + - *204 requestBody: required: true content: @@ -99185,11 +99593,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *320 machine: anyOf: - type: 'null' - - *435 + - *434 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99986,15 +100394,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '304': *35 '500': *98 '400': *14 @@ -100026,15 +100434,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '500': *98 '401': *23 '403': *27 @@ -100064,7 +100472,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: &649 value: @@ -101176,12 +101584,12 @@ paths: application/json: schema: anyOf: - - *193 + - *192 - type: object properties: {} additionalProperties: false examples: - default: *194 + default: *193 '204': description: Response when there are no restrictions x-github: @@ -101216,7 +101624,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *192 examples: default: value: @@ -101297,7 +101705,7 @@ paths: - closed - all default: open - - *201 + - *200 - name: sort description: What to sort results by. in: query @@ -101322,7 +101730,7 @@ paths: type: array items: *81 examples: - default: *202 + default: *201 headers: Link: *57 '404': *6 @@ -101740,7 +102148,7 @@ paths: application/json: schema: type: array - items: *207 + items: *206 examples: default: value: @@ -101848,7 +102256,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *206 examples: default: value: @@ -101931,7 +102339,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *206 examples: default: value: @@ -101999,7 +102407,7 @@ paths: application/json: schema: type: array - items: *209 + items: *208 examples: default: value: @@ -102261,7 +102669,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -102441,7 +102849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *210 + - *209 - name: exclude in: query required: false @@ -102454,7 +102862,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -102648,7 +103056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *210 + - *209 responses: '302': description: Response @@ -102674,7 +103082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *210 + - *209 responses: '204': description: Response @@ -102703,7 +103111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *210 + - *209 - *646 responses: '204': @@ -102728,7 +103136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *210 + - *209 - *17 - *19 responses: @@ -102740,7 +103148,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 '404': *6 @@ -102829,7 +103237,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: *649 '400': *650 @@ -102852,14 +103260,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *216 - *217 - - *218 responses: '200': description: Response content: application/json: - schema: *215 + schema: *214 examples: default: &666 value: @@ -102974,8 +103382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *216 - *217 - - *218 responses: '204': description: Response @@ -103005,8 +103413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - name: token description: package token schema: @@ -103038,8 +103446,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: + - *216 - *217 - - *218 - *19 - *17 - name: state @@ -103059,7 +103467,7 @@ paths: application/json: schema: type: array - items: *219 + items: *218 examples: default: value: @@ -103108,15 +103516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *218 examples: default: value: @@ -103152,9 +103560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 responses: '204': description: Response @@ -103184,9 +103592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 responses: '204': description: Response @@ -103244,7 +103652,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -103749,9 +104157,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103814,7 +104222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *197 + - *196 responses: '204': description: Response @@ -103837,7 +104245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *197 + - *196 responses: '204': description: Response @@ -104411,8 +104819,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: + - *312 - *313 - - *314 responses: '204': description: Response if this repository is starred by you @@ -104440,8 +104848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -104465,8 +104873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -104501,7 +104909,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 '304': *35 @@ -104538,7 +104946,7 @@ paths: application/json: schema: type: array - items: *298 + items: *297 examples: default: value: @@ -105083,7 +105491,7 @@ paths: initiator: type: string examples: - default: *377 + default: *376 '201': description: Response content: @@ -105122,7 +105530,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: *649 '403': *27 @@ -105770,7 +106178,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: *649 '403': *27 @@ -105795,15 +106203,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: + - *216 - *217 - - *218 - *62 responses: '200': description: Response content: application/json: - schema: *215 + schema: *214 examples: default: *666 x-github: @@ -105826,8 +106234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: + - *216 - *217 - - *218 - *62 responses: '204': @@ -105860,8 +106268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: + - *216 - *217 - - *218 - *62 - name: token description: package token @@ -105894,8 +106302,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: + - *216 - *217 - - *218 - *62 responses: '200': @@ -105904,7 +106312,7 @@ paths: application/json: schema: type: array - items: *219 + items: *218 examples: default: value: @@ -105962,16 +106370,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 - *62 responses: '200': description: Response content: application/json: - schema: *219 + schema: *218 examples: default: value: @@ -106006,10 +106414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: + - *216 - *217 - - *218 - *62 - - *220 + - *219 responses: '204': description: Response @@ -106041,10 +106449,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: + - *216 - *217 - - *218 - *62 - - *220 + - *219 responses: '204': description: Response @@ -106091,7 +106499,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -106166,9 +106574,9 @@ paths: application/json: schema: type: array - items: *232 + items: *231 examples: - default: *233 + default: *232 headers: Link: *57 '304': *35 @@ -106190,16 +106598,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *234 + - *233 - *62 responses: '200': description: Response content: application/json: - schema: *232 + schema: *231 examples: - default: *233 + default: *232 headers: Link: *57 '304': *35 @@ -106221,7 +106629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *234 + - *233 - *62 - *17 - *38 @@ -106233,9 +106641,9 @@ paths: application/json: schema: type: array - items: *235 + items: *234 examples: - default: *236 + default: *235 headers: Link: *57 '304': *35 @@ -106257,7 +106665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *234 + - *233 - *667 - *62 responses: @@ -106265,9 +106673,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *234 examples: - default: *236 + default: *235 headers: Link: *57 '304': *35 @@ -106290,7 +106698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *234 + - *233 - *62 - *38 - *39 @@ -106321,9 +106729,9 @@ paths: application/json: schema: type: array - items: *241 + items: *240 examples: - default: *242 + default: *241 headers: Link: *57 '304': *35 @@ -106345,7 +106753,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *62 - - *234 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -106384,8 +106792,8 @@ paths: application/json: schema: *668 examples: - issue: *240 - pull_request: *240 + issue: *239 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -106405,9 +106813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *234 + - *233 - *62 - - *243 + - *242 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106425,9 +106833,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 headers: Link: *57 '304': *35 @@ -106448,9 +106856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *234 + - *233 - *62 - - *243 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -106523,13 +106931,13 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - text_field: *242 - number_field: *242 - date_field: *242 - single_select_field: *242 - iteration_field: *242 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -106549,9 +106957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *234 + - *233 - *62 - - *243 + - *242 responses: '204': description: Response @@ -106799,7 +107207,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -107250,7 +107658,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -109106,7 +109514,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *394 + items: *393 repository: *129 status: type: string @@ -109211,7 +109619,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *394 + items: *393 started_at: type: string format: date-time @@ -112992,7 +113400,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113324,7 +113732,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113668,7 +114076,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114027,7 +114435,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114312,7 +114720,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114601,7 +115009,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115202,7 +115610,7 @@ webhooks: type: string enum: - created - definition: *244 + definition: *243 enterprise: *683 installation: *684 organization: *685 @@ -115369,7 +115777,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *244 + definition: *243 enterprise: *683 installation: *684 organization: *685 @@ -115449,7 +115857,7 @@ webhooks: type: string enum: - updated - definition: *244 + definition: *243 enterprise: *683 installation: *684 organization: *685 @@ -115537,11 +115945,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *248 + items: *247 old_property_values: type: array description: The old custom property values for the repository. - items: *248 + items: *247 required: - action - repository @@ -127189,7 +127597,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -128613,7 +129021,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -129888,7 +130296,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -131533,7 +131941,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -132556,7 +132964,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -133712,7 +134120,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -134747,7 +135155,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -135902,7 +136310,7 @@ webhooks: timeline_url: type: string format: uri - type: *198 + type: *197 title: description: Title of the issue type: string @@ -136920,7 +137328,7 @@ webhooks: timeline_url: type: string format: uri - type: *198 + type: *197 title: description: Title of the issue type: string @@ -137963,7 +138371,7 @@ webhooks: timeline_url: type: string format: uri - type: *198 + type: *197 title: description: Title of the issue type: string @@ -138978,7 +139386,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -140052,7 +140460,7 @@ webhooks: required: - login - id - type: *198 + type: *197 required: - id - number @@ -141367,7 +141775,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -142379,7 +142787,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -143497,7 +143905,7 @@ webhooks: format: uri user_view_type: type: string - type: *198 + type: *197 organization: *685 repository: *686 sender: *4 @@ -144409,7 +144817,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -145078,7 +145486,7 @@ webhooks: enterprise: *683 installation: *684 issue: *710 - type: *198 + type: *197 organization: *685 repository: *686 sender: *4 @@ -146257,7 +146665,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -146504,7 +146912,7 @@ webhooks: enterprise: *683 installation: *684 issue: *710 - type: *198 + type: *197 organization: *685 repository: *686 sender: *4 @@ -148510,7 +148918,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *397 required: - head_sha - head_ref @@ -154301,7 +154709,7 @@ webhooks: - closed installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154384,7 +154792,7 @@ webhooks: - created installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154467,7 +154875,7 @@ webhooks: - deleted installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154590,7 +154998,7 @@ webhooks: type: string installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154709,7 +155117,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *239 + content_type: *238 creator: *4 created_at: type: string @@ -155464,7 +155872,7 @@ webhooks: - reopened installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -163457,7 +163865,7 @@ webhooks: enum: - demilestoned enterprise: *683 - milestone: *237 + milestone: *236 number: *728 organization: *685 pull_request: &730 @@ -175703,7 +176111,7 @@ webhooks: enum: - milestoned enterprise: *683 - milestone: *237 + milestone: *236 number: *728 organization: *685 pull_request: *730 @@ -219815,7 +220223,7 @@ webhooks: installation: *684 organization: *685 repository: *686 - repository_ruleset: *275 + repository_ruleset: *274 sender: *4 required: - action @@ -219897,7 +220305,7 @@ webhooks: installation: *684 organization: *685 repository: *686 - repository_ruleset: *275 + repository_ruleset: *274 sender: *4 required: - action @@ -219979,7 +220387,7 @@ webhooks: installation: *684 organization: *685 repository: *686 - repository_ruleset: *275 + repository_ruleset: *274 changes: type: object properties: @@ -219998,16 +220406,16 @@ webhooks: properties: added: type: array - items: *250 + items: *249 deleted: type: array - items: *250 + items: *249 updated: type: array items: type: object properties: - condition: *250 + condition: *249 changes: type: object properties: @@ -221263,6 +221671,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - *4 enterprise: *683 installation: *684 organization: *685 @@ -222506,11 +222918,11 @@ webhooks: from: type: object properties: - security_and_analysis: *249 + security_and_analysis: *248 enterprise: *683 installation: *684 organization: *685 - repository: *321 + repository: *320 sender: *4 required: - changes diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 3b642db3f9..d352d001a0 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -5641,7 +5641,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -6732,7 +6732,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -7596,7 +7596,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -8025,7 +8025,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -10312,7 +10312,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -11435,7 +11435,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -12422,7 +12422,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -13112,7 +13112,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -26194,6 +26194,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -26361,7 +26536,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -100936,7 +101131,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": [ { @@ -100947,13 +101142,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", @@ -103321,9 +103525,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -103338,8 +103549,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -114641,7 +114852,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -115747,7 +115958,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -184120,6 +184331,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -184287,7 +184673,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -188250,6 +188656,1312 @@ } } }, + "/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" + ], + "examples": [ + "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" + ], + "examples": [ + "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", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "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", @@ -363187,6 +364899,229 @@ } } }, + "/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", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "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", @@ -365792,7 +367727,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -543441,6 +545376,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -543541,7 +545651,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -544657,6 +546787,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -545843,6 +548148,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -627743,7 +630223,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -679702,7 +682182,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -880802,7 +883282,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -883868,7 +886348,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -886839,7 +889319,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -889810,7 +892290,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -892915,7 +895395,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -896027,7 +898507,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -901134,7 +903614,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1378484,38 +1380964,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1378690,15 +1381353,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1378872,42 +1381563,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1381338,15 +1383993,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1381520,42 +1384386,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1384214,38 +1387044,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1384420,15 +1387433,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1384602,42 +1387643,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1387068,15 +1390073,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1387250,42 +1390466,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1389510,38 +1392690,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1389716,15 +1393079,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1389898,42 +1393289,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1392582,6 +1395937,181 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index e0744dcc3b..d54f2dbb61 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &291 + type: &290 type: string description: The type of credit the user is receiving. enum: @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &176 + - &175 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &177 + items: &176 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &178 + default: &177 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &178 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &180 + default: &179 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2526,7 +2526,8 @@ paths: organization_custom_properties: type: string description: The level of permission to grant the access - token for custom property management. + token for repository custom properties management at the + organization level. enum: - read - write @@ -8958,7 +8959,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 - - &165 + - &457 name: has in: query description: |- @@ -8972,7 +8973,7 @@ paths: type: string enum: - patch - - &166 + - &165 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8982,7 +8983,7 @@ paths: enum: - development - runtime - - &167 + - &166 name: sort in: query description: |- @@ -9000,7 +9001,7 @@ paths: - *46 - *38 - *39 - - &168 + - &167 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -9013,7 +9014,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &169 + - &168 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -9033,7 +9034,7 @@ paths: application/json: schema: type: array - items: &170 + items: &169 type: object description: A Dependabot alert. properties: @@ -9398,7 +9399,7 @@ paths: - repository additionalProperties: false examples: - default: &171 + default: &170 value: - number: 2 state: dismissed @@ -9745,7 +9746,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &279 + - &278 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9756,7 +9757,7 @@ paths: enum: - open - resolved - - &280 + - &279 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9766,7 +9767,7 @@ paths: required: false schema: type: string - - &281 + - &280 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9775,7 +9776,7 @@ paths: required: false schema: type: string - - &282 + - &281 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. @@ -9791,7 +9792,7 @@ paths: - *17 - *38 - *39 - - &283 + - &282 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9800,7 +9801,7 @@ paths: required: false schema: type: string - - &284 + - &283 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9809,7 +9810,7 @@ paths: schema: type: boolean default: false - - &285 + - &284 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9818,7 +9819,7 @@ paths: schema: type: boolean default: false - - &286 + - &285 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9834,7 +9835,7 @@ paths: application/json: schema: type: array - items: &287 + items: &286 type: object properties: number: *52 @@ -10259,8 +10260,12 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: &288 + default: &287 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10416,6 +10421,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 headers: Link: *57 '404': *6 @@ -11195,7 +11219,7 @@ paths: milestone: anyOf: - type: 'null' - - &237 + - &236 title: Milestone description: A collection of related issues and pull requests. @@ -11367,7 +11391,7 @@ paths: timeline_url: type: string format: uri - type: &198 + type: &197 title: Issue Type description: The type of issue. type: @@ -14081,7 +14105,7 @@ paths: - closed - all default: open - - &201 + - &200 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14132,7 +14156,7 @@ paths: type: array items: *81 examples: - default: &202 + default: &201 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15544,14 +15568,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &313 + - &312 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &314 + - &313 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15622,7 +15646,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &322 + '301': &321 description: Moved permanently content: application/json: @@ -16033,7 +16057,7 @@ paths: type: boolean examples: - false - security_and_analysis: &249 + security_and_analysis: &248 type: - object - 'null' @@ -18271,7 +18295,7 @@ paths: type: integer repository_cache_usages: type: array - items: &327 + items: &326 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19168,7 +19192,7 @@ paths: - all - local_only - selected - selected_actions_url: &333 + selected_actions_url: &332 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` @@ -19251,7 +19275,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &336 type: object properties: days: @@ -19293,7 +19317,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &337 type: object properties: days: @@ -19350,7 +19374,7 @@ paths: required: - approval_policy examples: - default: &339 + default: &338 value: approval_policy: first_time_contributors '404': *6 @@ -19409,7 +19433,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &339 type: object required: - run_workflows_from_fork_pull_requests @@ -19463,7 +19487,7 @@ paths: required: true content: application/json: - schema: &341 + schema: &340 type: object required: - run_workflows_from_fork_pull_requests @@ -20098,7 +20122,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &341 type: object properties: default_workflow_permissions: &122 @@ -20149,7 +20173,7 @@ paths: required: false content: application/json: - schema: &343 + schema: &342 type: object properties: default_workflow_permissions: *122 @@ -21289,7 +21313,7 @@ paths: application/json: schema: type: array - items: &344 + items: &343 title: Runner Application description: Runner Application type: object @@ -21314,7 +21338,7 @@ paths: - download_url - filename examples: - default: &345 + default: &344 value: - os: osx architecture: x64 @@ -21400,7 +21424,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &346 + '201': &345 description: Response content: application/json: @@ -21515,7 +21539,7 @@ paths: - token - expires_at examples: - default: &347 + default: &346 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21554,7 +21578,7 @@ paths: application/json: schema: *133 examples: - default: &348 + default: &347 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21588,7 +21612,7 @@ paths: application/json: schema: *131 examples: - default: &349 + default: &348 value: id: 23 name: MBP @@ -21814,7 +21838,7 @@ paths: - *97 - *130 responses: - '200': &350 + '200': &349 description: Response content: application/json: @@ -21871,7 +21895,7 @@ paths: parameters: - *97 - *130 - - &351 + - &350 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22003,7 +22027,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &362 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22038,7 +22062,7 @@ paths: - key_id - key examples: - default: &364 + default: &363 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22451,7 +22475,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *97 - - &332 + - &331 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)." @@ -23546,7 +23570,7 @@ paths: initiator: type: string examples: - default: &377 + default: &376 value: attestations: - bundle: @@ -23899,7 +23923,7 @@ paths: parent: anyOf: - type: 'null' - - &213 + - &212 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -24496,7 +24520,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *97 - - &402 + - &401 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`, @@ -24506,7 +24530,7 @@ paths: schema: &147 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &402 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 @@ -24530,7 +24554,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &404 type: string description: State of a code scanning alert. enum: @@ -24553,7 +24577,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &405 type: string description: Severity of a code scanning alert. enum: @@ -24579,7 +24603,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &407 + instances_url: &406 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24601,7 +24625,7 @@ paths: - type: 'null' - *4 dismissed_at: *146 - dismissed_reason: &408 + dismissed_reason: &407 type: - string - 'null' @@ -24612,14 +24636,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &408 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &409 type: object properties: id: @@ -24680,7 +24704,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &410 type: object properties: name: *147 @@ -24691,15 +24715,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *148 - most_recent_instance: &412 + most_recent_instance: &411 type: object properties: - ref: &404 + ref: &403 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &421 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24710,7 +24734,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &422 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26003,7 +26027,7 @@ paths: type: integer codespaces: type: array - items: &203 + items: &202 type: object title: Codespace description: A codespace. @@ -26038,7 +26062,7 @@ paths: machine: anyOf: - type: 'null' - - &435 + - &434 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26325,7 +26349,7 @@ paths: - pulls_url - recent_folders examples: - default: &204 + default: &203 value: total_count: 3 codespaces: @@ -26990,7 +27014,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &435 value: total_count: 2 secrets: @@ -27028,7 +27052,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &436 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27063,7 +27087,7 @@ paths: - key_id - key examples: - default: &438 + default: &437 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27095,7 +27119,7 @@ paths: application/json: schema: *157 examples: - default: &440 + default: &439 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27562,7 +27586,7 @@ paths: currently being billed. seats: type: array - items: &206 + items: &205 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28093,7 +28117,7 @@ paths: application/json: schema: type: array - items: &295 + items: &294 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28408,7 +28432,7 @@ paths: - date additionalProperties: true examples: - default: &296 + default: &295 value: - date: '2024-06-24' total_active_users: 24 @@ -28510,7 +28534,7 @@ paths: '500': *98 '403': *27 '404': *6 - '422': &297 + '422': &296 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28558,14 +28582,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 - *165 - *166 - - *167 - *46 - *38 - *39 + - *167 - *168 - - *169 - *17 responses: '200': @@ -28574,9 +28619,9 @@ paths: application/json: schema: type: array - items: *170 + items: *169 examples: - default: *171 + default: *170 '304': *35 '400': *14 '403': *27 @@ -28620,7 +28665,7 @@ paths: type: integer secrets: type: array - items: &172 + items: &171 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28748,7 +28793,7 @@ paths: description: Response content: application/json: - schema: *172 + schema: *171 examples: default: value: @@ -28813,9 +28858,13 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -28825,8 +28874,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -29045,7 +29094,7 @@ paths: application/json: schema: type: array - items: &215 + items: &214 title: Package description: A software package type: object @@ -29116,7 +29165,7 @@ paths: - created_at - updated_at examples: - default: &216 + default: &215 value: - id: 197 name: hello_docker @@ -29283,7 +29332,7 @@ paths: application/json: schema: type: array - items: &195 + items: &194 title: Organization Invitation description: Organization Invitation type: object @@ -29337,7 +29386,7 @@ paths: - invitation_teams_url - node_id examples: - default: &196 + default: &195 value: - id: 1 login: monalisa @@ -29404,7 +29453,7 @@ paths: application/json: schema: type: array - items: &173 + items: &172 title: Org Hook description: Org Hook type: object @@ -29589,9 +29638,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *172 examples: - default: &174 + default: &173 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29639,7 +29688,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *97 - - &175 + - &174 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. @@ -29652,9 +29701,9 @@ paths: description: Response content: application/json: - schema: *173 + schema: *172 examples: - default: *174 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -29682,7 +29731,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *97 - - *175 + - *174 requestBody: required: false content: @@ -29728,7 +29777,7 @@ paths: description: Response content: application/json: - schema: *173 + schema: *172 examples: default: value: @@ -29770,7 +29819,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *97 - - *175 + - *174 responses: '204': description: Response @@ -29798,7 +29847,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *97 - - *175 + - *174 responses: '200': description: Response @@ -29829,7 +29878,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *97 - - *175 + - *174 requestBody: required: false content: @@ -29880,9 +29929,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *97 - - *175 + - *174 - *17 - - *176 + - *175 responses: '200': description: Response @@ -29890,9 +29939,9 @@ paths: application/json: schema: type: array - items: *177 + items: *176 examples: - default: *178 + default: *177 '400': *14 '422': *15 x-github: @@ -29918,16 +29967,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *97 - - *175 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *179 + schema: *178 examples: - default: *180 + default: *179 '400': *14 '422': *15 x-github: @@ -29953,7 +30002,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *97 - - *175 + - *174 - *16 responses: '202': *37 @@ -29983,7 +30032,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *97 - - *175 + - *174 responses: '204': description: Response @@ -30006,7 +30055,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *97 - - &185 + - &184 name: actor_type in: path description: The type of the actor @@ -30019,14 +30068,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &186 + - &185 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &181 + - &180 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`.' @@ -30034,7 +30083,7 @@ paths: required: true schema: type: string - - &182 + - &181 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) @@ -30129,12 +30178,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *97 + - *180 - *181 - - *182 - *19 - *17 - *46 - - &191 + - &190 name: sort description: The property to sort the results by. in: query @@ -30214,14 +30263,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *97 + - *180 - *181 - - *182 responses: '200': description: Response content: application/json: - schema: &183 + schema: &182 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30237,7 +30286,7 @@ paths: type: integer format: int64 examples: - default: &184 + default: &183 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30258,23 +30307,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *97 - - &187 + - &186 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *180 - *181 - - *182 responses: '200': description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -30293,18 +30342,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *97 + - *180 - *181 - - *182 + - *184 - *185 - - *186 responses: '200': description: Response content: application/json: - schema: *183 + schema: *182 examples: - default: *184 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -30322,9 +30371,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *97 + - *180 - *181 - - *182 - - &188 + - &187 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30337,7 +30386,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30353,7 +30402,7 @@ paths: type: integer format: int64 examples: - default: &190 + default: &189 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30390,18 +30439,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *97 - - *187 + - *186 + - *180 - *181 - - *182 - - *188 + - *187 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -30419,19 +30468,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *97 + - *184 - *185 - - *186 + - *180 - *181 - - *182 - - *188 + - *187 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -30449,13 +30498,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *97 - - *187 + - *186 + - *180 - *181 - - *182 - *19 - *17 - *46 - - *191 + - *190 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30705,12 +30754,12 @@ paths: application/json: schema: anyOf: - - &193 + - &192 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &192 + limit: &191 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30738,7 +30787,7 @@ paths: properties: {} additionalProperties: false examples: - default: &194 + default: &193 value: limit: collaborators_only origin: organization @@ -30773,7 +30822,7 @@ paths: duration type: object properties: - limit: *192 + limit: *191 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30798,9 +30847,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *192 examples: - default: *194 + default: *193 '422': *15 x-github: githubCloudOnly: false @@ -30876,9 +30925,9 @@ paths: application/json: schema: type: array - items: *195 + items: *194 examples: - default: *196 + default: *195 headers: Link: *57 '404': *6 @@ -30955,7 +31004,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *194 examples: default: value: @@ -31010,7 +31059,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *97 - - &197 + - &196 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31041,7 +31090,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *97 - - *197 + - *196 - *17 - *19 responses: @@ -31053,7 +31102,7 @@ paths: type: array items: *159 examples: - default: &214 + default: &213 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31096,7 +31145,7 @@ paths: application/json: schema: type: array - items: *198 + items: *197 examples: default: value: @@ -31184,9 +31233,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *197 examples: - default: &199 + default: &198 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31219,7 +31268,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *97 - - &200 + - &199 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31275,9 +31324,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *197 examples: - default: *199 + default: *198 '404': *6 '422': *7 x-github: @@ -31302,7 +31351,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *97 - - *200 + - *199 responses: '204': description: Response @@ -31365,7 +31414,7 @@ paths: - closed - all default: open - - *201 + - *200 - name: type description: Can be the name of an issue type. in: query @@ -31396,7 +31445,7 @@ paths: type: array items: *81 examples: - default: *202 + default: *201 headers: Link: *57 '404': *6 @@ -31555,9 +31604,9 @@ paths: type: integer codespaces: type: array - items: *203 + items: *202 examples: - default: *204 + default: *203 '304': *35 '500': *98 '401': *23 @@ -31584,7 +31633,7 @@ paths: parameters: - *97 - *62 - - &205 + - &204 name: codespace_name in: path required: true @@ -31619,15 +31668,15 @@ paths: parameters: - *97 - *62 - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: &434 + default: &433 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31807,7 +31856,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *206 + schema: *205 examples: default: value: @@ -31883,7 +31932,7 @@ paths: description: Response content: application/json: - schema: &207 + schema: &206 title: Org Membership description: Org Membership type: object @@ -31952,7 +32001,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &208 + response-if-user-has-an-active-admin-membership-with-organization: &207 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32049,9 +32098,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *206 examples: - response-if-user-already-had-membership-with-organization: *208 + response-if-user-already-had-membership-with-organization: *207 '422': *15 '403': *27 x-github: @@ -32123,7 +32172,7 @@ paths: application/json: schema: type: array - items: &209 + items: &208 title: Migration description: A migration. type: object @@ -32461,7 +32510,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -32640,7 +32689,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *97 - - &210 + - &209 name: migration_id description: The unique identifier of the migration. in: path @@ -32668,7 +32717,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -32838,7 +32887,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *97 - - *210 + - *209 responses: '302': description: Response @@ -32860,7 +32909,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *97 - - *210 + - *209 responses: '204': description: Response @@ -32884,7 +32933,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *97 - - *210 + - *209 - &646 name: repo_name description: repo_name parameter @@ -32913,7 +32962,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *97 - - *210 + - *209 - *17 - *19 responses: @@ -32925,7 +32974,7 @@ paths: type: array items: *129 examples: - default: &221 + default: &220 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33078,7 +33127,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &212 + items: &211 title: Organization Role description: Organization roles type: object @@ -33255,7 +33304,7 @@ paths: parameters: - *97 - *64 - - &211 + - &210 name: role_id description: The unique identifier of the role. in: path @@ -33292,7 +33341,7 @@ paths: parameters: - *97 - *64 - - *211 + - *210 responses: '204': description: Response @@ -33345,7 +33394,7 @@ paths: parameters: - *97 - *62 - - *211 + - *210 responses: '204': description: Response @@ -33377,7 +33426,7 @@ paths: parameters: - *97 - *62 - - *211 + - *210 responses: '204': description: Response @@ -33406,13 +33455,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *97 - - *211 + - *210 responses: '200': description: Response content: application/json: - schema: *212 + schema: *211 examples: default: value: @@ -33463,7 +33512,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *97 - - *211 + - *210 - *17 - *19 responses: @@ -33542,7 +33591,7 @@ paths: parent: anyOf: - type: 'null' - - *213 + - *212 type: description: The ownership type of the team type: string @@ -33575,7 +33624,7 @@ paths: - type - parent examples: - default: *214 + default: *213 headers: Link: *57 '404': @@ -33605,7 +33654,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *97 - - *211 + - *210 - *17 - *19 responses: @@ -33634,7 +33683,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *213 + items: *212 name: type: - string @@ -33980,9 +34029,9 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: - default: *216 + default: *215 '403': *27 '401': *23 '400': &650 @@ -34007,7 +34056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &217 + - &216 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 @@ -34025,7 +34074,7 @@ paths: - docker - nuget - container - - &218 + - &217 name: package_name description: The name of the package. in: path @@ -34038,7 +34087,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *214 examples: default: value: @@ -34090,8 +34139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: + - *216 - *217 - - *218 - *97 responses: '204': @@ -34124,8 +34173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - name: token description: package token @@ -34158,8 +34207,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: + - *216 - *217 - - *218 - *97 - *19 - *17 @@ -34180,7 +34229,7 @@ paths: application/json: schema: type: array - items: &219 + items: &218 title: Package Version description: A version of a software package type: object @@ -34315,10 +34364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - - &220 + - &219 name: package_version_id description: Unique identifier of the package version. in: path @@ -34330,7 +34379,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *218 examples: default: value: @@ -34366,10 +34415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - - *220 + - *219 responses: '204': description: Response @@ -34401,10 +34450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: + - *216 - *217 - - *218 - *97 - - *220 + - *219 responses: '204': description: Response @@ -34434,7 +34483,7 @@ paths: - *97 - *17 - *19 - - &222 + - &221 name: sort description: The property by which to sort the results. in: query @@ -34445,7 +34494,7 @@ paths: - created_at default: created_at - *46 - - &223 + - &222 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34457,7 +34506,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &224 + - &223 name: repository description: The name of the repository to use to filter the results. in: query @@ -34466,7 +34515,7 @@ paths: type: string examples: - Hello-World - - &225 + - &224 name: permission description: The permission to use to filter the results. in: query @@ -34475,7 +34524,7 @@ paths: type: string examples: - issues_read - - &226 + - &225 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) @@ -34485,7 +34534,7 @@ paths: schema: type: string format: date-time - - &227 + - &226 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) @@ -34495,7 +34544,7 @@ paths: schema: type: string format: date-time - - &228 + - &227 name: token_id description: The ID of the token in: query @@ -34814,7 +34863,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -34840,14 +34889,14 @@ paths: - *97 - *17 - *19 - - *222 + - *221 - *46 + - *222 - *223 - *224 - *225 - *226 - *227 - - *228 responses: '500': *98 '422': *15 @@ -35131,7 +35180,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -35173,7 +35222,7 @@ paths: type: integer configurations: type: array - items: &229 + items: &228 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35432,7 +35481,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &230 + org-private-registry-with-selected-visibility: &229 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35530,9 +35579,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *229 + schema: *228 examples: - default: *230 + default: *229 '404': *6 x-github: githubCloudOnly: false @@ -35697,7 +35746,7 @@ paths: application/json: schema: type: array - items: &231 + items: &230 title: Project description: Projects are a way to organize columns and cards of work. @@ -35879,7 +35928,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -35917,7 +35966,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &319 + '410': &318 description: Gone content: application/json: @@ -35960,7 +36009,7 @@ paths: application/json: schema: type: array - items: &232 + items: &231 title: Projects v2 Project description: A projects v2 project type: object @@ -36119,7 +36168,7 @@ paths: - deleted_at - deleted_by examples: - default: &233 + default: &232 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36222,7 +36271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &234 + - &233 name: project_number description: The project's number. in: path @@ -36235,9 +36284,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *231 examples: - default: *233 + default: *232 headers: Link: *57 '304': *35 @@ -36259,7 +36308,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *234 + - *233 - *97 - *17 - *38 @@ -36271,7 +36320,7 @@ paths: application/json: schema: type: array - items: &235 + items: &234 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36421,7 +36470,7 @@ paths: - updated_at - project_url examples: - default: &236 + default: &235 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36464,7 +36513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *234 + - *233 - &667 name: field_id description: The unique identifier of the field. @@ -36478,9 +36527,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *234 examples: - default: *236 + default: *235 headers: Link: *57 '304': *35 @@ -36503,7 +36552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *234 + - *233 - *97 - 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) @@ -36534,7 +36583,7 @@ paths: application/json: schema: type: array - items: &241 + items: &240 title: Projects v2 Item description: An item belonging to a project type: object @@ -36551,7 +36600,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &239 + content_type: &238 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36608,7 +36657,7 @@ paths: - updated_at - archived_at examples: - default: &242 + default: &241 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37303,7 +37352,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *97 - - *234 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -37354,7 +37403,7 @@ paths: content: oneOf: - *81 - - &447 + - &446 title: Pull Request Simple description: Pull Request Simple type: object @@ -37474,7 +37523,7 @@ paths: milestone: anyOf: - type: 'null' - - *237 + - *236 active_lock_reason: type: - string @@ -37573,7 +37622,7 @@ paths: _links: type: object properties: - comments: &238 + comments: &237 title: Link description: Hypermedia Link type: object @@ -37582,13 +37631,13 @@ paths: type: string required: - href - commits: *238 - statuses: *238 - html: *238 - issue: *238 - review_comments: *238 - review_comment: *238 - self: *238 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -37701,7 +37750,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *239 + content_type: *238 creator: *4 created_at: type: string @@ -37738,7 +37787,7 @@ paths: - updated_at - archived_at examples: - issue: &240 + issue: &239 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37793,7 +37842,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: *240 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -37813,9 +37862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *234 + - *233 - *97 - - &243 + - &242 name: item_id description: The unique identifier of the project item. in: path @@ -37839,9 +37888,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 headers: Link: *57 '304': *35 @@ -37862,9 +37911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *234 + - *233 - *97 - - *243 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37937,13 +37986,13 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - text_field: *242 - number_field: *242 - date_field: *242 - single_select_field: *242 - iteration_field: *242 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -37963,9 +38012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *234 + - *233 - *97 - - *243 + - *242 responses: '204': description: Response @@ -37997,7 +38046,7 @@ paths: application/json: schema: type: array - items: &244 + items: &243 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38073,7 +38122,7 @@ paths: - property_name - value_type examples: - default: &245 + default: &244 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38132,7 +38181,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *244 + items: *243 minItems: 1 maxItems: 100 required: @@ -38162,9 +38211,9 @@ paths: application/json: schema: type: array - items: *244 + items: *243 examples: - default: *245 + default: *244 '403': *27 '404': *6 x-github: @@ -38186,7 +38235,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *97 - - &246 + - &245 name: custom_property_name description: The custom property name in: path @@ -38198,9 +38247,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: &247 + default: &246 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38235,7 +38284,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *97 - - *246 + - *245 requestBody: required: true content: @@ -38313,9 +38362,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *243 examples: - default: *247 + default: *246 '403': *27 '404': *6 x-github: @@ -38339,7 +38388,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *97 - - *246 + - *245 responses: '204': *154 '403': *27 @@ -38403,7 +38452,7 @@ paths: - octocat/Hello-World properties: type: array - items: &248 + items: &247 title: Custom Property Value description: Custom property name and associated value type: object @@ -38493,7 +38542,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *248 + items: *247 required: - repository_names - properties @@ -38685,7 +38734,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -38888,7 +38937,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &320 title: Full Repository description: Full Repository type: object @@ -39353,7 +39402,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &451 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39383,7 +39432,7 @@ paths: - key - name - html_url - security_and_analysis: *249 + security_and_analysis: *248 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39467,7 +39516,7 @@ paths: - network_count - subscribers_count examples: - default: &323 + default: &322 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40007,7 +40056,7 @@ paths: application/json: schema: type: array - items: &275 + items: &274 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40042,7 +40091,7 @@ paths: source: type: string description: The name of the source - enforcement: &252 + enforcement: &251 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40055,7 +40104,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &253 + items: &252 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40126,7 +40175,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &250 + - &249 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40150,7 +40199,7 @@ paths: match. items: type: string - - &254 + - &253 title: Organization ruleset conditions type: object description: |- @@ -40164,7 +40213,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *250 + - *249 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40198,7 +40247,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *250 + - *249 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40220,7 +40269,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *250 + - *249 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40233,7 +40282,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &251 + items: &250 title: Repository ruleset property targeting definition type: object @@ -40266,7 +40315,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *251 + items: *250 required: - repository_property type: @@ -40279,7 +40328,7 @@ paths: type: object description: A repository rule. oneOf: - - &255 + - &254 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40291,7 +40340,7 @@ paths: type: string enum: - creation - - &256 + - &255 title: update description: Only allow users with bypass permission to update matching refs. @@ -40312,7 +40361,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &257 + - &256 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40324,7 +40373,7 @@ paths: type: string enum: - deletion - - &258 + - &257 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40414,7 +40463,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &259 + - &258 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40438,7 +40487,7 @@ paths: type: string required: - required_deployment_environments - - &260 + - &259 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40450,7 +40499,7 @@ paths: type: string enum: - required_signatures - - &261 + - &260 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40512,7 +40561,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &262 + - &261 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40560,7 +40609,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &263 + - &262 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40572,7 +40621,7 @@ paths: type: string enum: - non_fast_forward - - &264 + - &263 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40608,7 +40657,7 @@ paths: required: - operator - pattern - - &265 + - &264 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40644,7 +40693,7 @@ paths: required: - operator - pattern - - &266 + - &265 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40680,7 +40729,7 @@ paths: required: - operator - pattern - - &267 + - &266 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40716,7 +40765,7 @@ paths: required: - operator - pattern - - &268 + - &267 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40752,7 +40801,7 @@ paths: required: - operator - pattern - - &269 + - &268 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40777,7 +40826,7 @@ paths: type: string required: - restricted_file_paths - - &270 + - &269 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40801,7 +40850,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &271 + - &270 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40824,7 +40873,7 @@ paths: type: string required: - restricted_file_extensions - - &272 + - &271 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40849,7 +40898,7 @@ paths: maximum: 100 required: - max_file_size - - &273 + - &272 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40899,7 +40948,7 @@ paths: - repository_id required: - workflows - - &274 + - &273 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41058,20 +41107,21 @@ paths: - push - repository default: branch - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *252 + conditions: *253 rules: type: array description: An array of rules within the ruleset. - items: &277 + items: &276 title: Repository Rule type: object description: A repository rule. oneOf: + - *254 - *255 - *256 - *257 @@ -41091,7 +41141,6 @@ paths: - *271 - *272 - *273 - - *274 required: - name - enforcement @@ -41129,9 +41178,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: - default: &276 + default: &275 value: id: 21 name: super cool ruleset @@ -41540,9 +41589,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: - default: *276 + default: *275 '404': *6 '500': *98 put: @@ -41586,16 +41635,16 @@ paths: - tag - push - repository - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *254 + items: *252 + conditions: *253 rules: description: An array of rules within the ruleset. type: array - items: *277 + items: *276 examples: default: value: @@ -41630,9 +41679,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: - default: *276 + default: *275 '404': *6 '500': *98 delete: @@ -41689,7 +41738,7 @@ paths: application/json: schema: type: array - items: &278 + items: &277 title: Ruleset version type: object description: The historical version of a ruleset @@ -41768,7 +41817,7 @@ paths: application/json: schema: &580 allOf: - - *278 + - *277 - type: object required: - state @@ -41838,10 +41887,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *97 + - *278 - *279 - *280 - *281 - - *282 - *46 - *19 - *17 @@ -41865,10 +41914,10 @@ paths: required: false schema: type: string + - *282 - *283 - *284 - *285 - - *286 responses: '200': description: Response @@ -41876,9 +41925,9 @@ paths: application/json: schema: type: array - items: *287 + items: *286 examples: - default: *288 + default: *287 headers: Link: *57 '404': *6 @@ -41919,7 +41968,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &290 + pattern_config_version: &289 type: - string - 'null' @@ -41929,7 +41978,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &289 + items: &288 type: object properties: token_type: @@ -41998,7 +42047,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *289 + items: *288 examples: default: value: @@ -42055,7 +42104,7 @@ paths: schema: type: object properties: - pattern_config_version: *290 + pattern_config_version: *289 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42081,7 +42130,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *290 + custom_pattern_version: *289 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42423,7 +42472,7 @@ paths: login: type: string description: The username of the user credited. - type: *291 + type: *290 credits_detailed: type: - array @@ -42434,7 +42483,7 @@ paths: type: object properties: user: *4 - type: *291 + type: *290 state: type: string description: The state of the user's acceptance of the @@ -42885,9 +42934,9 @@ paths: application/json: schema: type: array - items: *213 + items: *212 examples: - default: *214 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43156,6 +43205,249 @@ 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: + - *97 + 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 + examples: + - 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: + - *97 + 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 + examples: + - 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: + - *97 + - *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: *129 + examples: + default: *141 + 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: + - *97 + 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: + - *97 + - *118 + 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: + - *97 + - *118 + 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 @@ -43188,7 +43480,7 @@ paths: type: integer network_configurations: type: array - items: &292 + items: &291 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43313,9 +43605,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: &293 + default: &292 value: id: 123456789ABCDEF name: My network configuration @@ -43344,7 +43636,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - &294 + - &293 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43356,9 +43648,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 headers: Link: *57 x-github: @@ -43380,7 +43672,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - *294 + - *293 requestBody: required: true content: @@ -43419,9 +43711,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *291 examples: - default: *293 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43441,7 +43733,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *97 - - *294 + - *293 responses: '204': description: Response @@ -43586,13 +43878,13 @@ paths: application/json: schema: type: array - items: *295 + items: *294 examples: - default: *296 + default: *295 '500': *98 '403': *27 '404': *6 - '422': *297 + '422': *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43622,7 +43914,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 headers: Link: *57 '403': *27 @@ -43716,7 +44008,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &297 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43790,7 +44082,7 @@ paths: parent: anyOf: - type: 'null' - - *213 + - *212 members_count: type: integer examples: @@ -44115,7 +44407,7 @@ paths: - repos_count - organization examples: - default: &299 + default: &298 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44192,9 +44484,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -44279,16 +44571,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '201': description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 '422': *15 '403': *27 @@ -44358,7 +44650,7 @@ paths: application/json: schema: type: array - items: &300 + items: &299 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44578,9 +44870,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: &301 + default: &300 value: author: login: octocat @@ -44654,7 +44946,7 @@ paths: parameters: - *97 - *64 - - &302 + - &301 name: discussion_number description: The number that identifies the discussion. in: path @@ -44666,9 +44958,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44692,7 +44984,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 requestBody: required: false content: @@ -44715,7 +45007,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: default: &622 value: @@ -44789,7 +45081,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 responses: '204': description: Response @@ -44817,7 +45109,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 - *46 - *17 - *19 @@ -44828,7 +45120,7 @@ paths: application/json: schema: type: array - items: &303 + items: &302 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44978,7 +45270,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 requestBody: required: true content: @@ -45000,9 +45292,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: &304 + default: &303 value: author: login: octocat @@ -45070,8 +45362,8 @@ paths: parameters: - *97 - *64 - - *302 - - &305 + - *301 + - &304 name: comment_number description: The number that identifies the comment. in: path @@ -45083,9 +45375,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45401,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -45132,7 +45424,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: default: &624 value: @@ -45200,8 +45492,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 responses: '204': description: Response @@ -45229,8 +45521,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 - 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. @@ -45256,7 +45548,7 @@ paths: application/json: schema: type: array - items: &306 + items: &305 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45300,7 +45592,7 @@ paths: - content - created_at examples: - default: &308 + default: &307 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45352,8 +45644,8 @@ paths: parameters: - *97 - *64 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -45386,9 +45678,9 @@ paths: team discussion comment content: application/json: - schema: *306 + schema: *305 examples: - default: &307 + default: &306 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45417,9 +45709,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45444,9 +45736,9 @@ paths: parameters: - *97 - *64 - - *302 - - *305 - - &309 + - *301 + - *304 + - &308 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45480,7 +45772,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 - 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. @@ -45506,9 +45798,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 x-github: @@ -45536,7 +45828,7 @@ paths: parameters: - *97 - *64 - - *302 + - *301 requestBody: required: true content: @@ -45568,16 +45860,16 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45602,8 +45894,8 @@ paths: parameters: - *97 - *64 - - *302 - - *309 + - *301 + - *308 responses: '204': description: Response @@ -45638,9 +45930,9 @@ paths: application/json: schema: type: array - items: *195 + items: *194 examples: - default: *196 + default: *195 headers: Link: *57 x-github: @@ -45724,7 +46016,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &309 title: Team Membership description: Team Membership type: object @@ -45815,7 +46107,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *309 examples: response-if-users-membership-with-team-is-now-pending: &626 summary: Response if user's membership with team is now pending @@ -45890,7 +46182,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Team Project description: A team's access to a project. type: object @@ -46024,7 +46316,7 @@ paths: parameters: - *97 - *64 - - &312 + - &311 name: project_id description: The unique identifier of the project. in: path @@ -46036,7 +46328,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: default: &628 value: @@ -46102,7 +46394,7 @@ paths: parameters: - *97 - *64 - - *312 + - *311 requestBody: required: false content: @@ -46171,7 +46463,7 @@ paths: parameters: - *97 - *64 - - *312 + - *311 responses: '204': description: Response @@ -46211,7 +46503,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -46242,8 +46534,8 @@ paths: parameters: - *97 - *64 + - *312 - *313 - - *314 responses: '200': description: Alternative response with repository permissions @@ -46892,8 +47184,8 @@ paths: parameters: - *97 - *64 + - *312 - *313 - - *314 requestBody: required: false content: @@ -46940,8 +47232,8 @@ paths: parameters: - *97 - *64 + - *312 - *313 - - *314 responses: '204': description: Response @@ -47105,7 +47397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &315 + - &314 name: column_id description: The unique identifier of the column. in: path @@ -47117,7 +47409,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &315 title: Project Column description: Project columns contain cards of work. type: object @@ -47171,7 +47463,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &316 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47206,7 +47498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *315 + - *314 requestBody: required: true content: @@ -47231,9 +47523,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: - default: *317 + default: *316 '304': *35 '403': *27 '401': *23 @@ -47258,7 +47550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *315 + - *314 responses: '204': description: Response @@ -47287,7 +47579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *315 + - *314 requestBody: required: true content: @@ -47348,15 +47640,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *312 + - *311 responses: '200': description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: &318 + default: &317 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47413,7 +47705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *312 + - *311 requestBody: required: false content: @@ -47462,9 +47754,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: *318 + default: *317 '404': description: Not Found if the authenticated user does not have access to the project @@ -47485,7 +47777,7 @@ paths: items: type: string '401': *23 - '410': *319 + '410': *318 '422': *7 x-github: githubCloudOnly: false @@ -47508,7 +47800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *312 + - *311 responses: '204': description: Delete Success @@ -47529,7 +47821,7 @@ paths: items: type: string '401': *23 - '410': *319 + '410': *318 '404': *6 x-github: githubCloudOnly: false @@ -47553,7 +47845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *312 + - *311 - 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 @@ -47610,7 +47902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *312 + - *311 - *62 requestBody: required: false @@ -47665,7 +47957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *312 + - *311 - *62 responses: '204': @@ -47697,7 +47989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *312 + - *311 - *62 responses: '200': @@ -47768,7 +48060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *312 + - *311 - *17 - *19 responses: @@ -47778,7 +48070,7 @@ paths: application/json: schema: type: array - items: *316 + items: *315 examples: default: value: @@ -47816,7 +48108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *312 + - *311 requestBody: required: true content: @@ -47840,7 +48132,7 @@ paths: description: Response content: application/json: - schema: *316 + schema: *315 examples: default: value: @@ -47905,7 +48197,7 @@ paths: resources: type: object properties: - core: &320 + core: &319 title: Rate Limit type: object properties: @@ -47922,21 +48214,21 @@ paths: - remaining - reset - used - graphql: *320 - search: *320 - code_search: *320 - source_import: *320 - integration_manifest: *320 - code_scanning_upload: *320 - actions_runner_registration: *320 - scim: *320 - dependency_snapshots: *320 - dependency_sbom: *320 - code_scanning_autofix: *320 + graphql: *319 + search: *319 + code_search: *319 + source_import: *319 + integration_manifest: *319 + code_scanning_upload: *319 + actions_runner_registration: *319 + scim: *319 + dependency_snapshots: *319 + dependency_sbom: *319 + code_scanning_autofix: *319 required: - core - search - rate: *320 + rate: *319 required: - rate - resources @@ -48041,14 +48333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: default-response: summary: Default response @@ -48549,7 +48841,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *322 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48567,8 +48859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -48816,10 +49108,10 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 - '307': &324 + default: *322 + '307': &323 description: Temporary Redirect content: application/json: @@ -48848,8 +49140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -48871,7 +49163,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *324 + '307': *323 '404': *6 '409': *45 x-github: @@ -48895,11 +49187,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 - - &355 + - &354 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48922,7 +49214,7 @@ paths: type: integer artifacts: type: array - items: &325 + items: &324 title: Artifact description: An artifact type: object @@ -49017,7 +49309,7 @@ paths: - expires_at - updated_at examples: - default: &356 + default: &355 value: total_count: 2 artifacts: @@ -49078,9 +49370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *312 - *313 - - *314 - - &326 + - &325 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49092,7 +49384,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: default: value: @@ -49130,9 +49422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *312 - *313 - - *314 - - *326 + - *325 responses: '204': description: Response @@ -49156,9 +49448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *312 - *313 - - *314 - - *326 + - *325 - name: archive_format in: path required: true @@ -49172,7 +49464,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': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49195,14 +49487,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *327 + schema: *326 examples: default: value: @@ -49228,11 +49520,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 - - &328 + - &327 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 @@ -49266,7 +49558,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &328 title: Repository actions caches description: Repository actions caches type: object @@ -49316,7 +49608,7 @@ paths: - total_count - actions_caches examples: - default: &330 + default: &329 value: total_count: 1 actions_caches: @@ -49348,23 +49640,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: + - *312 - *313 - - *314 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *328 + - *327 responses: '200': description: Response content: application/json: - schema: *329 + schema: *328 examples: - default: *330 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49384,8 +49676,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: + - *312 - *313 - - *314 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49416,9 +49708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - &331 + - &330 name: job_id description: The unique identifier of the job. in: path @@ -49430,7 +49722,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &358 title: Job description: Information of a job execution in a workflow run type: object @@ -49777,9 +50069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *331 + - *330 responses: '302': description: Response @@ -49807,9 +50099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *312 - *313 - - *314 - - *331 + - *330 requestBody: required: false content: @@ -49855,8 +50147,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: + - *312 - *313 - - *314 responses: '200': description: Status response @@ -49906,8 +50198,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -49970,8 +50262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -49989,7 +50281,7 @@ paths: type: integer secrets: type: array - items: &361 + items: &360 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50010,7 +50302,7 @@ paths: - created_at - updated_at examples: - default: &362 + default: &361 value: total_count: 2 secrets: @@ -50043,9 +50335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *312 - *313 - - *314 - - *332 + - *331 - *19 responses: '200': @@ -50062,7 +50354,7 @@ paths: type: integer variables: type: array - items: &365 + items: &364 title: Actions Variable type: object properties: @@ -50096,7 +50388,7 @@ paths: - created_at - updated_at examples: - default: &366 + default: &365 value: total_count: 2 variables: @@ -50129,8 +50421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50139,11 +50431,11 @@ paths: schema: type: object properties: - enabled: &334 + enabled: &333 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *114 - selected_actions_url: *333 + selected_actions_url: *332 sha_pinning_required: *115 required: - enabled @@ -50172,8 +50464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -50184,7 +50476,7 @@ paths: schema: type: object properties: - enabled: *334 + enabled: *333 allowed_actions: *114 sha_pinning_required: *115 required: @@ -50216,14 +50508,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: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: &335 + schema: &334 type: object properties: access_level: @@ -50240,7 +50532,7 @@ paths: required: - access_level examples: - default: &336 + default: &335 value: access_level: organization x-github: @@ -50264,15 +50556,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: + - *312 - *313 - - *314 requestBody: required: true content: application/json: - schema: *335 + schema: *334 examples: - default: *336 + default: *335 responses: '204': description: Response @@ -50296,14 +50588,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *337 + schema: *336 examples: default: value: @@ -50327,8 +50619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Empty response for successful settings update @@ -50338,7 +50630,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *337 examples: default: summary: Set retention days @@ -50362,8 +50654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50371,7 +50663,7 @@ paths: application/json: schema: *116 examples: - default: *339 + default: *338 '404': *6 x-github: enabledForGitHubApps: true @@ -50390,8 +50682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -50425,14 +50717,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: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *340 + schema: *339 examples: default: *117 '403': *27 @@ -50454,13 +50746,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: + - *312 - *313 - - *314 requestBody: required: true content: application/json: - schema: *341 + schema: *340 examples: default: *117 responses: @@ -50486,8 +50778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50514,8 +50806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -50547,14 +50839,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *342 + schema: *341 examples: default: *124 x-github: @@ -50577,8 +50869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Success response @@ -50589,7 +50881,7 @@ paths: required: true content: application/json: - schema: *343 + schema: *342 examples: default: *124 x-github: @@ -50618,8 +50910,8 @@ paths: in: query schema: type: string + - *312 - *313 - - *314 - *17 - *19 responses: @@ -50663,8 +50955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -50672,9 +50964,9 @@ paths: application/json: schema: type: array - items: *344 + items: *343 examples: - default: *345 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50696,8 +50988,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -50740,7 +51032,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *346 + '201': *345 '404': *6 '422': *7 '409': *45 @@ -50771,8 +51063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *312 - *313 - - *314 responses: '201': description: Response @@ -50780,7 +51072,7 @@ paths: application/json: schema: *133 examples: - default: *347 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50808,8 +51100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *312 - *313 - - *314 responses: '201': description: Response @@ -50817,7 +51109,7 @@ paths: application/json: schema: *133 examples: - default: *348 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50839,8 +51131,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: + - *312 - *313 - - *314 - *130 responses: '200': @@ -50849,7 +51141,7 @@ paths: application/json: schema: *131 examples: - default: *349 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50870,8 +51162,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: + - *312 - *313 - - *314 - *130 responses: '204': @@ -50898,8 +51190,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: + - *312 - *313 - - *314 - *130 responses: '200': *135 @@ -50924,8 +51216,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: + - *312 - *313 - - *314 - *130 requestBody: required: true @@ -50974,8 +51266,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: + - *312 - *313 - - *314 - *130 requestBody: required: true @@ -51025,11 +51317,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: + - *312 - *313 - - *314 - *130 responses: - '200': *350 + '200': *349 '404': *6 x-github: githubCloudOnly: false @@ -51056,10 +51348,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: + - *312 - *313 - - *314 - *130 - - *351 + - *350 responses: '200': *135 '404': *6 @@ -51087,9 +51379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *312 - *313 - - *314 - - &369 + - &368 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. @@ -51097,7 +51389,7 @@ paths: required: false schema: type: string - - &370 + - &369 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51105,7 +51397,7 @@ paths: required: false schema: type: string - - &371 + - &370 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51114,7 +51406,7 @@ paths: required: false schema: type: string - - &372 + - &371 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 @@ -51141,7 +51433,7 @@ paths: - pending - *17 - *19 - - &373 + - &372 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)." @@ -51150,7 +51442,7 @@ paths: schema: type: string format: date-time - - &352 + - &351 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51159,13 +51451,13 @@ paths: schema: type: boolean default: false - - &374 + - &373 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &375 + - &374 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51188,7 +51480,7 @@ paths: type: integer workflow_runs: type: array - items: &353 + items: &352 title: Workflow Run description: An invocation of a workflow type: object @@ -51305,7 +51597,7 @@ paths: type: - array - 'null' - items: &394 + items: &393 title: Pull Request Minimal type: object properties: @@ -51432,7 +51724,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &397 title: Simple Commit description: A commit. type: object @@ -51547,7 +51839,7 @@ paths: - workflow_url - pull_requests examples: - default: &376 + default: &375 value: total_count: 1 workflow_runs: @@ -51783,24 +52075,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *312 - *313 - - *314 - - &354 + - &353 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *352 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: - default: &357 + default: &356 value: id: 30433642 name: Build @@ -52041,9 +52333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '204': description: Response @@ -52066,9 +52358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '200': description: Response @@ -52196,9 +52488,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: + - *312 - *313 - - *314 - - *354 + - *353 responses: '201': description: Response @@ -52231,12 +52523,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *312 - *313 - - *314 - - *354 + - *353 - *17 - *19 - - *355 + - *354 responses: '200': description: Response @@ -52252,9 +52544,9 @@ paths: type: integer artifacts: type: array - items: *325 + items: *324 examples: - default: *356 + default: *355 headers: Link: *57 x-github: @@ -52278,25 +52570,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *312 - *313 - - *314 - - *354 - - &358 + - *353 + - &357 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *352 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *352 examples: - default: *357 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52319,10 +52611,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *312 - *313 - - *314 - - *354 - - *358 + - *353 + - *357 - *17 - *19 responses: @@ -52340,9 +52632,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *358 examples: - default: &360 + default: &359 value: total_count: 1 jobs: @@ -52455,10 +52747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *312 - *313 - - *314 - - *354 - - *358 + - *353 + - *357 responses: '302': description: Response @@ -52486,9 +52778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '202': description: Response @@ -52521,9 +52813,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: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: true content: @@ -52590,9 +52882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '202': description: Response @@ -52625,9 +52917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 - 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 @@ -52657,9 +52949,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *358 examples: - default: *360 + default: *359 headers: Link: *57 x-github: @@ -52684,9 +52976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '302': description: Response @@ -52713,9 +53005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '204': description: Response @@ -52742,9 +53034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '200': description: Response @@ -52899,9 +53191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: true content: @@ -53119,9 +53411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: false content: @@ -53166,9 +53458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *312 - *313 - - *314 - - *354 + - *353 requestBody: required: false content: @@ -53222,9 +53514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *312 - *313 - - *314 - - *354 + - *353 responses: '200': description: Response @@ -53361,8 +53653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -53380,9 +53672,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *360 examples: - default: *362 + default: *361 headers: Link: *57 x-github: @@ -53407,16 +53699,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *363 + schema: *362 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53438,15 +53730,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: default: &484 value: @@ -53474,8 +53766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 requestBody: required: true @@ -53533,8 +53825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '204': @@ -53560,9 +53852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *312 - *313 - - *314 - - *332 + - *331 - *19 responses: '200': @@ -53579,9 +53871,9 @@ paths: type: integer variables: type: array - items: *365 + items: *364 examples: - default: *366 + default: *365 headers: Link: *57 x-github: @@ -53604,8 +53896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -53657,15 +53949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *312 - *313 - - *314 - *140 responses: '200': description: Response content: application/json: - schema: *365 + schema: *364 examples: default: &485 value: @@ -53693,8 +53985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *312 - *313 - - *314 - *140 requestBody: required: true @@ -53737,8 +54029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *312 - *313 - - *314 - *140 responses: '204': @@ -53764,8 +54056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -53783,7 +54075,7 @@ paths: type: integer workflows: type: array - items: &367 + items: &366 title: Workflow description: A GitHub Actions workflow type: object @@ -53901,9 +54193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *312 - *313 - - *314 - - &368 + - &367 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53918,7 +54210,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: value: @@ -53951,9 +54243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '204': description: Response @@ -53978,9 +54270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '204': description: Response @@ -54031,9 +54323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '204': description: Response @@ -54060,19 +54352,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *312 - *313 - - *314 + - *367 - *368 - *369 - *370 - *371 - - *372 - *17 - *19 + - *372 + - *351 - *373 - - *352 - *374 - - *375 responses: '200': description: Response @@ -54088,9 +54380,9 @@ paths: type: integer workflow_runs: type: array - items: *353 + items: *352 examples: - default: *376 + default: *375 headers: Link: *57 x-github: @@ -54122,9 +54414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *312 - *313 - - *314 - - *368 + - *367 responses: '200': description: Response @@ -54185,8 +54477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *312 - *313 - - *314 - *46 - *17 - *38 @@ -54354,8 +54646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -54392,8 +54684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *312 - *313 - - *314 - name: assignee in: path required: true @@ -54429,8 +54721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -54542,8 +54834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *312 - *313 - - *314 - *17 - *38 - *39 @@ -54599,7 +54891,7 @@ paths: initiator: type: string examples: - default: *377 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54619,8 +54911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -54628,7 +54920,7 @@ paths: application/json: schema: type: array - items: &378 + items: &377 title: Autolink reference description: An autolink reference. type: object @@ -54687,8 +54979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -54727,9 +55019,9 @@ paths: description: response content: application/json: - schema: *378 + schema: *377 examples: - default: &379 + default: &378 value: id: 1 key_prefix: TICKET- @@ -54760,9 +55052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *312 - *313 - - *314 - - &380 + - &379 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54774,9 +55066,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *377 examples: - default: *379 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -54796,9 +55088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *312 - *313 - - *314 - - *380 + - *379 responses: '204': description: Response @@ -54822,8 +55114,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: + - *312 - *313 - - *314 responses: '200': description: Response if Dependabot is enabled @@ -54873,8 +55165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -54895,8 +55187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -54916,8 +55208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *312 - *313 - - *314 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54955,7 +55247,7 @@ paths: - url protected: type: boolean - protection: &382 + protection: &381 title: Branch Protection description: Branch Protection type: object @@ -54998,7 +55290,7 @@ paths: required: - contexts - checks - enforce_admins: &385 + enforce_admins: &384 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55015,7 +55307,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &387 + required_pull_request_reviews: &386 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55099,7 +55391,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &384 + restrictions: &383 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55392,9 +55684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *312 - *313 - - *314 - - &383 + - &382 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). @@ -55408,14 +55700,14 @@ paths: description: Response content: application/json: - schema: &393 + schema: &392 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &442 title: Commit description: Commit type: object @@ -55454,7 +55746,7 @@ paths: author: anyOf: - type: 'null' - - &381 + - &380 title: Git User description: Metaproperties for Git author/committer information. @@ -55475,7 +55767,7 @@ paths: committer: anyOf: - type: 'null' - - *381 + - *380 message: type: string examples: @@ -55579,7 +55871,7 @@ paths: type: integer files: type: array - items: &454 + items: &453 title: Diff Entry description: Diff Entry type: object @@ -55675,7 +55967,7 @@ paths: - self protected: type: boolean - protection: *382 + protection: *381 protection_url: type: string format: uri @@ -55784,7 +56076,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *322 + '301': *321 '404': *6 x-github: githubCloudOnly: false @@ -55806,15 +56098,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *382 + schema: *381 examples: default: value: @@ -56008,9 +56300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -56270,7 +56562,7 @@ paths: url: type: string format: uri - required_status_checks: &390 + required_status_checks: &389 title: Status Check Policy description: Status Check Policy type: object @@ -56429,7 +56721,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *384 + restrictions: *383 required_conversation_resolution: type: object properties: @@ -56541,9 +56833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -56568,17 +56860,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: &386 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56600,17 +56892,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: *386 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56629,9 +56921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -56656,17 +56948,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: &388 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56762,9 +57054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -56862,9 +57154,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: *388 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -56885,9 +57177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -56914,17 +57206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: &389 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56947,17 +57239,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *385 + schema: *384 examples: - default: *389 + default: *388 '404': *6 x-github: githubCloudOnly: false @@ -56977,9 +57269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -57004,17 +57296,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *390 + schema: *389 examples: - default: &391 + default: &390 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57040,9 +57332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57094,9 +57386,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *389 examples: - default: *391 + default: *390 '404': *6 '422': *15 x-github: @@ -57118,9 +57410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -57144,9 +57436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57180,9 +57472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57249,9 +57541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57315,9 +57607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: content: application/json: @@ -57383,15 +57675,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response content: application/json: - schema: *384 + schema: *383 examples: default: value: @@ -57482,9 +57774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '204': description: Response @@ -57507,9 +57799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57519,7 +57811,7 @@ paths: type: array items: *5 examples: - default: &392 + default: &391 value: - id: 1 slug: octoapp @@ -57576,9 +57868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -57612,7 +57904,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -57633,9 +57925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -57669,7 +57961,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +57982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -57726,7 +58018,7 @@ paths: type: array items: *5 examples: - default: *392 + default: *391 '422': *15 x-github: githubCloudOnly: false @@ -57748,9 +58040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57760,7 +58052,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -57780,9 +58072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57820,7 +58112,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -57841,9 +58133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: false content: @@ -57881,7 +58173,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -57902,9 +58194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: content: application/json: @@ -57941,7 +58233,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -57963,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 responses: '200': description: Response @@ -57999,9 +58291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58059,9 +58351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58119,9 +58411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58181,9 +58473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 requestBody: required: true content: @@ -58205,7 +58497,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *392 examples: default: value: @@ -58321,8 +58613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -58601,7 +58893,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &394 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58736,7 +59028,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *394 + items: *393 deployment: &688 title: Deployment description: A deployment created as the result of an Actions @@ -59024,9 +59316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *312 - *313 - - *314 - - &396 + - &395 name: check_run_id description: The unique identifier of the check run. in: path @@ -59038,9 +59330,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *394 examples: - default: &397 + default: &396 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59140,9 +59432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *312 - *313 - - *314 - - *396 + - *395 requestBody: required: true content: @@ -59382,9 +59674,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *394 examples: - default: *397 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59404,9 +59696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *312 - *313 - - *314 - - *396 + - *395 - *17 - *19 responses: @@ -59516,9 +59808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *312 - *313 - - *314 - - *396 + - *395 responses: '201': description: Response @@ -59562,8 +59854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -59585,7 +59877,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &398 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59667,7 +59959,7 @@ paths: type: - array - 'null' - items: *394 + items: *393 app: anyOf: - type: 'null' @@ -59683,7 +59975,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *397 latest_check_runs_count: type: integer check_runs_url: @@ -59711,7 +60003,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &399 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60002,9 +60294,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *398 examples: - default: *400 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60023,8 +60315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -60333,9 +60625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *312 - *313 - - *314 - - &401 + - &400 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60347,9 +60639,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *398 examples: - default: *400 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60372,17 +60664,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *312 - *313 - - *314 - - *401 - - &449 + - *400 + - &448 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &449 name: status description: Returns check runs with the specified `status`. in: query @@ -60421,9 +60713,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *394 examples: - default: &451 + default: &450 value: total_count: 1 check_runs: @@ -60525,9 +60817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *312 - *313 - - *314 - - *401 + - *400 responses: '201': description: Response @@ -60560,21 +60852,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *312 - *313 - - *314 + - *401 - *402 - - *403 - *19 - *17 - - &420 + - &419 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: *404 - - &421 + schema: *403 + - &420 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60599,13 +60891,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *404 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *405 responses: '200': description: Response @@ -60621,7 +60913,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *407 + instances_url: *406 state: *149 fixed_at: *145 dismissed_by: @@ -60629,11 +60921,11 @@ paths: - type: 'null' - *4 dismissed_at: *146 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_reason: *407 + dismissed_comment: *408 + rule: *409 + tool: *410 + most_recent_instance: *411 dismissal_approved_by: anyOf: - type: 'null' @@ -60756,7 +61048,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &412 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60783,9 +61075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *312 - *313 - - *314 - - &414 + - &413 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60799,7 +61091,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &414 type: object properties: number: *52 @@ -60807,7 +61099,7 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *407 + instances_url: *406 state: *149 fixed_at: *145 dismissed_by: @@ -60815,8 +61107,8 @@ paths: - type: 'null' - *4 dismissed_at: *146 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *407 + dismissed_comment: *408 rule: type: object properties: @@ -60878,8 +61170,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *410 + most_recent_instance: *411 dismissal_approved_by: anyOf: - type: 'null' @@ -60975,7 +61267,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -60995,9 +61287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 requestBody: required: true content: @@ -61012,8 +61304,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *407 + dismissed_comment: *408 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61032,7 +61324,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: default: value: @@ -61108,7 +61400,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &418 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61135,15 +61427,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: + - *312 - *313 - - *314 - - *414 + - *413 responses: '200': description: Response content: application/json: - schema: &416 + schema: &415 type: object properties: status: @@ -61170,13 +61462,13 @@ paths: - description - started_at examples: - default: &417 + default: &416 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &417 description: Bad Request content: application/json: @@ -61187,7 +61479,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': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61212,29 +61504,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: + - *312 - *313 - - *314 - - *414 + - *413 responses: '200': description: OK content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 '202': description: Accepted content: application/json: - schema: *416 + schema: *415 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *417 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61266,9 +61558,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: + - *312 - *313 - - *314 - - *414 + - *413 requestBody: required: false content: @@ -61314,8 +61606,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *417 + '403': *418 '404': *6 '422': description: Unprocessable Entity @@ -61339,13 +61631,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 - *19 - *17 + - *419 - *420 - - *421 responses: '200': description: Response @@ -61353,7 +61645,7 @@ paths: application/json: schema: type: array - items: *412 + items: *411 examples: default: value: @@ -61392,7 +61684,7 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61426,25 +61718,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *312 - *313 - - *314 + - *401 - *402 - - *403 - *19 - *17 - - *421 + - *420 - 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: *404 + schema: *403 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &423 type: string description: An identifier for the upload. examples: @@ -61466,23 +61758,23 @@ paths: application/json: schema: type: array - items: &425 + items: &424 type: object properties: - ref: *404 - commit_sha: &433 + ref: *403 + commit_sha: &432 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: *422 + analysis_key: *421 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *422 error: type: string examples: @@ -61507,8 +61799,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *423 + tool: *410 deletable: type: boolean warning: @@ -61570,7 +61862,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61606,8 +61898,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: + - *312 - *313 - - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61620,7 +61912,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *424 examples: response: summary: application/json response @@ -61674,7 +61966,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *412 '404': *6 '422': description: Response if analysis could not be processed @@ -61761,8 +62053,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: + - *312 - *313 - - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61818,7 +62110,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': *419 + '403': *418 '404': *6 '503': *69 x-github: @@ -61840,8 +62132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -61849,7 +62141,7 @@ paths: application/json: schema: type: array - items: &426 + items: &425 title: CodeQL Database description: A CodeQL database. type: object @@ -61961,7 +62253,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': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -61990,8 +62282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *312 - *313 - - *314 - name: language in: path description: The language of the CodeQL database. @@ -62003,7 +62295,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: default: value: @@ -62035,9 +62327,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': &456 + '302': &455 description: Found - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -62059,8 +62351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *312 - *313 - - *314 - name: language in: path description: The language of the CodeQL database. @@ -62070,7 +62362,7 @@ paths: responses: '204': description: Response - '403': *419 + '403': *418 '404': *6 '503': *69 x-github: @@ -62098,8 +62390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -62108,7 +62400,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &426 type: string description: The language targeted by the CodeQL query enum: @@ -62187,7 +62479,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &430 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62197,7 +62489,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *426 query_pack_url: type: string description: The download url for the query pack. @@ -62245,7 +62537,7 @@ paths: items: type: object properties: - repository: &428 + repository: &427 title: Repository Identifier description: Repository Identifier type: object @@ -62287,7 +62579,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &431 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62319,7 +62611,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &428 type: object properties: repository_count: @@ -62334,7 +62626,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: *428 + items: *427 required: - repository_count - repositories @@ -62357,8 +62649,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *428 + over_limit_repos: *428 required: - access_mismatch_repos - not_found_repos @@ -62374,7 +62666,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &429 summary: Default response value: id: 1 @@ -62526,10 +62818,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *429 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *429 '404': *6 '422': description: Unable to process variant analysis submission @@ -62557,8 +62849,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: + - *312 - *313 - - *314 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62570,9 +62862,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *430 + default: *429 '404': *6 '503': *69 x-github: @@ -62595,7 +62887,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: - - *313 + - *312 - name: repo in: path description: The name of the controller repository. @@ -62630,7 +62922,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *431 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62755,8 +63047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -62849,7 +63141,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *412 '404': *6 '503': *69 x-github: @@ -62870,8 +63162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -62965,7 +63257,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *418 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63036,8 +63328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -63045,7 +63337,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *432 ref: type: string description: |- @@ -63105,7 +63397,7 @@ paths: schema: type: object properties: - id: *424 + id: *423 url: type: string description: The REST API URL for checking the status of the upload. @@ -63119,7 +63411,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': *419 + '403': *418 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63142,8 +63434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *312 - *313 - - *314 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63191,7 +63483,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': *413 + '403': *412 '404': description: Not Found if the sarif id does not match any upload '503': *69 @@ -63216,8 +63508,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: + - *312 - *313 - - *314 responses: '200': description: Response @@ -63298,8 +63590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *312 - *313 - - *314 - 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 @@ -63427,8 +63719,8 @@ paths: parameters: - *17 - *19 + - *312 - *313 - - *314 responses: '200': description: Response @@ -63444,7 +63736,7 @@ paths: type: integer codespaces: type: array - items: *203 + items: *202 examples: default: value: @@ -63742,8 +64034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -63807,17 +64099,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '400': *14 '401': *23 '403': *27 @@ -63846,8 +64138,8 @@ paths: parameters: - *17 - *19 + - *312 - *313 - - *314 responses: '200': description: Response @@ -63911,8 +64203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *312 - *313 - - *314 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63949,7 +64241,7 @@ paths: type: integer machines: type: array - items: *435 + items: *434 examples: default: &637 value: @@ -63991,8 +64283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *312 - *313 - - *314 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64079,8 +64371,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: + - *312 - *313 - - *314 - 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 @@ -64149,8 +64441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -64168,7 +64460,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &438 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64189,7 +64481,7 @@ paths: - created_at - updated_at examples: - default: *436 + default: *435 headers: Link: *57 x-github: @@ -64212,16 +64504,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64241,17 +64533,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '200': description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *440 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64271,8 +64563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 requestBody: required: true @@ -64325,8 +64617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '204': @@ -64355,8 +64647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *312 - *313 - - *314 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64394,7 +64686,7 @@ paths: application/json: schema: type: array - items: &441 + items: &440 title: Collaborator description: Collaborator type: object @@ -64587,8 +64879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *312 - *313 - - *314 - *62 responses: '204': @@ -64635,8 +64927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *312 - *313 - - *314 - *62 requestBody: required: false @@ -64891,8 +65183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *312 - *313 - - *314 - *62 responses: '204': @@ -64924,8 +65216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *312 - *313 - - *314 - *62 responses: '200': @@ -64946,7 +65238,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *440 required: - permission - role_name @@ -65000,8 +65292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -65011,7 +65303,7 @@ paths: application/json: schema: type: array - items: &442 + items: &441 title: Commit Comment description: Commit Comment type: object @@ -65069,7 +65361,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &444 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65128,17 +65420,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 responses: '200': description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: &446 + default: &445 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65195,8 +65487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -65219,7 +65511,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: default: value: @@ -65270,8 +65562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 responses: '204': @@ -65293,8 +65585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65321,9 +65613,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -65344,8 +65636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -65378,16 +65670,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -65409,10 +65701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *312 - *313 - - *314 - *80 - - *309 + - *308 responses: '204': description: Response @@ -65461,8 +65753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *312 - *313 - - *314 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65518,7 +65810,7 @@ paths: application/json: schema: type: array - items: *443 + items: *442 examples: default: &551 value: @@ -65614,9 +65906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *312 - *313 - - *314 - - &444 + - &443 name: commit_sha description: The SHA of the commit. in: path @@ -65688,9 +65980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *312 - *313 - - *314 - - *444 + - *443 - *17 - *19 responses: @@ -65700,9 +65992,9 @@ paths: application/json: schema: type: array - items: *442 + items: *441 examples: - default: *445 + default: *444 headers: Link: *57 x-github: @@ -65730,9 +66022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *312 - *313 - - *314 - - *444 + - *443 requestBody: required: true content: @@ -65767,9 +66059,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *446 + default: *445 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65797,9 +66089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *312 - *313 - - *314 - - *444 + - *443 - *17 - *19 responses: @@ -65809,7 +66101,7 @@ paths: application/json: schema: type: array - items: *447 + items: *446 examples: default: &543 value: @@ -66348,11 +66640,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *312 - *313 - - *314 - *19 - *17 - - &448 + - &447 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)" @@ -66367,7 +66659,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: default: &531 value: @@ -66482,11 +66774,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *312 - *313 - - *314 + - *447 - *448 - *449 - - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66520,9 +66812,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *394 examples: - default: *451 + default: *450 headers: Link: *57 x-github: @@ -66547,9 +66839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *312 - *313 - - *314 - - *448 + - *447 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66557,7 +66849,7 @@ paths: schema: type: integer example: 1 - - *449 + - *448 - *17 - *19 responses: @@ -66575,7 +66867,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *398 examples: default: value: @@ -66775,9 +67067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *312 - *313 - - *314 - - *448 + - *447 - *17 - *19 responses: @@ -66979,9 +67271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *312 - *313 - - *314 - - *448 + - *447 - *17 - *19 responses: @@ -67072,7 +67364,7 @@ paths: site_admin: false headers: Link: *57 - '301': *322 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67100,8 +67392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -67134,11 +67426,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *451 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &452 title: Community Health File type: object properties: @@ -67158,19 +67450,19 @@ paths: contributing: anyOf: - type: 'null' - - *453 + - *452 readme: anyOf: - type: 'null' - - *453 + - *452 issue_template: anyOf: - type: 'null' - - *453 + - *452 pull_request_template: anyOf: - type: 'null' - - *453 + - *452 required: - code_of_conduct - code_of_conduct_file @@ -67299,8 +67591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *312 - *313 - - *314 - *19 - *17 - name: basehead @@ -67348,8 +67640,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *442 + merge_base_commit: *442 status: type: string enum: @@ -67373,10 +67665,10 @@ paths: - 6 commits: type: array - items: *443 + items: *442 files: type: array - items: *454 + items: *453 required: - url - html_url @@ -67662,8 +67954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *312 - *313 - - *314 - name: path description: path parameter in: path @@ -67816,7 +68108,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &454 summary: Response if content is a file value: type: file @@ -68171,7 +68463,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *454 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68240,7 +68532,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *455 '304': *35 x-github: githubCloudOnly: false @@ -68263,8 +68555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *312 - *313 - - *314 - name: path description: path parameter in: path @@ -68359,7 +68651,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &456 title: File Commit description: File Commit type: object @@ -68515,7 +68807,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *456 examples: example-for-creating-a-file: value: @@ -68622,8 +68914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *312 - *313 - - *314 - name: path description: path parameter in: path @@ -68684,7 +68976,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *456 examples: default: value: @@ -68739,8 +69031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *312 - *313 - - *314 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68864,8 +69156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *312 - *313 - - *314 - *160 - *161 - *162 @@ -68877,9 +69169,9 @@ paths: schema: type: string - *164 + - *457 - *165 - *166 - - *167 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68899,8 +69191,8 @@ paths: default: 30 - *38 - *39 + - *167 - *168 - - *169 responses: '200': description: Response @@ -69219,8 +69511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *312 - *313 - - *314 - &461 name: alert_number in: path @@ -69349,8 +69641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *312 - *313 - - *314 - *461 requestBody: required: true @@ -69525,8 +69817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -69598,8 +69890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -69627,8 +69919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '200': @@ -69661,8 +69953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 requestBody: required: true @@ -69715,8 +70007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *312 - *313 - - *314 - *137 responses: '204': @@ -69739,8 +70031,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: + - *312 - *313 - - *314 - 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 @@ -69914,8 +70206,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: + - *312 - *313 - - *314 responses: '200': description: Response @@ -70175,8 +70467,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -70445,8 +70737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *312 - *313 - - *314 - name: sha description: The SHA recorded at creation time. in: query @@ -70555,8 +70847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -70711,8 +71003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *312 - *313 - - *314 - &468 name: deployment_id description: deployment_id parameter @@ -70790,8 +71082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *312 - *313 - - *314 - *468 responses: '204': @@ -70814,8 +71106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *312 - *313 - - *314 - *468 - *17 - *19 @@ -70990,8 +71282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *312 - *313 - - *314 - *468 requestBody: required: true @@ -71125,8 +71417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *312 - *313 - - *314 - *468 - name: status_id in: path @@ -71165,8 +71457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -71223,8 +71515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -71490,8 +71782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *312 - *313 - - *314 - &473 name: environment_name in: path @@ -71591,8 +71883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *312 - *313 - - *314 - *473 requestBody: required: false @@ -71675,8 +71967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *312 - *313 - - *314 - *473 responses: '204': @@ -71702,8 +71994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *312 - *313 - - *314 - *473 - *17 - *19 @@ -71784,8 +72076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 requestBody: required: true @@ -71878,8 +72170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 - &479 name: branch_policy_id @@ -71914,8 +72206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 - *479 requestBody: @@ -71967,8 +72259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *312 - *313 - - *314 - *473 - *479 responses: @@ -71996,8 +72288,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *473 - - *314 - *313 + - *312 responses: '200': description: List of deployment protection rules @@ -72140,8 +72432,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *473 - - *314 - *313 + - *312 requestBody: content: application/json: @@ -72200,8 +72492,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *473 - - *314 - *313 + - *312 - *19 - *17 responses: @@ -72256,8 +72548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *312 - *313 - - *314 - *473 - &483 name: protection_rule_id @@ -72295,8 +72587,8 @@ paths: url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *473 - - *314 - *313 + - *312 - *483 responses: '204': @@ -72323,8 +72615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *312 - *313 - - *314 - *473 - *17 - *19 @@ -72343,9 +72635,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *360 examples: - default: *362 + default: *361 headers: Link: *57 x-github: @@ -72370,17 +72662,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *312 - *313 - - *314 - *473 responses: '200': description: Response content: application/json: - schema: *363 + schema: *362 examples: - default: *364 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72402,8 +72694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *312 - *313 - - *314 - *473 - *137 responses: @@ -72411,7 +72703,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: *484 x-github: @@ -72435,8 +72727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *312 - *313 - - *314 - *473 - *137 requestBody: @@ -72495,8 +72787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *312 - *313 - - *314 - *473 - *137 responses: @@ -72523,10 +72815,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *312 - *313 - - *314 - *473 - - *332 + - *331 - *19 responses: '200': @@ -72543,9 +72835,9 @@ paths: type: integer variables: type: array - items: *365 + items: *364 examples: - default: *366 + default: *365 headers: Link: *57 x-github: @@ -72568,8 +72860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *312 - *313 - - *314 - *473 requestBody: required: true @@ -72622,8 +72914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *312 - *313 - - *314 - *473 - *140 responses: @@ -72631,7 +72923,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *364 examples: default: *485 x-github: @@ -72654,8 +72946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *312 - *313 - - *314 - *140 - *473 requestBody: @@ -72699,8 +72991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *312 - *313 - - *314 - *140 - *473 responses: @@ -72724,8 +73016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -72802,8 +73094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *312 - *313 - - *314 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72962,8 +73254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -72996,9 +73288,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 '400': *14 '422': *15 '403': *27 @@ -73019,8 +73311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -73105,8 +73397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *312 - *313 - - *314 - name: file_sha in: path required: true @@ -73206,8 +73498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -73543,9 +73835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *312 - *313 - - *314 - - *444 + - *443 responses: '200': description: Response @@ -73607,8 +73899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *312 - *313 - - *314 - &488 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -73702,8 +73994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *312 - *313 - - *314 - *488 responses: '200': @@ -73741,8 +74033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -73799,8 +74091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *312 - *313 - - *314 - *488 requestBody: required: true @@ -73850,8 +74142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *312 - *313 - - *314 - *488 responses: '204': @@ -73907,8 +74199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -74114,8 +74406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *312 - *313 - - *314 - name: tag_sha in: path required: true @@ -74152,8 +74444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -74329,8 +74621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *312 - *313 - - *314 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74412,8 +74704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -74563,8 +74855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -74667,9 +74959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '200': description: Response @@ -74697,9 +74989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 requestBody: required: true content: @@ -74767,9 +75059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '204': description: Response @@ -74793,9 +75085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '200': description: Response @@ -74822,9 +75114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *312 - *313 - - *314 - - *175 + - *174 requestBody: required: false content: @@ -74868,11 +75160,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 - *17 - - *176 + - *175 responses: '200': description: Response @@ -74880,9 +75172,9 @@ paths: application/json: schema: type: array - items: *177 + items: *176 examples: - default: *178 + default: *177 '400': *14 '422': *15 x-github: @@ -74901,18 +75193,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *179 + schema: *178 examples: - default: *180 + default: *179 '400': *14 '422': *15 x-github: @@ -74931,9 +75223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 - *16 responses: '202': *37 @@ -74956,9 +75248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '204': description: Response @@ -74983,9 +75275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *312 - *313 - - *314 - - *175 + - *174 responses: '204': description: Response @@ -74995,6 +75287,99 @@ 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: + - *312 + - *313 + 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 + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository + owner. + examples: + - false + 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: + - *312 + - *313 + responses: + '204': *154 + '409': *45 + 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: + - *312 + - *313 + responses: + '204': *154 + '409': *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -75043,8 +75428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75202,8 +75587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -75304,8 +75689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -75428,8 +75813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -75459,8 +75844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *312 - *313 - - *314 - &659 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -75554,8 +75939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *312 - *313 - - *314 - name: author_id in: path required: true @@ -75622,8 +76007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75692,8 +76077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -75747,8 +76132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75757,7 +76142,7 @@ paths: schema: *20 examples: default: *501 - '301': *322 + '301': *321 '404': *6 x-github: githubCloudOnly: false @@ -75777,8 +76162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -75786,7 +76171,7 @@ paths: application/json: schema: anyOf: - - *193 + - *192 - type: object properties: {} additionalProperties: false @@ -75816,8 +76201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -75834,7 +76219,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *192 examples: default: *503 '409': @@ -75858,8 +76243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -75882,8 +76267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -76026,9 +76411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *312 - *313 - - *314 - - *197 + - *196 requestBody: required: false content: @@ -76188,9 +76573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *312 - *313 - - *314 - - *197 + - *196 responses: '204': description: Response @@ -76221,8 +76606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *312 - *313 - - *314 - 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 @@ -76270,7 +76655,7 @@ paths: required: false schema: type: string - - *201 + - *200 - name: sort description: What to sort results by. in: query @@ -76443,7 +76828,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *322 + '301': *321 '422': *15 '404': *6 x-github: @@ -76472,8 +76857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -76721,7 +77106,7 @@ paths: '422': *15 '503': *69 '404': *6 - '410': *319 + '410': *318 x-github: triggersNotification: true githubCloudOnly: false @@ -76749,8 +77134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *312 - *313 - - *314 - *90 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76831,8 +77216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 responses: '200': @@ -76895,8 +77280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -76939,8 +77324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 responses: '204': @@ -76961,8 +77346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76989,9 +77374,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -77012,8 +77397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -77046,16 +77431,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -77077,10 +77462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *312 - *313 - - *314 - *80 - - *309 + - *308 responses: '204': description: Response @@ -77100,8 +77485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -77450,8 +77835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *312 - *313 - - *314 - name: event_id in: path required: true @@ -77655,7 +78040,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *319 + '410': *318 '403': *27 x-github: githubCloudOnly: false @@ -77689,8 +78074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *312 - *313 - - *314 - &509 name: issue_number description: The number that identifies the issue. @@ -77706,9 +78091,9 @@ paths: schema: *81 examples: default: *508 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 '304': *35 x-github: githubCloudOnly: false @@ -77733,8 +78118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -77860,9 +78245,9 @@ paths: '422': *15 '503': *69 '403': *27 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77880,8 +78265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -77926,8 +78311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: content: @@ -77977,8 +78362,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: + - *312 - *313 - - *314 - *509 - name: assignee in: path @@ -78019,8 +78404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *312 - *313 - - *314 - *509 - *71 - *17 @@ -78038,7 +78423,7 @@ paths: headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78067,8 +78452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -78100,7 +78485,7 @@ paths: schema: type: string '403': *27 - '410': *319 + '410': *318 '422': *15 '404': *6 x-github: @@ -78128,8 +78513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -78145,9 +78530,9 @@ paths: default: *511 headers: Link: *57 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78175,8 +78560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -78207,9 +78592,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *322 + '301': *321 '403': *27 - '410': *319 + '410': *318 '422': *15 '404': *6 x-github: @@ -78240,8 +78625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *312 - *313 - - *314 - *509 - name: issue_id in: path @@ -78257,12 +78642,12 @@ paths: schema: *81 examples: default: *508 - '301': *322 + '301': *321 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *319 + '410': *318 x-github: triggersNotification: true githubCloudOnly: false @@ -78288,8 +78673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -78305,9 +78690,9 @@ paths: default: *511 headers: Link: *57 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78324,8 +78709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -79119,7 +79504,7 @@ paths: color: red headers: Link: *57 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79136,8 +79521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -79221,9 +79606,9 @@ paths: default: false headers: Link: *57 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79240,8 +79625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -79304,9 +79689,9 @@ paths: items: *512 examples: default: *513 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 '422': *15 x-github: githubCloudOnly: false @@ -79323,8 +79708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -79388,9 +79773,9 @@ paths: items: *512 examples: default: *513 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 '422': *15 x-github: githubCloudOnly: false @@ -79407,15 +79792,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *312 - *313 - - *314 - *509 responses: '204': description: Response - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79434,8 +79819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *312 - *313 - - *314 - *509 - name: name in: path @@ -79460,9 +79845,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79482,8 +79867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: false @@ -79513,7 +79898,7 @@ paths: '204': description: Response '403': *27 - '410': *319 + '410': *318 '404': *6 '422': *15 x-github: @@ -79531,8 +79916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *312 - *313 - - *314 - *509 responses: '204': @@ -79563,8 +79948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *312 - *313 - - *314 - *509 responses: '200': @@ -79574,9 +79959,9 @@ paths: schema: *81 examples: default: *508 - '301': *322 + '301': *321 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79593,8 +79978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *312 - *313 - - *314 - *509 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79621,13 +80006,13 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79645,8 +80030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79679,16 +80064,16 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -79710,10 +80095,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *312 - *313 - - *314 - *509 - - *309 + - *308 responses: '204': description: Response @@ -79742,8 +80127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79801,8 +80186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -79819,7 +80204,7 @@ paths: headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79847,8 +80232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79885,7 +80270,7 @@ paths: schema: type: string '403': *27 - '410': *319 + '410': *318 '422': *15 '404': *6 x-github: @@ -79905,8 +80290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *312 - *313 - - *314 - *509 requestBody: required: true @@ -79962,8 +80347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *312 - *313 - - *314 - *509 - *17 - *19 @@ -80558,7 +80943,7 @@ paths: type: string comments: type: array - items: *442 + items: *441 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80833,7 +81218,7 @@ paths: headers: Link: *57 '404': *6 - '410': *319 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80850,8 +81235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -80929,8 +81314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81002,8 +81387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *312 - *313 - - *314 - &529 name: key_id description: The unique identifier of the key. @@ -81036,8 +81421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *312 - *313 - - *314 - *529 responses: '204': @@ -81058,8 +81443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -81092,8 +81477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81163,8 +81548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *312 - *313 - - *314 - name: name in: path required: true @@ -81194,8 +81579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *312 - *313 - - *314 - name: name in: path required: true @@ -81260,8 +81645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *312 - *313 - - *314 - name: name in: path required: true @@ -81287,8 +81672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -81327,9 +81712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *312 - *313 - - *314 - - *420 + - *419 responses: '200': description: Response @@ -81476,8 +81861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81542,8 +81927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81577,7 +81962,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *442 examples: default: *531 '204': @@ -81604,8 +81989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *312 - *313 - - *314 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81646,7 +82031,7 @@ paths: application/json: schema: type: array - items: *237 + items: *236 examples: default: value: @@ -81702,8 +82087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -81743,7 +82128,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *236 examples: default: &532 value: @@ -81804,8 +82189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *312 - *313 - - *314 - &533 name: milestone_number description: The number that identifies the milestone. @@ -81818,7 +82203,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *236 examples: default: *532 '404': *6 @@ -81837,8 +82222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *312 - *313 - - *314 - *533 requestBody: required: false @@ -81877,7 +82262,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *236 examples: default: *532 x-github: @@ -81895,8 +82280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *312 - *313 - - *314 - *533 responses: '204': @@ -81918,8 +82303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *312 - *313 - - *314 - *533 - *17 - *19 @@ -81951,8 +82336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *312 - *313 - - *314 - *534 - *535 - *71 @@ -81992,8 +82377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -82051,8 +82436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -82243,8 +82628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -82324,8 +82709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -82425,8 +82810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -82452,8 +82837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -82555,8 +82940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *312 - *313 - - *314 responses: '201': description: Response @@ -82603,8 +82988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -82660,8 +83045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *312 - *313 - - *314 - name: build_id in: path required: true @@ -82694,8 +83079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -82803,8 +83188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *312 - *313 - - *314 - &542 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -82863,8 +83248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *312 - *313 - - *314 - *542 responses: '204': *154 @@ -82892,8 +83277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -83188,8 +83573,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: + - *312 - *313 - - *314 responses: '200': description: Private vulnerability reporting status @@ -83226,8 +83611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': *154 '422': *14 @@ -83248,8 +83633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': *154 '422': *14 @@ -83272,8 +83657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: + - *312 - *313 - - *314 - name: state description: Indicates the state of the projects to return. in: query @@ -83294,7 +83679,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -83334,7 +83719,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *319 + '410': *318 '422': *7 x-github: githubCloudOnly: false @@ -83357,8 +83742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -83384,13 +83769,13 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: - default: *318 + default: *317 '401': *23 '403': *27 '404': *6 - '410': *319 + '410': *318 '422': *7 x-github: githubCloudOnly: false @@ -83413,8 +83798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -83422,7 +83807,7 @@ paths: application/json: schema: type: array - items: *248 + items: *247 examples: default: value: @@ -83453,8 +83838,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -83466,7 +83851,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *248 + items: *247 required: - properties examples: @@ -83516,8 +83901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *312 - *313 - - *314 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83577,7 +83962,7 @@ paths: application/json: schema: type: array - items: *447 + items: *446 examples: default: *543 headers: @@ -83611,8 +83996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -83808,7 +84193,7 @@ paths: milestone: anyOf: - type: 'null' - - *237 + - *236 active_lock_reason: type: - string @@ -83863,7 +84248,7 @@ paths: type: - array - 'null' - items: *213 + items: *212 head: type: object properties: @@ -83901,14 +84286,14 @@ paths: _links: type: object properties: - comments: *238 - commits: *238 - statuses: *238 - html: *238 - issue: *238 - review_comments: *238 - review_comment: *238 - self: *238 + comments: *237 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -84548,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *312 - *313 - - *314 - name: sort in: query required: false @@ -84657,8 +85042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *80 responses: '200': @@ -84742,8 +85127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -84784,8 +85169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *80 responses: '204': @@ -84807,8 +85192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *312 - *313 - - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84835,9 +85220,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -84858,8 +85243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *312 - *313 - - *314 - *80 requestBody: required: true @@ -84892,16 +85277,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -84923,10 +85308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *312 - *313 - - *314 - *80 - - *309 + - *308 responses: '204': description: Response @@ -84969,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *312 - *313 - - *314 - &549 name: pull_number description: The number that identifies the pull request. @@ -85021,8 +85406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -85089,8 +85474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: true @@ -85152,17 +85537,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '401': *23 '403': *27 '404': *6 @@ -85192,8 +85577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *90 - name: direction @@ -85250,8 +85635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: true @@ -85446,8 +85831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *312 - *313 - - *314 - *549 - *80 requestBody: @@ -85557,8 +85942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *17 - *19 @@ -85569,7 +85954,7 @@ paths: application/json: schema: type: array - items: *443 + items: *442 examples: default: *551 headers: @@ -85601,8 +85986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *312 - *313 - - *314 - *549 - *17 - *19 @@ -85613,7 +85998,7 @@ paths: application/json: schema: type: array - items: *454 + items: *453 examples: default: value: @@ -85651,8 +86036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *312 - *313 - - *314 - *549 responses: '204': @@ -85676,8 +86061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -85790,8 +86175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 responses: '200': @@ -85867,8 +86252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -85906,7 +86291,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -86442,8 +86827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: true @@ -86478,7 +86863,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: default: value: @@ -86983,8 +87368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *17 - *19 @@ -87151,8 +87536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -87308,8 +87693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - &553 name: review_id @@ -87384,8 +87769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 requestBody: @@ -87472,8 +87857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 responses: @@ -87510,8 +87895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *312 - *313 - - *314 - *549 - *553 - *17 @@ -87611,9 +87996,9 @@ paths: _links: type: object properties: - self: *238 - html: *238 - pull_request: *238 + self: *237 + html: *237 + pull_request: *237 required: - self - html @@ -87771,8 +88156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 requestBody: @@ -87866,8 +88251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *312 - *313 - - *314 - *549 - *553 requestBody: @@ -87928,8 +88313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *312 - *313 - - *314 - *549 requestBody: required: false @@ -87994,8 +88379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *312 - *313 - - *314 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88052,8 +88437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *312 - *313 - - *314 - name: dir description: The alternate path to look for a README file in: path @@ -88097,8 +88482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -88377,8 +88762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -88561,8 +88946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *312 - *313 - - *314 - &560 name: asset_id description: The unique identifier of the asset. @@ -88612,7 +88997,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88628,8 +89013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *312 - *313 - - *314 - *560 requestBody: required: false @@ -88677,8 +89062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *312 - *313 - - *314 - *560 responses: '204': @@ -88703,8 +89088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -88790,8 +89175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -88816,8 +89201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *312 - *313 - - *314 - name: tag description: tag parameter in: path @@ -88854,8 +89239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *312 - *313 - - *314 - &563 name: release_id description: The unique identifier of the release. @@ -88890,8 +89275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *312 - *313 - - *314 - *563 requestBody: required: false @@ -88979,8 +89364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *312 - *313 - - *314 - *563 responses: '204': @@ -89001,8 +89386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *312 - *313 - - *314 - *563 - *17 - *19 @@ -89094,8 +89479,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: + - *312 - *313 - - *314 - *563 - name: name in: query @@ -89177,8 +89562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *312 - *313 - - *314 - *563 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -89203,9 +89588,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 '404': *6 @@ -89226,8 +89611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *312 - *313 - - *314 - *563 requestBody: required: true @@ -89258,16 +89643,16 @@ paths: description: Reaction exists content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '201': description: Reaction created content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 '422': *15 x-github: githubCloudOnly: false @@ -89289,10 +89674,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *312 - *313 - - *314 - *563 - - *309 + - *308 responses: '204': description: Response @@ -89316,9 +89701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *312 - *313 - - *314 - - *383 + - *382 - *17 - *19 responses: @@ -89334,7 +89719,7 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *255 + - *254 - &564 title: repository ruleset data for rule description: User-defined metadata to store domain-specific @@ -89354,6 +89739,9 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *255 + - *564 - allOf: - *256 - *564 @@ -89361,10 +89749,10 @@ paths: - *257 - *564 - allOf: - - *258 + - *565 - *564 - allOf: - - *565 + - *258 - *564 - allOf: - *259 @@ -89411,9 +89799,6 @@ paths: - allOf: - *273 - *564 - - allOf: - - *274 - - *564 - allOf: - *566 - *564 @@ -89455,8 +89840,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - *17 - *19 - name: includes_parents @@ -89475,7 +89860,7 @@ paths: application/json: schema: type: array - items: *275 + items: *274 examples: default: value: @@ -89522,8 +89907,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 requestBody: description: Request body required: true @@ -89543,12 +89928,12 @@ paths: - tag - push default: branch - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *252 + conditions: *249 rules: type: array description: An array of rules within the ruleset. @@ -89583,7 +89968,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: default: &578 value: @@ -89632,8 +90017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *312 - *313 - - *314 - *569 - *570 - *571 @@ -89668,8 +90053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *312 - *313 - - *314 - *575 responses: '200': @@ -89706,8 +90091,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89727,7 +90112,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: default: *578 '404': *6 @@ -89747,8 +90132,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89773,12 +90158,12 @@ paths: - branch - tag - push - enforcement: *252 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *253 - conditions: *250 + items: *252 + conditions: *249 rules: description: An array of rules within the ruleset. type: array @@ -89810,7 +90195,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *274 examples: default: *578 '404': *6 @@ -89830,8 +90215,8 @@ paths: category: repos subcategory: rules parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89854,8 +90239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *312 - *313 - - *314 - *17 - *19 - name: ruleset_id @@ -89871,7 +90256,7 @@ paths: application/json: schema: type: array - items: *278 + items: *277 examples: default: *579 '404': *6 @@ -89892,8 +90277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *312 - *313 - - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89966,21 +90351,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *312 - *313 - - *314 + - *278 - *279 - *280 - *281 - - *282 - *46 - *19 - *17 - *581 - *582 + - *282 - *283 - *284 - *285 - - *286 responses: '200': description: Response @@ -90104,6 +90489,10 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: default: value: @@ -90196,6 +90585,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 '404': description: Repository is public or secret scanning is disabled for the repository @@ -90221,10 +90629,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 - - *286 + - *413 + - *285 responses: '200': description: Response @@ -90282,9 +90690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 requestBody: required: true content: @@ -90387,9 +90795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *312 - *313 - - *314 - - *414 + - *413 - *19 - *17 responses: @@ -90525,8 +90933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -90602,8 +91010,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: + - *312 - *313 - - *314 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90724,8 +91132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *312 - *313 - - *314 - *46 - name: sort description: The property to sort the results by. @@ -90794,8 +91202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -90875,7 +91283,7 @@ paths: login: type: string description: The username of the user credited. - type: *291 + type: *290 required: - login - type @@ -91200,8 +91608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -91461,8 +91869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *312 - *313 - - *314 - *605 responses: '200': @@ -91495,8 +91903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *312 - *313 - - *314 - *605 requestBody: required: true @@ -91577,7 +91985,7 @@ paths: login: type: string description: The username of the user credited. - type: *291 + type: *290 required: - login - type @@ -91709,8 +92117,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: + - *312 - *313 - - *314 - *605 responses: '202': *37 @@ -91738,17 +92146,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *312 - *313 - - *314 - *605 responses: '202': description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 '400': *14 '422': *15 '403': *27 @@ -91774,8 +92182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -91871,8 +92279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *312 - *313 - - *314 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91914,8 +92322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -91993,8 +92401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -92088,8 +92496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *312 - *313 - - *314 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92243,8 +92651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *312 - *313 - - *314 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92287,8 +92695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *312 - *313 - - *314 - name: sha in: path required: true @@ -92398,8 +92806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -92431,8 +92839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *312 - *313 - - *314 responses: '200': description: if you subscribe to the repository @@ -92511,8 +92919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *312 - *313 - - *314 requestBody: required: false content: @@ -92565,8 +92973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -92586,8 +92994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -92669,8 +93077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -92735,8 +93143,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: + - *312 - *313 - - *314 requestBody: required: true content: @@ -92790,8 +93198,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: + - *312 - *313 - - *314 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92828,8 +93236,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *312 - *313 - - *314 - name: ref in: path required: true @@ -92865,8 +93273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *312 - *313 - - *314 - *17 - *19 responses: @@ -92878,7 +93286,7 @@ paths: type: array items: *159 examples: - default: *214 + default: *213 headers: Link: *57 '404': *6 @@ -92898,8 +93306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *312 - *313 - - *314 - *19 - *17 responses: @@ -92942,8 +93350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -92997,8 +93405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *312 - *313 - - *314 - &613 name: per description: The time frame to display results for. @@ -93117,8 +93525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -93212,8 +93620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *312 - *313 - - *314 responses: '200': description: Response @@ -93276,8 +93684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *312 - *313 - - *314 - *613 responses: '200': @@ -93376,8 +93784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *312 - *313 - - *314 requestBody: required: true content: @@ -93651,8 +94059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *312 - *313 - - *314 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93675,8 +94083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -93698,8 +94106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -93725,8 +94133,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *312 - *313 - - *314 - name: ref in: path required: true @@ -93818,9 +94226,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94301,7 +94709,7 @@ paths: committer: anyOf: - type: 'null' - - *381 + - *380 comment_count: type: integer message: @@ -94335,7 +94743,7 @@ paths: committer: anyOf: - type: 'null' - - *381 + - *380 parents: type: array items: @@ -94649,7 +95057,7 @@ paths: milestone: anyOf: - type: 'null' - - *237 + - *236 comments: type: integer created_at: @@ -94712,7 +95120,7 @@ paths: timeline_url: type: string format: uri - type: *198 + type: *197 performed_via_github_app: anyOf: - type: 'null' @@ -95961,9 +96369,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -96054,16 +96462,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '201': description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 '404': *6 '422': *15 '403': *27 @@ -96133,7 +96541,7 @@ paths: application/json: schema: type: array - items: *300 + items: *299 examples: default: *621 headers: @@ -96198,9 +96606,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -96228,15 +96636,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *620 - - *302 + - *301 responses: '200': description: Response content: application/json: - schema: *300 + schema: *299 examples: - default: *301 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96262,7 +96670,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *620 - - *302 + - *301 requestBody: required: false content: @@ -96285,7 +96693,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *299 examples: default: *622 x-github: @@ -96313,7 +96721,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *620 - - *302 + - *301 responses: '204': description: Response @@ -96343,7 +96751,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *620 - - *302 + - *301 - *46 - *17 - *19 @@ -96354,7 +96762,7 @@ paths: application/json: schema: type: array - items: *303 + items: *302 examples: default: *623 headers: @@ -96386,7 +96794,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *620 - - *302 + - *301 requestBody: required: true content: @@ -96408,9 +96816,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: triggersNotification: true githubCloudOnly: false @@ -96438,16 +96846,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 responses: '200': description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96473,8 +96881,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -96496,7 +96904,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: default: *624 x-github: @@ -96524,8 +96932,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 responses: '204': description: Response @@ -96555,8 +96963,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 - 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. @@ -96582,9 +96990,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 x-github: @@ -96614,8 +97022,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *620 - - *302 - - *305 + - *301 + - *304 requestBody: required: true content: @@ -96647,9 +97055,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96676,7 +97084,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *620 - - *302 + - *301 - 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. @@ -96702,9 +97110,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *308 + default: *307 headers: Link: *57 x-github: @@ -96734,7 +97142,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *620 - - *302 + - *301 requestBody: required: true content: @@ -96766,9 +97174,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *307 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96802,9 +97210,9 @@ paths: application/json: schema: type: array - items: *195 + items: *194 examples: - default: *196 + default: *195 headers: Link: *57 x-github: @@ -97002,7 +97410,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *309 examples: response-if-user-is-a-team-maintainer: *625 '404': *6 @@ -97063,7 +97471,7 @@ paths: description: Response content: application/json: - schema: *310 + schema: *309 examples: response-if-users-membership-with-team-is-now-pending: *626 '403': @@ -97138,7 +97546,7 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: default: *627 headers: @@ -97167,13 +97575,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *620 - - *312 + - *311 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: default: *628 '404': @@ -97200,7 +97608,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *620 - - *312 + - *311 requestBody: required: false content: @@ -97268,7 +97676,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *620 - - *312 + - *311 responses: '204': description: Response @@ -97307,7 +97715,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 '404': *6 @@ -97338,8 +97746,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *620 + - *312 - *313 - - *314 responses: '200': description: Alternative response with extra repository information @@ -97497,8 +97905,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *620 + - *312 - *313 - - *314 requestBody: required: false content: @@ -97549,8 +97957,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *620 + - *312 - *313 - - *314 responses: '204': description: Response @@ -98233,9 +98641,9 @@ paths: type: integer codespaces: type: array - items: *203 + items: *202 examples: - default: *204 + default: *203 '304': *35 '500': *98 '401': *23 @@ -98374,17 +98782,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '401': *23 '403': *27 '404': *6 @@ -98470,7 +98878,7 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *435 headers: Link: *57 x-github: @@ -98838,15 +99246,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '304': *35 '500': *98 '401': *23 @@ -98872,7 +99280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 requestBody: required: false content: @@ -98902,9 +99310,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '401': *23 '403': *27 '404': *6 @@ -98926,7 +99334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '202': *37 '304': *35 @@ -98955,7 +99363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '202': description: Response @@ -99046,7 +99454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *205 + - *204 - name: export_id in: path required: true @@ -99082,7 +99490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *205 + - *204 responses: '200': description: Response @@ -99098,7 +99506,7 @@ paths: type: integer machines: type: array - items: *435 + items: *434 examples: default: *637 '304': *35 @@ -99129,7 +99537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *205 + - *204 requestBody: required: true content: @@ -99185,11 +99593,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *321 + repository: *320 machine: anyOf: - type: 'null' - - *435 + - *434 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99986,15 +100394,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '304': *35 '500': *98 '400': *14 @@ -100026,15 +100434,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *205 + - *204 responses: '200': description: Response content: application/json: - schema: *203 + schema: *202 examples: - default: *434 + default: *433 '500': *98 '401': *23 '403': *27 @@ -100064,7 +100472,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: &649 value: @@ -101176,12 +101584,12 @@ paths: application/json: schema: anyOf: - - *193 + - *192 - type: object properties: {} additionalProperties: false examples: - default: *194 + default: *193 '204': description: Response when there are no restrictions x-github: @@ -101216,7 +101624,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *192 examples: default: value: @@ -101297,7 +101705,7 @@ paths: - closed - all default: open - - *201 + - *200 - name: sort description: What to sort results by. in: query @@ -101322,7 +101730,7 @@ paths: type: array items: *81 examples: - default: *202 + default: *201 headers: Link: *57 '404': *6 @@ -101740,7 +102148,7 @@ paths: application/json: schema: type: array - items: *207 + items: *206 examples: default: value: @@ -101848,7 +102256,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *206 examples: default: value: @@ -101931,7 +102339,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *206 examples: default: value: @@ -101999,7 +102407,7 @@ paths: application/json: schema: type: array - items: *209 + items: *208 examples: default: value: @@ -102261,7 +102669,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -102441,7 +102849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *210 + - *209 - name: exclude in: query required: false @@ -102454,7 +102862,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *208 examples: default: value: @@ -102648,7 +103056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *210 + - *209 responses: '302': description: Response @@ -102674,7 +103082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *210 + - *209 responses: '204': description: Response @@ -102703,7 +103111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *210 + - *209 - *646 responses: '204': @@ -102728,7 +103136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *210 + - *209 - *17 - *19 responses: @@ -102740,7 +103148,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 '404': *6 @@ -102829,7 +103237,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: *649 '400': *650 @@ -102852,14 +103260,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *216 - *217 - - *218 responses: '200': description: Response content: application/json: - schema: *215 + schema: *214 examples: default: &666 value: @@ -102974,8 +103382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *216 - *217 - - *218 responses: '204': description: Response @@ -103005,8 +103413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - name: token description: package token schema: @@ -103038,8 +103446,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: + - *216 - *217 - - *218 - *19 - *17 - name: state @@ -103059,7 +103467,7 @@ paths: application/json: schema: type: array - items: *219 + items: *218 examples: default: value: @@ -103108,15 +103516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *218 examples: default: value: @@ -103152,9 +103560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 responses: '204': description: Response @@ -103184,9 +103592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 responses: '204': description: Response @@ -103244,7 +103652,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *230 examples: default: value: @@ -103749,9 +104157,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *323 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103814,7 +104222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *197 + - *196 responses: '204': description: Response @@ -103837,7 +104245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *197 + - *196 responses: '204': description: Response @@ -104411,8 +104819,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: + - *312 - *313 - - *314 responses: '204': description: Response if this repository is starred by you @@ -104440,8 +104848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -104465,8 +104873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *312 - *313 - - *314 responses: '204': description: Response @@ -104501,7 +104909,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 '304': *35 @@ -104538,7 +104946,7 @@ paths: application/json: schema: type: array - items: *298 + items: *297 examples: default: value: @@ -105083,7 +105491,7 @@ paths: initiator: type: string examples: - default: *377 + default: *376 '201': description: Response content: @@ -105122,7 +105530,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: *649 '403': *27 @@ -105770,7 +106178,7 @@ paths: application/json: schema: type: array - items: *215 + items: *214 examples: default: *649 '403': *27 @@ -105795,15 +106203,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: + - *216 - *217 - - *218 - *62 responses: '200': description: Response content: application/json: - schema: *215 + schema: *214 examples: default: *666 x-github: @@ -105826,8 +106234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: + - *216 - *217 - - *218 - *62 responses: '204': @@ -105860,8 +106268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: + - *216 - *217 - - *218 - *62 - name: token description: package token @@ -105894,8 +106302,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: + - *216 - *217 - - *218 - *62 responses: '200': @@ -105904,7 +106312,7 @@ paths: application/json: schema: type: array - items: *219 + items: *218 examples: default: value: @@ -105962,16 +106370,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: + - *216 - *217 - - *218 - - *220 + - *219 - *62 responses: '200': description: Response content: application/json: - schema: *219 + schema: *218 examples: default: value: @@ -106006,10 +106414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: + - *216 - *217 - - *218 - *62 - - *220 + - *219 responses: '204': description: Response @@ -106041,10 +106449,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: + - *216 - *217 - - *218 - *62 - - *220 + - *219 responses: '204': description: Response @@ -106091,7 +106499,7 @@ paths: application/json: schema: type: array - items: *231 + items: *230 examples: default: value: @@ -106166,9 +106574,9 @@ paths: application/json: schema: type: array - items: *232 + items: *231 examples: - default: *233 + default: *232 headers: Link: *57 '304': *35 @@ -106190,16 +106598,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *234 + - *233 - *62 responses: '200': description: Response content: application/json: - schema: *232 + schema: *231 examples: - default: *233 + default: *232 headers: Link: *57 '304': *35 @@ -106221,7 +106629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *234 + - *233 - *62 - *17 - *38 @@ -106233,9 +106641,9 @@ paths: application/json: schema: type: array - items: *235 + items: *234 examples: - default: *236 + default: *235 headers: Link: *57 '304': *35 @@ -106257,7 +106665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *234 + - *233 - *667 - *62 responses: @@ -106265,9 +106673,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *234 examples: - default: *236 + default: *235 headers: Link: *57 '304': *35 @@ -106290,7 +106698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *234 + - *233 - *62 - *38 - *39 @@ -106321,9 +106729,9 @@ paths: application/json: schema: type: array - items: *241 + items: *240 examples: - default: *242 + default: *241 headers: Link: *57 '304': *35 @@ -106345,7 +106753,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *62 - - *234 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -106384,8 +106792,8 @@ paths: application/json: schema: *668 examples: - issue: *240 - pull_request: *240 + issue: *239 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -106405,9 +106813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *234 + - *233 - *62 - - *243 + - *242 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106425,9 +106833,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - default: *242 + default: *241 headers: Link: *57 '304': *35 @@ -106448,9 +106856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *234 + - *233 - *62 - - *243 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -106523,13 +106931,13 @@ paths: description: Response content: application/json: - schema: *241 + schema: *240 examples: - text_field: *242 - number_field: *242 - date_field: *242 - single_select_field: *242 - iteration_field: *242 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -106549,9 +106957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *234 + - *233 - *62 - - *243 + - *242 responses: '204': description: Response @@ -106799,7 +107207,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -107250,7 +107658,7 @@ paths: type: array items: *129 examples: - default: *221 + default: *220 headers: Link: *57 x-github: @@ -109106,7 +109514,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *394 + items: *393 repository: *129 status: type: string @@ -109211,7 +109619,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *394 + items: *393 started_at: type: string format: date-time @@ -112992,7 +113400,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113324,7 +113732,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113668,7 +114076,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114027,7 +114435,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114312,7 +114720,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114601,7 +115009,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115202,7 +115610,7 @@ webhooks: type: string enum: - created - definition: *244 + definition: *243 enterprise: *683 installation: *684 organization: *685 @@ -115369,7 +115777,7 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *244 + definition: *243 enterprise: *683 installation: *684 organization: *685 @@ -115449,7 +115857,7 @@ webhooks: type: string enum: - updated - definition: *244 + definition: *243 enterprise: *683 installation: *684 organization: *685 @@ -115537,11 +115945,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *248 + items: *247 old_property_values: type: array description: The old custom property values for the repository. - items: *248 + items: *247 required: - action - repository @@ -127189,7 +127597,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -128613,7 +129021,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -129888,7 +130296,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -131533,7 +131941,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -132556,7 +132964,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -133712,7 +134120,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -134747,7 +135155,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -135902,7 +136310,7 @@ webhooks: timeline_url: type: string format: uri - type: *198 + type: *197 title: description: Title of the issue type: string @@ -136920,7 +137328,7 @@ webhooks: timeline_url: type: string format: uri - type: *198 + type: *197 title: description: Title of the issue type: string @@ -137963,7 +138371,7 @@ webhooks: timeline_url: type: string format: uri - type: *198 + type: *197 title: description: Title of the issue type: string @@ -138978,7 +139386,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -140052,7 +140460,7 @@ webhooks: required: - login - id - type: *198 + type: *197 required: - id - number @@ -141367,7 +141775,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -142379,7 +142787,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -143497,7 +143905,7 @@ webhooks: format: uri user_view_type: type: string - type: *198 + type: *197 organization: *685 repository: *686 sender: *4 @@ -144409,7 +144817,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -145078,7 +145486,7 @@ webhooks: enterprise: *683 installation: *684 issue: *710 - type: *198 + type: *197 organization: *685 repository: *686 sender: *4 @@ -146257,7 +146665,7 @@ webhooks: title: description: Title of the issue type: string - type: *198 + type: *197 updated_at: type: string format: date-time @@ -146504,7 +146912,7 @@ webhooks: enterprise: *683 installation: *684 issue: *710 - type: *198 + type: *197 organization: *685 repository: *686 sender: *4 @@ -148510,7 +148918,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *397 required: - head_sha - head_ref @@ -154301,7 +154709,7 @@ webhooks: - closed installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154384,7 +154792,7 @@ webhooks: - created installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154467,7 +154875,7 @@ webhooks: - deleted installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154590,7 +154998,7 @@ webhooks: type: string installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -154709,7 +155117,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *239 + content_type: *238 creator: *4 created_at: type: string @@ -155464,7 +155872,7 @@ webhooks: - reopened installation: *684 organization: *685 - projects_v2: *232 + projects_v2: *231 sender: *4 required: - action @@ -163457,7 +163865,7 @@ webhooks: enum: - demilestoned enterprise: *683 - milestone: *237 + milestone: *236 number: *728 organization: *685 pull_request: &730 @@ -175703,7 +176111,7 @@ webhooks: enum: - milestoned enterprise: *683 - milestone: *237 + milestone: *236 number: *728 organization: *685 pull_request: *730 @@ -219815,7 +220223,7 @@ webhooks: installation: *684 organization: *685 repository: *686 - repository_ruleset: *275 + repository_ruleset: *274 sender: *4 required: - action @@ -219897,7 +220305,7 @@ webhooks: installation: *684 organization: *685 repository: *686 - repository_ruleset: *275 + repository_ruleset: *274 sender: *4 required: - action @@ -219979,7 +220387,7 @@ webhooks: installation: *684 organization: *685 repository: *686 - repository_ruleset: *275 + repository_ruleset: *274 changes: type: object properties: @@ -219998,16 +220406,16 @@ webhooks: properties: added: type: array - items: *250 + items: *249 deleted: type: array - items: *250 + items: *249 updated: type: array items: type: object properties: - condition: *250 + condition: *249 changes: type: object properties: @@ -221263,6 +221671,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - *4 enterprise: *683 installation: *684 organization: *685 @@ -222506,11 +222918,11 @@ webhooks: from: type: object properties: - security_and_analysis: *249 + security_and_analysis: *248 enterprise: *683 installation: *684 organization: *685 - repository: *321 + repository: *320 sender: *4 required: - changes diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index d3dea2df3b..fb9355b705 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -5657,7 +5657,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -6764,7 +6764,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -7644,7 +7644,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -8089,7 +8089,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -10392,7 +10392,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -11531,7 +11531,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -12534,7 +12534,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -13240,7 +13240,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -29448,7 +29448,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -30286,7 +30286,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -31344,7 +31344,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -32799,7 +32799,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -59511,6 +59511,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -59678,7 +59853,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -143929,7 +144124,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": [ { @@ -143940,13 +144135,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", @@ -146314,9 +146518,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -146331,8 +146542,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -159155,7 +159366,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -160277,7 +160488,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -230081,6 +230292,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -230248,7 +230634,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -234408,6 +234814,1324 @@ } } }, + "/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" + ], + "examples": [ + "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" + ], + "examples": [ + "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", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "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", @@ -417300,6 +419024,229 @@ } } }, + "/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", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "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": { + "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/enterprise-cloud@latest//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", @@ -419905,7 +421852,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -597743,6 +599690,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -597843,7 +599965,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -598959,6 +601101,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -600145,6 +602462,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -694183,7 +696675,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -746242,7 +748734,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -987453,7 +989945,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -990535,7 +993027,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -993522,7 +996014,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -996509,7 +999001,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -999630,7 +1002122,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1002758,7 +1005250,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1007881,7 +1010373,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1485250,38 +1487742,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1485456,15 +1488131,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1485638,42 +1488341,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1488104,15 +1490771,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1488286,42 +1491164,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1490980,38 +1493822,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1491186,15 +1494211,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1491368,42 +1494421,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1493834,15 +1496851,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1494016,42 +1497244,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1496276,38 +1499468,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1496482,15 +1499857,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1496664,42 +1500067,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1499348,6 +1502715,181 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5d40918339..ad5c33e3f9 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &396 + type: &395 type: string description: The type of credit the user is receiving. enum: @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &308 + - &307 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &309 + items: &308 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &310 + default: &309 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &310 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &312 + default: &311 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2535,7 +2535,8 @@ paths: organization_custom_properties: type: string description: The level of permission to grant the access - token for custom property management. + token for repository custom properties management at the + organization level. enum: - read - write @@ -12982,7 +12983,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &508 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13018,7 +13019,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &509 type: - string - 'null' @@ -13029,14 +13030,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &510 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &511 type: object properties: id: @@ -13097,7 +13098,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &512 type: object properties: name: *100 @@ -13108,15 +13109,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &514 + most_recent_instance: &513 type: object properties: - ref: &507 + ref: &506 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &523 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13127,7 +13128,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &524 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15532,7 +15533,7 @@ paths: parent: anyOf: - type: 'null' - - &343 + - &342 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16718,7 +16719,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 - - &297 + - &559 name: has in: query description: |- @@ -16732,7 +16733,7 @@ paths: type: string enum: - patch - - &298 + - &297 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16742,7 +16743,7 @@ paths: enum: - development - runtime - - &299 + - &298 name: sort in: query description: |- @@ -16760,7 +16761,7 @@ paths: - *99 - *97 - *98 - - &300 + - &299 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16773,7 +16774,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &301 + - &300 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16793,7 +16794,7 @@ paths: application/json: schema: type: array - items: &302 + items: &301 type: object description: A Dependabot alert. properties: @@ -17123,7 +17124,7 @@ paths: - repository additionalProperties: false examples: - default: &303 + default: &302 value: - number: 2 state: dismissed @@ -17652,7 +17653,7 @@ paths: - name - created_on examples: - default: &406 + default: &405 value: total_count: 2 network_configurations: @@ -17875,7 +17876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &407 + - &406 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17887,7 +17888,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &407 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17926,7 +17927,7 @@ paths: - subnet_id - region examples: - default: &409 + default: &408 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -18232,7 +18233,7 @@ paths: required: true content: application/json: - schema: &374 + schema: &373 title: Custom Property Set Payload description: Custom property set payload type: object @@ -19306,7 +19307,7 @@ paths: conditions: anyOf: - *132 - - &379 + - &378 title: Organization ruleset conditions type: object description: |- @@ -19715,7 +19716,7 @@ paths: type: string format: date-time examples: - default: &382 + default: &381 value: - version_id: 3 actor: @@ -19768,7 +19769,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &382 allOf: - *162 - type: object @@ -19823,7 +19824,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &384 + - &383 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19834,7 +19835,7 @@ paths: enum: - open - resolved - - &385 + - &384 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19844,7 +19845,7 @@ paths: required: false schema: type: string - - &386 + - &385 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19853,7 +19854,7 @@ paths: required: false schema: type: string - - &387 + - &386 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. @@ -19869,7 +19870,7 @@ paths: - *17 - *97 - *98 - - &388 + - &387 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19878,7 +19879,7 @@ paths: required: false schema: type: string - - &389 + - &388 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19887,7 +19888,7 @@ paths: schema: type: boolean default: false - - &390 + - &389 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19896,7 +19897,7 @@ paths: schema: type: boolean default: false - - &391 + - &390 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19912,7 +19913,7 @@ paths: application/json: schema: type: array - items: &392 + items: &391 type: object properties: number: *109 @@ -20337,8 +20338,12 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: &393 + default: &392 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20494,6 +20499,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 headers: Link: *41 '404': *6 @@ -20528,7 +20552,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &393 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20615,7 +20639,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *164 examples: - default: &395 + default: &394 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20759,7 +20783,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &396 type: object properties: total_minutes_used: @@ -20829,7 +20853,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &398 + default: &397 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20860,7 +20884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &399 + - &398 name: advanced_security_product in: query description: | @@ -20880,7 +20904,7 @@ paths: description: Success content: application/json: - schema: &400 + schema: &399 type: object properties: total_advanced_security_committers: @@ -20943,7 +20967,7 @@ paths: required: - repositories examples: - default: &401 + default: &400 value: total_advanced_security_committers: 2 total_count: 2 @@ -21557,7 +21581,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &401 type: object properties: total_gigabytes_bandwidth_used: @@ -21575,7 +21599,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &403 + default: &402 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21816,7 +21840,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &403 type: object properties: days_left_in_billing_cycle: @@ -21834,7 +21858,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &405 + default: &404 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22794,7 +22818,7 @@ paths: milestone: anyOf: - type: 'null' - - &367 + - &366 title: Milestone description: A collection of related issues and pull requests. @@ -22966,7 +22990,7 @@ paths: timeline_url: type: string format: uri - type: &330 + type: &329 title: Issue Type description: The type of issue. type: @@ -25680,7 +25704,7 @@ paths: - closed - all default: open - - &333 + - &332 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -25731,7 +25755,7 @@ paths: type: array items: *195 examples: - default: &334 + default: &333 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27143,14 +27167,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &429 + - &428 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &430 + - &429 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -27221,7 +27245,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &443 + '301': &442 description: Moved permanently content: application/json: @@ -27632,7 +27656,7 @@ paths: type: boolean examples: - false - security_and_analysis: &376 + security_and_analysis: &375 type: - object - 'null' @@ -29812,7 +29836,7 @@ paths: type: integer repository_cache_usages: type: array - items: &448 + items: &447 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -32779,7 +32803,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &467 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -32814,7 +32838,7 @@ paths: - key_id - key examples: - default: &469 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33227,7 +33251,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &453 + - &452 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -34400,7 +34424,7 @@ paths: initiator: type: string examples: - default: &482 + default: &481 value: attestations: - bundle: @@ -35316,7 +35340,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &507 type: string description: Severity of a code scanning alert. enum: @@ -36332,7 +36356,7 @@ paths: type: integer codespaces: type: array - items: &335 + items: &334 type: object title: Codespace description: A codespace. @@ -36367,7 +36391,7 @@ paths: machine: anyOf: - type: 'null' - - &537 + - &536 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -36654,7 +36678,7 @@ paths: - pulls_url - recent_folders examples: - default: &336 + default: &335 value: total_count: 3 codespaces: @@ -37319,7 +37343,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &537 value: total_count: 2 secrets: @@ -37357,7 +37381,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &538 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37392,7 +37416,7 @@ paths: - key_id - key examples: - default: &540 + default: &539 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37424,7 +37448,7 @@ paths: application/json: schema: *286 examples: - default: &542 + default: &541 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38999,14 +39023,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 - *297 - *298 - - *299 - *99 - *97 - *98 + - *299 - *300 - - *301 - *17 responses: '200': @@ -39015,9 +39060,9 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: - default: *303 + default: *302 '304': *35 '400': *14 '403': *27 @@ -39061,7 +39106,7 @@ paths: type: integer secrets: type: array - items: &304 + items: &303 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -39189,7 +39234,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *303 examples: default: value: @@ -39254,9 +39299,13 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -39266,8 +39315,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -40037,7 +40086,7 @@ paths: application/json: schema: type: array - items: &345 + items: &344 title: Package description: A software package type: object @@ -40108,7 +40157,7 @@ paths: - created_at - updated_at examples: - default: &346 + default: &345 value: - id: 197 name: hello_docker @@ -40292,7 +40341,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &423 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40382,7 +40431,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &425 + default: &424 value: group_id: '123' group_name: Octocat admins @@ -40437,7 +40486,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &421 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40477,7 +40526,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &423 + default: &422 value: groups: - group_id: '123' @@ -40521,7 +40570,7 @@ paths: application/json: schema: type: array - items: &327 + items: &326 title: Organization Invitation description: Organization Invitation type: object @@ -40575,7 +40624,7 @@ paths: - invitation_teams_url - node_id examples: - default: &328 + default: &327 value: - id: 1 login: monalisa @@ -40642,7 +40691,7 @@ paths: application/json: schema: type: array - items: &377 + items: &376 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40656,7 +40705,7 @@ paths: - name - description examples: - default: &378 + default: &377 value: - name: add_assignee description: Assign or remove a user @@ -40697,7 +40746,7 @@ paths: application/json: schema: type: array - items: &305 + items: &304 title: Org Hook description: Org Hook type: object @@ -40880,9 +40929,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - default: &306 + default: &305 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -40927,7 +40976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &307 + - &306 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. @@ -40940,9 +40989,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - default: *306 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -40964,7 +41013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *307 + - *306 requestBody: required: false content: @@ -41010,7 +41059,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: default: value: @@ -41050,7 +41099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *307 + - *306 responses: '204': description: Response @@ -41076,7 +41125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *307 + - *306 responses: '200': description: Response @@ -41105,7 +41154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *307 + - *306 requestBody: required: false content: @@ -41154,9 +41203,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *307 + - *306 - *17 - - *308 + - *307 responses: '200': description: Response @@ -41164,9 +41213,9 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: - default: *310 + default: *309 '400': *14 '422': *15 x-github: @@ -41190,16 +41239,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *307 + - *306 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 '400': *14 '422': *15 x-github: @@ -41223,7 +41272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *307 + - *306 - *16 responses: '202': *37 @@ -41250,7 +41299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *307 + - *306 responses: '204': description: Response @@ -41273,7 +41322,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &317 + - &316 name: actor_type in: path description: The type of the actor @@ -41286,14 +41335,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &318 + - &317 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &313 + - &312 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`.' @@ -41301,7 +41350,7 @@ paths: required: true schema: type: string - - &314 + - &313 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) @@ -41396,12 +41445,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 + - *312 - *313 - - *314 - *19 - *17 - *99 - - &323 + - &322 name: sort description: The property to sort the results by. in: query @@ -41481,14 +41530,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: &315 + schema: &314 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41504,7 +41553,7 @@ paths: type: integer format: int64 examples: - default: &316 + default: &315 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41525,23 +41574,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &319 + - &318 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 x-github: enabledForGitHubApps: true category: orgs @@ -41560,18 +41609,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 + - *312 - *313 - - *314 + - *316 - *317 - - *318 responses: '200': description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 x-github: enabledForGitHubApps: true category: orgs @@ -41589,9 +41638,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 + - *312 - *313 - - *314 - - &320 + - &319 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41604,7 +41653,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &320 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41620,7 +41669,7 @@ paths: type: integer format: int64 examples: - default: &322 + default: &321 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41657,18 +41706,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *319 + - *318 + - *312 - *313 - - *314 - - *320 + - *319 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *322 + default: *321 x-github: enabledForGitHubApps: true category: orgs @@ -41686,19 +41735,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 + - *316 - *317 - - *318 + - *312 - *313 - - *314 - - *320 + - *319 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *322 + default: *321 x-github: enabledForGitHubApps: true category: orgs @@ -41716,13 +41765,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *319 + - *318 + - *312 - *313 - - *314 - *19 - *17 - *99 - - *323 + - *322 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -41972,12 +42021,12 @@ paths: application/json: schema: anyOf: - - &325 + - &324 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &324 + limit: &323 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -42005,7 +42054,7 @@ paths: properties: {} additionalProperties: false examples: - default: &326 + default: &325 value: limit: collaborators_only origin: organization @@ -42040,7 +42089,7 @@ paths: duration type: object properties: - limit: *324 + limit: *323 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -42065,9 +42114,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: - default: *326 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -42145,9 +42194,9 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: - default: *328 + default: *327 headers: Link: *41 '404': *6 @@ -42225,7 +42274,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: default: value: @@ -42282,7 +42331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &329 + - &328 name: invitation_id description: The unique identifier of the invitation. in: path @@ -42316,7 +42365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *329 + - *328 - *17 - *19 responses: @@ -42328,7 +42377,7 @@ paths: type: array items: *271 examples: - default: &344 + default: &343 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42371,7 +42420,7 @@ paths: application/json: schema: type: array - items: *330 + items: *329 examples: default: value: @@ -42459,9 +42508,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *329 examples: - default: &331 + default: &330 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42494,7 +42543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &332 + - &331 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42550,9 +42599,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *329 examples: - default: *331 + default: *330 '404': *6 '422': *7 x-github: @@ -42577,7 +42626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *332 + - *331 responses: '204': description: Response @@ -42640,7 +42689,7 @@ paths: - closed - all default: open - - *333 + - *332 - name: type description: Can be the name of an issue type. in: query @@ -42671,7 +42720,7 @@ paths: type: array items: *195 examples: - default: *334 + default: *333 headers: Link: *41 '404': *6 @@ -42830,9 +42879,9 @@ paths: type: integer codespaces: type: array - items: *335 + items: *334 examples: - default: *336 + default: *335 '304': *35 '500': *38 '401': *23 @@ -42859,7 +42908,7 @@ paths: parameters: - *76 - *178 - - &337 + - &336 name: codespace_name in: path required: true @@ -42894,15 +42943,15 @@ paths: parameters: - *76 - *178 - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: &536 + default: &535 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43158,7 +43207,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &337 title: Org Membership description: Org Membership type: object @@ -43227,7 +43276,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &339 + response-if-user-has-an-active-admin-membership-with-organization: &338 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -43324,9 +43373,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: - response-if-user-already-had-membership-with-organization: *339 + response-if-user-already-had-membership-with-organization: *338 '422': *15 '403': *27 x-github: @@ -43398,7 +43447,7 @@ paths: application/json: schema: type: array - items: &340 + items: &339 title: Migration description: A migration. type: object @@ -43736,7 +43785,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -43915,7 +43964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &341 + - &340 name: migration_id description: The unique identifier of the migration. in: path @@ -43943,7 +43992,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -44113,7 +44162,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *341 + - *340 responses: '302': description: Response @@ -44135,7 +44184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *341 + - *340 responses: '204': description: Response @@ -44159,7 +44208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *341 + - *340 - &780 name: repo_name description: repo_name parameter @@ -44188,7 +44237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *341 + - *340 - *17 - *19 responses: @@ -44200,7 +44249,7 @@ paths: type: array items: *244 examples: - default: &351 + default: &350 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44409,7 +44458,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &342 + items: &341 title: Organization Role description: Organization roles type: object @@ -44618,7 +44667,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *341 examples: default: value: @@ -44848,7 +44897,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *341 examples: default: value: @@ -44945,7 +44994,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *341 examples: default: value: @@ -45104,7 +45153,7 @@ paths: parent: anyOf: - type: 'null' - - *343 + - *342 type: description: The ownership type of the team type: string @@ -45137,7 +45186,7 @@ paths: - type - parent examples: - default: *344 + default: *343 headers: Link: *41 '404': @@ -45196,7 +45245,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *343 + items: *342 name: type: - string @@ -45542,9 +45591,9 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: - default: *346 + default: *345 '403': *27 '401': *23 '400': &784 @@ -45569,7 +45618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &347 + - &346 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 @@ -45587,7 +45636,7 @@ paths: - docker - nuget - container - - &348 + - &347 name: package_name description: The name of the package. in: path @@ -45600,7 +45649,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *344 examples: default: value: @@ -45652,8 +45701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: + - *346 - *347 - - *348 - *76 responses: '204': @@ -45686,8 +45735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - name: token description: package token @@ -45720,8 +45769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: + - *346 - *347 - - *348 - *76 - *19 - *17 @@ -45742,7 +45791,7 @@ paths: application/json: schema: type: array - items: &349 + items: &348 title: Package Version description: A version of a software package type: object @@ -45877,10 +45926,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - - &350 + - &349 name: package_version_id description: Unique identifier of the package version. in: path @@ -45892,7 +45941,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -45928,10 +45977,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - - *350 + - *349 responses: '204': description: Response @@ -45963,10 +46012,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - - *350 + - *349 responses: '204': description: Response @@ -45996,7 +46045,7 @@ paths: - *76 - *17 - *19 - - &352 + - &351 name: sort description: The property by which to sort the results. in: query @@ -46007,7 +46056,7 @@ paths: - created_at default: created_at - *99 - - &353 + - &352 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -46019,7 +46068,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &354 + - &353 name: repository description: The name of the repository to use to filter the results. in: query @@ -46028,7 +46077,7 @@ paths: type: string examples: - Hello-World - - &355 + - &354 name: permission description: The permission to use to filter the results. in: query @@ -46037,7 +46086,7 @@ paths: type: string examples: - issues_read - - &356 + - &355 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) @@ -46047,7 +46096,7 @@ paths: schema: type: string format: date-time - - &357 + - &356 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) @@ -46057,7 +46106,7 @@ paths: schema: type: string format: date-time - - &358 + - &357 name: token_id description: The ID of the token in: query @@ -46376,7 +46425,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -46402,14 +46451,14 @@ paths: - *76 - *17 - *19 - - *352 + - *351 - *99 + - *352 - *353 - *354 - *355 - *356 - *357 - - *358 responses: '500': *38 '422': *15 @@ -46693,7 +46742,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -46735,7 +46784,7 @@ paths: type: integer configurations: type: array - items: &359 + items: &358 title: Organization private registry description: Private registry configuration for an organization type: object @@ -46994,7 +47043,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &360 + org-private-registry-with-selected-visibility: &359 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -47092,9 +47141,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *359 + schema: *358 examples: - default: *360 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -47259,7 +47308,7 @@ paths: application/json: schema: type: array - items: &361 + items: &360 title: Project description: Projects are a way to organize columns and cards of work. @@ -47441,7 +47490,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -47479,7 +47528,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &440 + '410': &439 description: Gone content: application/json: @@ -47522,7 +47571,7 @@ paths: application/json: schema: type: array - items: &362 + items: &361 title: Projects v2 Project description: A projects v2 project type: object @@ -47681,7 +47730,7 @@ paths: - deleted_at - deleted_by examples: - default: &363 + default: &362 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47784,7 +47833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &364 + - &363 name: project_number description: The project's number. in: path @@ -47797,9 +47846,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *361 examples: - default: *363 + default: *362 headers: Link: *41 '304': *35 @@ -47821,7 +47870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *364 + - *363 - *76 - *17 - *97 @@ -47833,7 +47882,7 @@ paths: application/json: schema: type: array - items: &365 + items: &364 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47983,7 +48032,7 @@ paths: - updated_at - project_url examples: - default: &366 + default: &365 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48026,7 +48075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *364 + - *363 - &801 name: field_id description: The unique identifier of the field. @@ -48040,9 +48089,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *364 examples: - default: *366 + default: *365 headers: Link: *41 '304': *35 @@ -48065,7 +48114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *364 + - *363 - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -48096,7 +48145,7 @@ paths: application/json: schema: type: array - items: &371 + items: &370 title: Projects v2 Item description: An item belonging to a project type: object @@ -48113,7 +48162,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &369 + content_type: &368 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -48170,7 +48219,7 @@ paths: - updated_at - archived_at examples: - default: &372 + default: &371 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48865,7 +48914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *364 + - *363 requestBody: required: true description: Details of the item to add to the project. @@ -48916,7 +48965,7 @@ paths: content: oneOf: - *195 - - &549 + - &548 title: Pull Request Simple description: Pull Request Simple type: object @@ -49036,7 +49085,7 @@ paths: milestone: anyOf: - type: 'null' - - *367 + - *366 active_lock_reason: type: - string @@ -49135,7 +49184,7 @@ paths: _links: type: object properties: - comments: &368 + comments: &367 title: Link description: Hypermedia Link type: object @@ -49144,13 +49193,13 @@ paths: type: string required: - href - commits: *368 - statuses: *368 - html: *368 - issue: *368 - review_comments: *368 - review_comment: *368 - self: *368 + commits: *367 + statuses: *367 + html: *367 + issue: *367 + review_comments: *367 + review_comment: *367 + self: *367 required: - comments - commits @@ -49263,7 +49312,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *369 + content_type: *368 creator: *4 created_at: type: string @@ -49300,7 +49349,7 @@ paths: - updated_at - archived_at examples: - issue: &370 + issue: &369 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49355,7 +49404,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: *370 + pull_request: *369 '304': *35 '403': *27 '401': *23 @@ -49375,9 +49424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *364 + - *363 - *76 - - &373 + - &372 name: item_id description: The unique identifier of the project item. in: path @@ -49401,9 +49450,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 headers: Link: *41 '304': *35 @@ -49424,9 +49473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *364 + - *363 - *76 - - *373 + - *372 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49499,13 +49548,13 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - text_field: *372 - number_field: *372 - date_field: *372 - single_select_field: *372 - iteration_field: *372 + text_field: *371 + number_field: *371 + date_field: *371 + single_select_field: *371 + iteration_field: *371 '401': *23 '403': *27 '404': *6 @@ -49525,9 +49574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *364 + - *363 - *76 - - *373 + - *372 responses: '204': description: Response @@ -49690,7 +49739,7 @@ paths: required: true content: application/json: - schema: *374 + schema: *373 examples: default: value: @@ -49796,7 +49845,7 @@ paths: - octocat/Hello-World properties: type: array - items: &375 + items: &374 title: Custom Property Value description: Custom property name and associated value type: object @@ -49886,7 +49935,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *375 + items: *374 required: - repository_names - properties @@ -50079,7 +50128,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -50283,7 +50332,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &441 title: Full Repository description: Full Repository type: object @@ -50748,7 +50797,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &553 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50778,7 +50827,7 @@ paths: - key - name - html_url - security_and_analysis: *376 + security_and_analysis: *375 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50862,7 +50911,7 @@ paths: - network_count - subscribers_count examples: - default: &444 + default: &443 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51388,9 +51437,9 @@ paths: application/json: schema: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51507,11 +51556,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *379 + conditions: *378 rules: type: array description: An array of rules within the ruleset. - items: &381 + items: &380 title: Repository Rule type: object description: A repository rule. @@ -51575,7 +51624,7 @@ paths: application/json: schema: *158 examples: - default: &380 + default: &379 value: id: 21 name: super cool ruleset @@ -51967,7 +52016,7 @@ paths: application/json: schema: *158 examples: - default: *380 + default: *379 '404': *6 '500': *38 put: @@ -52016,11 +52065,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *379 + conditions: *378 rules: description: An array of rules within the ruleset. type: array - items: *381 + items: *380 examples: default: value: @@ -52057,7 +52106,7 @@ paths: application/json: schema: *158 examples: - default: *380 + default: *379 '404': *6 '500': *38 delete: @@ -52116,7 +52165,7 @@ paths: type: array items: *162 examples: - default: *382 + default: *381 '404': *6 '500': *38 x-github: @@ -52153,7 +52202,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -52216,10 +52265,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 + - *383 - *384 - *385 - *386 - - *387 - *99 - *19 - *17 @@ -52243,10 +52292,10 @@ paths: required: false schema: type: string + - *387 - *388 - *389 - *390 - - *391 responses: '200': description: Response @@ -52254,9 +52303,9 @@ paths: application/json: schema: type: array - items: *392 + items: *391 examples: - default: *393 + default: *392 headers: Link: *41 '404': *6 @@ -52291,9 +52340,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *393 examples: - default: *395 + default: *394 '403': *27 '404': *6 patch: @@ -52690,7 +52739,7 @@ paths: login: type: string description: The username of the user credited. - type: *396 + type: *395 credits_detailed: type: - array @@ -52701,7 +52750,7 @@ paths: type: object properties: user: *4 - type: *396 + type: *395 state: type: string description: The state of the user's acceptance of the @@ -53152,9 +53201,9 @@ paths: application/json: schema: type: array - items: *343 + items: *342 examples: - default: *344 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53239,9 +53288,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53266,7 +53315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *399 + - *398 - *17 - *19 responses: @@ -53274,9 +53323,9 @@ paths: description: Success content: application/json: - schema: *400 + schema: *399 examples: - default: *401 + default: *400 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53304,9 +53353,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: - default: *403 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53334,14 +53383,257 @@ paths: description: Response content: application/json: - schema: *404 + schema: *403 examples: - default: *405 + default: *404 x-github: githubCloudOnly: false 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/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - *76 + 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 + examples: + - 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/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *76 + 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 + examples: + - 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. + + 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/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - *76 + - *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: *244 + examples: + default: *258 + 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/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - *76 + 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`. + + 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/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *76 + - *238 + 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/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *76 + - *238 + 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 @@ -53376,7 +53668,7 @@ paths: type: array items: *122 examples: - default: *406 + default: *405 headers: Link: *41 x-github: @@ -53577,15 +53869,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *407 + - *406 responses: '200': description: Response content: application/json: - schema: *408 + schema: *407 examples: - default: *409 + default: *408 headers: Link: *41 x-github: @@ -53623,7 +53915,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &430 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53675,7 +53967,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &432 + default: &431 value: groups: - group_id: '123' @@ -53789,7 +54081,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 headers: Link: *41 '403': *27 @@ -53883,7 +54175,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &409 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53957,7 +54249,7 @@ paths: parent: anyOf: - type: 'null' - - *343 + - *342 members_count: type: integer examples: @@ -54282,7 +54574,7 @@ paths: - repos_count - organization examples: - default: &411 + default: &410 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54359,9 +54651,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -54446,16 +54738,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '201': description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 '422': *15 '403': *27 @@ -54525,7 +54817,7 @@ paths: application/json: schema: type: array - items: &412 + items: &411 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54745,9 +55037,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: &413 + default: &412 value: author: login: octocat @@ -54821,7 +55113,7 @@ paths: parameters: - *76 - *180 - - &414 + - &413 name: discussion_number description: The number that identifies the discussion. in: path @@ -54833,9 +55125,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54859,7 +55151,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 requestBody: required: false content: @@ -54882,7 +55174,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: default: &756 value: @@ -54956,7 +55248,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 responses: '204': description: Response @@ -54984,7 +55276,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 - *99 - *17 - *19 @@ -54995,7 +55287,7 @@ paths: application/json: schema: type: array - items: &415 + items: &414 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -55145,7 +55437,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 requestBody: required: true content: @@ -55167,9 +55459,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: &416 + default: &415 value: author: login: octocat @@ -55237,8 +55529,8 @@ paths: parameters: - *76 - *180 - - *414 - - &417 + - *413 + - &416 name: comment_number description: The number that identifies the comment. in: path @@ -55250,9 +55542,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: *416 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55276,8 +55568,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -55299,7 +55591,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: default: &758 value: @@ -55367,8 +55659,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 responses: '204': description: Response @@ -55396,8 +55688,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -55423,7 +55715,7 @@ paths: application/json: schema: type: array - items: &418 + items: &417 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55467,7 +55759,7 @@ paths: - content - created_at examples: - default: &420 + default: &419 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55519,8 +55811,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -55553,9 +55845,9 @@ paths: team discussion comment content: application/json: - schema: *418 + schema: *417 examples: - default: &419 + default: &418 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55584,9 +55876,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55611,9 +55903,9 @@ paths: parameters: - *76 - *180 - - *414 - - *417 - - &421 + - *413 + - *416 + - &420 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55647,7 +55939,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -55673,9 +55965,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 x-github: @@ -55703,7 +55995,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 requestBody: required: true content: @@ -55735,16 +56027,16 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55769,8 +56061,8 @@ paths: parameters: - *76 - *180 - - *414 - - *421 + - *413 + - *420 responses: '204': description: Response @@ -55800,9 +56092,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *421 examples: - default: *423 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55846,9 +56138,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *423 examples: - default: *425 + default: *424 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55903,9 +56195,9 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: - default: *328 + default: *327 headers: Link: *41 x-github: @@ -55989,7 +56281,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &425 title: Team Membership description: Team Membership type: object @@ -56080,7 +56372,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: response-if-users-membership-with-team-is-now-pending: &760 summary: Response if user's membership with team is now pending @@ -56155,7 +56447,7 @@ paths: application/json: schema: type: array - items: &427 + items: &426 title: Team Project description: A team's access to a project. type: object @@ -56289,7 +56581,7 @@ paths: parameters: - *76 - *180 - - &428 + - &427 name: project_id description: The unique identifier of the project. in: path @@ -56301,7 +56593,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *426 examples: default: &762 value: @@ -56367,7 +56659,7 @@ paths: parameters: - *76 - *180 - - *428 + - *427 requestBody: required: false content: @@ -56436,7 +56728,7 @@ paths: parameters: - *76 - *180 - - *428 + - *427 responses: '204': description: Response @@ -56476,7 +56768,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -56507,8 +56799,8 @@ paths: parameters: - *76 - *180 + - *428 - *429 - - *430 responses: '200': description: Alternative response with repository permissions @@ -57157,8 +57449,8 @@ paths: parameters: - *76 - *180 + - *428 - *429 - - *430 requestBody: required: false content: @@ -57205,8 +57497,8 @@ paths: parameters: - *76 - *180 + - *428 - *429 - - *430 responses: '204': description: Response @@ -57239,9 +57531,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57307,7 +57599,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: value: @@ -57479,7 +57771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &433 + - &432 name: card_id description: The unique identifier of the card. in: path @@ -57491,7 +57783,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &433 title: Project Card description: Project cards represent a scope of work. type: object @@ -57566,7 +57858,7 @@ paths: - created_at - updated_at examples: - default: &435 + default: &434 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57622,7 +57914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *433 + - *432 requestBody: required: false content: @@ -57652,9 +57944,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '304': *35 '403': *27 '401': *23 @@ -57681,7 +57973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *433 + - *432 responses: '204': description: Response @@ -57725,7 +58017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *433 + - *432 requestBody: required: true content: @@ -57838,7 +58130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &436 + - &435 name: column_id description: The unique identifier of the column. in: path @@ -57850,7 +58142,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &436 title: Project Column description: Project columns contain cards of work. type: object @@ -57904,7 +58196,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &437 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57939,7 +58231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *436 + - *435 requestBody: required: true content: @@ -57964,9 +58256,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '304': *35 '403': *27 '401': *23 @@ -57991,7 +58283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *436 + - *435 responses: '204': description: Response @@ -58020,7 +58312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *436 + - *435 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -58041,7 +58333,7 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: default: value: @@ -58100,7 +58392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *436 + - *435 requestBody: required: true content: @@ -58144,9 +58436,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '304': *35 '403': *27 '401': *23 @@ -58202,7 +58494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *436 + - *435 requestBody: required: true content: @@ -58263,15 +58555,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *428 + - *427 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: - default: &439 + default: &438 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58328,7 +58620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *428 + - *427 requestBody: required: false content: @@ -58377,9 +58669,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: - default: *439 + default: *438 '404': description: Not Found if the authenticated user does not have access to the project @@ -58400,7 +58692,7 @@ paths: items: type: string '401': *23 - '410': *440 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -58423,7 +58715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *428 + - *427 responses: '204': description: Delete Success @@ -58444,7 +58736,7 @@ paths: items: type: string '401': *23 - '410': *440 + '410': *439 '404': *6 x-github: githubCloudOnly: false @@ -58468,7 +58760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *428 + - *427 - 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 @@ -58525,7 +58817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *428 + - *427 - *178 requestBody: required: false @@ -58580,7 +58872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *428 + - *427 - *178 responses: '204': @@ -58612,7 +58904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *428 + - *427 - *178 responses: '200': @@ -58683,7 +58975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *428 + - *427 - *17 - *19 responses: @@ -58693,7 +58985,7 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: default: value: @@ -58731,7 +59023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *428 + - *427 requestBody: required: true content: @@ -58755,7 +59047,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: default: value: @@ -58820,7 +59112,7 @@ paths: resources: type: object properties: - core: &441 + core: &440 title: Rate Limit type: object properties: @@ -58837,21 +59129,21 @@ paths: - remaining - reset - used - graphql: *441 - search: *441 - code_search: *441 - source_import: *441 - integration_manifest: *441 - code_scanning_upload: *441 - actions_runner_registration: *441 - scim: *441 - dependency_snapshots: *441 - dependency_sbom: *441 - code_scanning_autofix: *441 + graphql: *440 + search: *440 + code_search: *440 + source_import: *440 + integration_manifest: *440 + code_scanning_upload: *440 + actions_runner_registration: *440 + scim: *440 + dependency_snapshots: *440 + dependency_sbom: *440 + code_scanning_autofix: *440 required: - core - search - rate: *441 + rate: *440 required: - rate - resources @@ -58956,14 +59248,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *442 + schema: *441 examples: default-response: summary: Default response @@ -59468,7 +59760,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *443 + '301': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59486,8 +59778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -59745,10 +60037,10 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 - '307': &445 + default: *443 + '307': &444 description: Temporary Redirect content: application/json: @@ -59777,8 +60069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -59800,7 +60092,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *445 + '307': *444 '404': *6 '409': *107 x-github: @@ -59824,11 +60116,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 - - &460 + - &459 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59851,7 +60143,7 @@ paths: type: integer artifacts: type: array - items: &446 + items: &445 title: Artifact description: An artifact type: object @@ -59946,7 +60238,7 @@ paths: - expires_at - updated_at examples: - default: &461 + default: &460 value: total_count: 2 artifacts: @@ -60007,9 +60299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *428 - *429 - - *430 - - &447 + - &446 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60021,7 +60313,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *445 examples: default: value: @@ -60059,9 +60351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *428 - *429 - - *430 - - *447 + - *446 responses: '204': description: Response @@ -60085,9 +60377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *428 - *429 - - *430 - - *447 + - *446 - name: archive_format in: path required: true @@ -60101,7 +60393,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': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60124,14 +60416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *448 + schema: *447 examples: default: value: @@ -60157,11 +60449,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 - - &449 + - &448 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 @@ -60195,7 +60487,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &449 title: Repository actions caches description: Repository actions caches type: object @@ -60245,7 +60537,7 @@ paths: - total_count - actions_caches examples: - default: &451 + default: &450 value: total_count: 1 actions_caches: @@ -60277,23 +60569,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: + - *428 - *429 - - *430 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *449 + - *448 responses: '200': description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60313,8 +60605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: + - *428 - *429 - - *430 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60345,9 +60637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - &452 + - &451 name: job_id description: The unique identifier of the job. in: path @@ -60359,7 +60651,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &463 title: Job description: Information of a job execution in a workflow run type: object @@ -60706,9 +60998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *452 + - *451 responses: '302': description: Response @@ -60736,9 +61028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *428 - *429 - - *430 - - *452 + - *451 requestBody: required: false content: @@ -60784,8 +61076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Status response @@ -60835,8 +61127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -60899,8 +61191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -60918,7 +61210,7 @@ paths: type: integer secrets: type: array - items: &466 + items: &465 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60939,7 +61231,7 @@ paths: - created_at - updated_at examples: - default: &467 + default: &466 value: total_count: 2 secrets: @@ -60972,9 +61264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *428 - *429 - - *430 - - *453 + - *452 - *19 responses: '200': @@ -60991,7 +61283,7 @@ paths: type: integer variables: type: array - items: &470 + items: &469 title: Actions Variable type: object properties: @@ -61025,7 +61317,7 @@ paths: - created_at - updated_at examples: - default: &471 + default: &470 value: total_count: 2 variables: @@ -61058,8 +61350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61068,7 +61360,7 @@ paths: schema: type: object properties: - enabled: &454 + enabled: &453 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 @@ -61103,8 +61395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -61115,7 +61407,7 @@ paths: schema: type: object properties: - enabled: *454 + enabled: *453 allowed_actions: *49 sha_pinning_required: *50 required: @@ -61148,14 +61440,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: &455 + schema: &454 type: object properties: access_level: @@ -61173,7 +61465,7 @@ paths: required: - access_level examples: - default: &456 + default: &455 value: access_level: organization x-github: @@ -61198,15 +61490,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 responses: '204': description: Response @@ -61230,8 +61522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61261,8 +61553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Empty response for successful settings update @@ -61296,8 +61588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61324,8 +61616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -61359,8 +61651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61388,8 +61680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -61420,8 +61712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61452,8 +61744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -61485,8 +61777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61515,8 +61807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Success response @@ -61556,8 +61848,8 @@ paths: in: query schema: type: string + - *428 - *429 - - *430 - *17 - *19 responses: @@ -61601,8 +61893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61634,8 +61926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -61709,8 +62001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *428 - *429 - - *430 responses: '201': description: Response @@ -61746,8 +62038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *428 - *429 - - *430 responses: '201': description: Response @@ -61777,8 +62069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '200': @@ -61808,8 +62100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '204': @@ -61836,8 +62128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '200': *70 @@ -61862,8 +62154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 requestBody: required: true @@ -61912,8 +62204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 requestBody: required: true @@ -61963,8 +62255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '200': *251 @@ -61994,8 +62286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 - *252 responses: @@ -62025,9 +62317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *428 - *429 - - *430 - - &474 + - &473 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. @@ -62035,7 +62327,7 @@ paths: required: false schema: type: string - - &475 + - &474 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62043,7 +62335,7 @@ paths: required: false schema: type: string - - &476 + - &475 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62052,7 +62344,7 @@ paths: required: false schema: type: string - - &477 + - &476 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 @@ -62079,7 +62371,7 @@ paths: - pending - *17 - *19 - - &478 + - &477 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -62088,7 +62380,7 @@ paths: schema: type: string format: date-time - - &457 + - &456 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62097,13 +62389,13 @@ paths: schema: type: boolean default: false - - &479 + - &478 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &480 + - &479 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62126,7 +62418,7 @@ paths: type: integer workflow_runs: type: array - items: &458 + items: &457 title: Workflow Run description: An invocation of a workflow type: object @@ -62243,7 +62535,7 @@ paths: type: - array - 'null' - items: &499 + items: &498 title: Pull Request Minimal type: object properties: @@ -62370,7 +62662,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &502 title: Simple Commit description: A commit. type: object @@ -62485,7 +62777,7 @@ paths: - workflow_url - pull_requests examples: - default: &481 + default: &480 value: total_count: 1 workflow_runs: @@ -62721,24 +63013,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *428 - *429 - - *430 - - &459 + - &458 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *457 + - *456 responses: '200': description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: &462 + default: &461 value: id: 30433642 name: Build @@ -62979,9 +63271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '204': description: Response @@ -63004,9 +63296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '200': description: Response @@ -63134,9 +63426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '201': description: Response @@ -63169,12 +63461,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *428 - *429 - - *430 - - *459 + - *458 - *17 - *19 - - *460 + - *459 responses: '200': description: Response @@ -63190,9 +63482,9 @@ paths: type: integer artifacts: type: array - items: *446 + items: *445 examples: - default: *461 + default: *460 headers: Link: *41 x-github: @@ -63216,25 +63508,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *428 - *429 - - *430 - - *459 - - &463 + - *458 + - &462 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *457 + - *456 responses: '200': description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *462 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63257,10 +63549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *428 - *429 - - *430 - - *459 - - *463 + - *458 + - *462 - *17 - *19 responses: @@ -63278,9 +63570,9 @@ paths: type: integer jobs: type: array - items: *464 + items: *463 examples: - default: &465 + default: &464 value: total_count: 1 jobs: @@ -63393,10 +63685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *428 - *429 - - *430 - - *459 - - *463 + - *458 + - *462 responses: '302': description: Response @@ -63424,9 +63716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '202': description: Response @@ -63459,9 +63751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: true content: @@ -63528,9 +63820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '202': description: Response @@ -63563,9 +63855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 - 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 @@ -63595,9 +63887,9 @@ paths: type: integer jobs: type: array - items: *464 + items: *463 examples: - default: *465 + default: *464 headers: Link: *41 x-github: @@ -63622,9 +63914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '302': description: Response @@ -63651,9 +63943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '204': description: Response @@ -63680,9 +63972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '200': description: Response @@ -63837,9 +64129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: true content: @@ -64057,9 +64349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: false content: @@ -64104,9 +64396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: false content: @@ -64161,9 +64453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '200': description: Response @@ -64300,8 +64592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -64319,9 +64611,9 @@ paths: type: integer secrets: type: array - items: *466 + items: *465 examples: - default: *467 + default: *466 headers: Link: *41 x-github: @@ -64346,16 +64638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64377,15 +64669,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '200': description: Response content: application/json: - schema: *466 + schema: *465 examples: default: &595 value: @@ -64413,8 +64705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 requestBody: required: true @@ -64472,8 +64764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '204': @@ -64499,9 +64791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *428 - *429 - - *430 - - *453 + - *452 - *19 responses: '200': @@ -64518,9 +64810,9 @@ paths: type: integer variables: type: array - items: *470 + items: *469 examples: - default: *471 + default: *470 headers: Link: *41 x-github: @@ -64543,8 +64835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -64596,15 +64888,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *428 - *429 - - *430 - *257 responses: '200': description: Response content: application/json: - schema: *470 + schema: *469 examples: default: &596 value: @@ -64632,8 +64924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *428 - *429 - - *430 - *257 requestBody: required: true @@ -64676,8 +64968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *428 - *429 - - *430 - *257 responses: '204': @@ -64703,8 +64995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -64722,7 +65014,7 @@ paths: type: integer workflows: type: array - items: &472 + items: &471 title: Workflow description: A GitHub Actions workflow type: object @@ -64840,9 +65132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *428 - *429 - - *430 - - &473 + - &472 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64857,7 +65149,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *471 examples: default: value: @@ -64890,9 +65182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '204': description: Response @@ -64917,9 +65209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '204': description: Response @@ -64970,9 +65262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '204': description: Response @@ -64999,19 +65291,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *428 - *429 - - *430 + - *472 - *473 - *474 - *475 - *476 - - *477 - *17 - *19 + - *477 + - *456 - *478 - - *457 - *479 - - *480 responses: '200': description: Response @@ -65027,9 +65319,9 @@ paths: type: integer workflow_runs: type: array - items: *458 + items: *457 examples: - default: *481 + default: *480 headers: Link: *41 x-github: @@ -65062,9 +65354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '200': description: Response @@ -65125,8 +65417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *428 - *429 - - *430 - *99 - *17 - *97 @@ -65294,8 +65586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -65332,8 +65624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *428 - *429 - - *430 - name: assignee in: path required: true @@ -65369,8 +65661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -65482,8 +65774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *428 - *429 - - *430 - *17 - *97 - *98 @@ -65539,7 +65831,7 @@ paths: initiator: type: string examples: - default: *482 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65559,8 +65851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -65568,7 +65860,7 @@ paths: application/json: schema: type: array - items: &483 + items: &482 title: Autolink reference description: An autolink reference. type: object @@ -65627,8 +65919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -65667,9 +65959,9 @@ paths: description: response content: application/json: - schema: *483 + schema: *482 examples: - default: &484 + default: &483 value: id: 1 key_prefix: TICKET- @@ -65700,9 +65992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *428 - *429 - - *430 - - &485 + - &484 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65714,9 +66006,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *482 examples: - default: *484 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -65736,9 +66028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *428 - *429 - - *430 - - *485 + - *484 responses: '204': description: Response @@ -65762,8 +66054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response if Dependabot is enabled @@ -65813,8 +66105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -65835,8 +66127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -65856,8 +66148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *428 - *429 - - *430 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65895,7 +66187,7 @@ paths: - url protected: type: boolean - protection: &487 + protection: &486 title: Branch Protection description: Branch Protection type: object @@ -65938,7 +66230,7 @@ paths: required: - contexts - checks - enforce_admins: &490 + enforce_admins: &489 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65955,7 +66247,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &492 + required_pull_request_reviews: &491 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66039,7 +66331,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &489 + restrictions: &488 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66332,9 +66624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *428 - *429 - - *430 - - &488 + - &487 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -66348,14 +66640,14 @@ paths: description: Response content: application/json: - schema: &498 + schema: &497 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &544 title: Commit description: Commit type: object @@ -66394,7 +66686,7 @@ paths: author: anyOf: - type: 'null' - - &486 + - &485 title: Git User description: Metaproperties for Git author/committer information. @@ -66415,7 +66707,7 @@ paths: committer: anyOf: - type: 'null' - - *486 + - *485 message: type: string examples: @@ -66519,7 +66811,7 @@ paths: type: integer files: type: array - items: &556 + items: &555 title: Diff Entry description: Diff Entry type: object @@ -66615,7 +66907,7 @@ paths: - self protected: type: boolean - protection: *487 + protection: *486 protection_url: type: string format: uri @@ -66724,7 +67016,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *443 + '301': *442 '404': *6 x-github: githubCloudOnly: false @@ -66746,15 +67038,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *487 + schema: *486 examples: default: value: @@ -66948,9 +67240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -67210,7 +67502,7 @@ paths: url: type: string format: uri - required_status_checks: &495 + required_status_checks: &494 title: Status Check Policy description: Status Check Policy type: object @@ -67369,7 +67661,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *489 + restrictions: *488 required_conversation_resolution: type: object properties: @@ -67481,9 +67773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67508,17 +67800,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: &491 + default: &490 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67540,17 +67832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: *491 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67569,9 +67861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67596,17 +67888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *492 + schema: *491 examples: - default: &493 + default: &492 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67702,9 +67994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -67802,9 +68094,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *491 examples: - default: *493 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67825,9 +68117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67854,17 +68146,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: &494 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67887,17 +68179,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: *494 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -67917,9 +68209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67944,17 +68236,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: &496 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67980,9 +68272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68034,9 +68326,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: *496 + default: *495 '404': *6 '422': *15 x-github: @@ -68058,9 +68350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -68084,9 +68376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68120,9 +68412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68189,9 +68481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68255,9 +68547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: content: application/json: @@ -68323,15 +68615,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *489 + schema: *488 examples: default: value: @@ -68422,9 +68714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -68447,9 +68739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68459,7 +68751,7 @@ paths: type: array items: *5 examples: - default: &497 + default: &496 value: - id: 1 slug: octoapp @@ -68516,9 +68808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68552,7 +68844,7 @@ paths: type: array items: *5 examples: - default: *497 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -68573,9 +68865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68609,7 +68901,7 @@ paths: type: array items: *5 examples: - default: *497 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -68630,9 +68922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68666,7 +68958,7 @@ paths: type: array items: *5 examples: - default: *497 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -68688,9 +68980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68700,7 +68992,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -68720,9 +69012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68760,7 +69052,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -68781,9 +69073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68821,7 +69113,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -68842,9 +69134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: content: application/json: @@ -68881,7 +69173,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -68903,9 +69195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68939,9 +69231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68999,9 +69291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -69059,9 +69351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -69121,9 +69413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -69145,7 +69437,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *497 examples: default: value: @@ -69259,8 +69551,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *428 - *429 - - *430 - *92 - *93 - *94 @@ -69296,8 +69588,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *428 - *429 - - *430 - name: bypass_request_number in: path required: true @@ -69370,8 +69662,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - *92 - *93 - *94 @@ -69411,8 +69703,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - name: bypass_request_number in: path required: true @@ -69482,8 +69774,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - name: bypass_request_number in: path required: true @@ -69554,8 +69846,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - name: bypass_response_id in: path required: true @@ -69588,8 +69880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -69868,7 +70160,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &499 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70003,7 +70295,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *499 + items: *498 deployment: &818 title: Deployment description: A deployment created as the result of an Actions @@ -70291,9 +70583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *428 - *429 - - *430 - - &501 + - &500 name: check_run_id description: The unique identifier of the check run. in: path @@ -70305,9 +70597,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *499 examples: - default: &502 + default: &501 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70407,9 +70699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *428 - *429 - - *430 - - *501 + - *500 requestBody: required: true content: @@ -70649,9 +70941,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *499 examples: - default: *502 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70671,9 +70963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *428 - *429 - - *430 - - *501 + - *500 - *17 - *19 responses: @@ -70783,9 +71075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *428 - *429 - - *430 - - *501 + - *500 responses: '201': description: Response @@ -70829,8 +71121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -70852,7 +71144,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &503 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70934,7 +71226,7 @@ paths: type: - array - 'null' - items: *499 + items: *498 app: anyOf: - type: 'null' @@ -70950,7 +71242,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *502 latest_check_runs_count: type: integer check_runs_url: @@ -70978,7 +71270,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &504 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71269,9 +71561,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *503 examples: - default: *505 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71290,8 +71582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -71600,9 +71892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *428 - *429 - - *430 - - &506 + - &505 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71614,9 +71906,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *503 examples: - default: *505 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71639,17 +71931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *428 - *429 - - *430 - - *506 - - &551 + - *505 + - &550 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &551 name: status description: Returns check runs with the specified `status`. in: query @@ -71688,9 +71980,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *499 examples: - default: &553 + default: &552 value: total_count: 1 check_runs: @@ -71792,9 +72084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *428 - *429 - - *430 - - *506 + - *505 responses: '201': description: Response @@ -71827,21 +72119,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *428 - *429 - - *430 - *275 - *276 - *19 - *17 - - &522 + - &521 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: *507 - - &523 + schema: *506 + - &522 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71872,7 +72164,7 @@ paths: be returned. in: query required: false - schema: *508 + schema: *507 responses: '200': description: Response @@ -71888,7 +72180,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *509 + instances_url: *508 state: *102 fixed_at: *119 dismissed_by: @@ -71896,11 +72188,11 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 - rule: *512 - tool: *513 - most_recent_instance: *514 + dismissed_reason: *509 + dismissed_comment: *510 + rule: *511 + tool: *512 + most_recent_instance: *513 dismissal_approved_by: anyOf: - type: 'null' @@ -72023,7 +72315,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &514 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72050,9 +72342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - &516 + - &515 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72066,7 +72358,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &516 type: object properties: number: *109 @@ -72074,7 +72366,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *509 + instances_url: *508 state: *102 fixed_at: *119 dismissed_by: @@ -72082,8 +72374,8 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *509 + dismissed_comment: *510 rule: type: object properties: @@ -72145,8 +72437,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *512 + most_recent_instance: *513 dismissal_approved_by: anyOf: - type: 'null' @@ -72242,7 +72534,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72262,9 +72554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 requestBody: required: true content: @@ -72279,8 +72571,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *509 + dismissed_comment: *510 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72299,7 +72591,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *516 examples: default: value: @@ -72375,7 +72667,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &520 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72402,15 +72694,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 responses: '200': description: Response content: application/json: - schema: &518 + schema: &517 type: object properties: status: @@ -72437,13 +72729,13 @@ paths: - description - started_at examples: - default: &519 + default: &518 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &519 description: Bad Request content: application/json: @@ -72454,7 +72746,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': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72479,29 +72771,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 responses: '200': description: OK content: application/json: - schema: *518 + schema: *517 examples: - default: *519 + default: *518 '202': description: Accepted content: application/json: - schema: *518 + schema: *517 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *519 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72533,9 +72825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 requestBody: required: false content: @@ -72581,8 +72873,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *519 + '403': *520 '404': *6 '422': description: Unprocessable Entity @@ -72606,13 +72898,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 - *19 - *17 + - *521 - *522 - - *523 responses: '200': description: Response @@ -72620,7 +72912,7 @@ paths: application/json: schema: type: array - items: *514 + items: *513 examples: default: value: @@ -72659,7 +72951,7 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72693,25 +72985,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *428 - *429 - - *430 - *275 - *276 - *19 - *17 - - *523 + - *522 - 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: *507 + schema: *506 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &525 type: string description: An identifier for the upload. examples: @@ -72733,23 +73025,23 @@ paths: application/json: schema: type: array - items: &527 + items: &526 type: object properties: - ref: *507 - commit_sha: &535 + ref: *506 + commit_sha: &534 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: *524 + analysis_key: *523 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *524 error: type: string examples: @@ -72774,8 +73066,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *525 + tool: *512 deletable: type: boolean warning: @@ -72837,7 +73129,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72873,8 +73165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: + - *428 - *429 - - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72887,7 +73179,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *526 examples: response: summary: application/json response @@ -72941,7 +73233,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *514 '404': *6 '422': description: Response if analysis could not be processed @@ -73028,8 +73320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: + - *428 - *429 - - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73085,7 +73377,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': *521 + '403': *520 '404': *6 '503': *163 x-github: @@ -73107,8 +73399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -73116,7 +73408,7 @@ paths: application/json: schema: type: array - items: &528 + items: &527 title: CodeQL Database description: A CodeQL database. type: object @@ -73228,7 +73520,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': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -73257,8 +73549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *428 - *429 - - *430 - name: language in: path description: The language of the CodeQL database. @@ -73270,7 +73562,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *527 examples: default: value: @@ -73302,9 +73594,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': &558 + '302': &557 description: Found - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -73326,8 +73618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *428 - *429 - - *430 - name: language in: path description: The language of the CodeQL database. @@ -73337,7 +73629,7 @@ paths: responses: '204': description: Response - '403': *521 + '403': *520 '404': *6 '503': *163 x-github: @@ -73365,8 +73657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -73375,7 +73667,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &528 type: string description: The language targeted by the CodeQL query enum: @@ -73454,7 +73746,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &532 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73464,7 +73756,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *529 + query_language: *528 query_pack_url: type: string description: The download url for the query pack. @@ -73512,7 +73804,7 @@ paths: items: type: object properties: - repository: &530 + repository: &529 title: Repository Identifier description: Repository Identifier type: object @@ -73554,7 +73846,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &533 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73586,7 +73878,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &531 + access_mismatch_repos: &530 type: object properties: repository_count: @@ -73601,7 +73893,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: *530 + items: *529 required: - repository_count - repositories @@ -73624,8 +73916,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *530 + over_limit_repos: *530 required: - access_mismatch_repos - not_found_repos @@ -73641,7 +73933,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &531 summary: Default response value: id: 1 @@ -73793,10 +74085,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *531 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *531 '404': *6 '422': description: Unable to process variant analysis submission @@ -73824,8 +74116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: + - *428 - *429 - - *430 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73837,9 +74129,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *532 examples: - default: *532 + default: *531 '404': *6 '503': *163 x-github: @@ -73862,7 +74154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *429 + - *428 - name: repo in: path description: The name of the controller repository. @@ -73897,7 +74189,7 @@ paths: type: object properties: repository: *108 - analysis_status: *534 + analysis_status: *533 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74022,8 +74314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -74116,7 +74408,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -74137,8 +74429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -74232,7 +74524,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *520 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74303,8 +74595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -74312,7 +74604,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *534 ref: type: string description: |- @@ -74372,7 +74664,7 @@ paths: schema: type: object properties: - id: *526 + id: *525 url: type: string description: The REST API URL for checking the status of the upload. @@ -74386,7 +74678,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': *521 + '403': *520 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74409,8 +74701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *428 - *429 - - *430 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74458,7 +74750,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': *515 + '403': *514 '404': description: Not Found if the sarif id does not match any upload '503': *163 @@ -74483,8 +74775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -74565,8 +74857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *428 - *429 - - *430 - 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 @@ -74694,8 +74986,8 @@ paths: parameters: - *17 - *19 + - *428 - *429 - - *430 responses: '200': description: Response @@ -74711,7 +75003,7 @@ paths: type: integer codespaces: type: array - items: *335 + items: *334 examples: default: value: @@ -75009,8 +75301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -75074,17 +75366,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '400': *14 '401': *23 '403': *27 @@ -75113,8 +75405,8 @@ paths: parameters: - *17 - *19 + - *428 - *429 - - *430 responses: '200': description: Response @@ -75178,8 +75470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *428 - *429 - - *430 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75216,7 +75508,7 @@ paths: type: integer machines: type: array - items: *537 + items: *536 examples: default: &771 value: @@ -75258,8 +75550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *428 - *429 - - *430 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75346,8 +75638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: + - *428 - *429 - - *430 - 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 @@ -75416,8 +75708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -75435,7 +75727,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &540 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75456,7 +75748,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *537 headers: Link: *41 x-github: @@ -75479,16 +75771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *539 + schema: *538 examples: - default: *540 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75508,17 +75800,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '200': description: Response content: application/json: - schema: *541 + schema: *540 examples: - default: *542 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75538,8 +75830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 requestBody: required: true @@ -75592,8 +75884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '204': @@ -75622,8 +75914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *428 - *429 - - *430 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75661,7 +75953,7 @@ paths: application/json: schema: type: array - items: &543 + items: &542 title: Collaborator description: Collaborator type: object @@ -75854,8 +76146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *428 - *429 - - *430 - *178 responses: '204': @@ -75902,8 +76194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *428 - *429 - - *430 - *178 requestBody: required: false @@ -76158,8 +76450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *428 - *429 - - *430 - *178 responses: '204': @@ -76191,8 +76483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *428 - *429 - - *430 - *178 responses: '200': @@ -76213,7 +76505,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *542 required: - permission - role_name @@ -76267,8 +76559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -76278,7 +76570,7 @@ paths: application/json: schema: type: array - items: &544 + items: &543 title: Commit Comment description: Commit Comment type: object @@ -76336,7 +76628,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &546 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76395,17 +76687,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 responses: '200': description: Response content: application/json: - schema: *544 + schema: *543 examples: - default: &548 + default: &547 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76462,8 +76754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -76486,7 +76778,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *543 examples: default: value: @@ -76537,8 +76829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 responses: '204': @@ -76560,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -76588,9 +76880,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -76611,8 +76903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -76645,16 +76937,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -76676,10 +76968,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *428 - *429 - - *430 - *194 - - *421 + - *420 responses: '204': description: Response @@ -76728,8 +77020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *428 - *429 - - *430 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76785,7 +77077,7 @@ paths: application/json: schema: type: array - items: *545 + items: *544 examples: default: &662 value: @@ -76881,9 +77173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *428 - *429 - - *430 - - &546 + - &545 name: commit_sha description: The SHA of the commit. in: path @@ -76955,9 +77247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *428 - *429 - - *430 - - *546 + - *545 - *17 - *19 responses: @@ -76967,9 +77259,9 @@ paths: application/json: schema: type: array - items: *544 + items: *543 examples: - default: *547 + default: *546 headers: Link: *41 x-github: @@ -76997,9 +77289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *428 - *429 - - *430 - - *546 + - *545 requestBody: required: true content: @@ -77034,9 +77326,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *543 examples: - default: *548 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77064,9 +77356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *428 - *429 - - *430 - - *546 + - *545 - *17 - *19 responses: @@ -77076,7 +77368,7 @@ paths: application/json: schema: type: array - items: *549 + items: *548 examples: default: &654 value: @@ -77615,11 +77907,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *428 - *429 - - *430 - *19 - *17 - - &550 + - &549 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)" @@ -77634,7 +77926,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *544 examples: default: &642 value: @@ -77749,11 +78041,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *428 - *429 - - *430 + - *549 - *550 - *551 - - *552 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77787,9 +78079,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *499 examples: - default: *553 + default: *552 headers: Link: *41 x-github: @@ -77814,9 +78106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *428 - *429 - - *430 - - *550 + - *549 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77824,7 +78116,7 @@ paths: schema: type: integer example: 1 - - *551 + - *550 - *17 - *19 responses: @@ -77842,7 +78134,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *503 examples: default: value: @@ -78042,9 +78334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *428 - *429 - - *430 - - *550 + - *549 - *17 - *19 responses: @@ -78246,9 +78538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *428 - *429 - - *430 - - *550 + - *549 - *17 - *19 responses: @@ -78339,7 +78631,7 @@ paths: site_admin: false headers: Link: *41 - '301': *443 + '301': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78367,8 +78659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -78401,11 +78693,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *553 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &554 title: Community Health File type: object properties: @@ -78425,19 +78717,19 @@ paths: contributing: anyOf: - type: 'null' - - *555 + - *554 readme: anyOf: - type: 'null' - - *555 + - *554 issue_template: anyOf: - type: 'null' - - *555 + - *554 pull_request_template: anyOf: - type: 'null' - - *555 + - *554 required: - code_of_conduct - code_of_conduct_file @@ -78566,8 +78858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *428 - *429 - - *430 - *19 - *17 - name: basehead @@ -78615,8 +78907,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *544 + merge_base_commit: *544 status: type: string enum: @@ -78640,10 +78932,10 @@ paths: - 6 commits: type: array - items: *545 + items: *544 files: type: array - items: *556 + items: *555 required: - url - html_url @@ -78929,8 +79221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *428 - *429 - - *430 - name: path description: path parameter in: path @@ -79083,7 +79375,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &556 summary: Response if content is a file value: type: file @@ -79438,7 +79730,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *556 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79507,7 +79799,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *557 '304': *35 x-github: githubCloudOnly: false @@ -79530,8 +79822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *428 - *429 - - *430 - name: path description: path parameter in: path @@ -79626,7 +79918,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &558 title: File Commit description: File Commit type: object @@ -79782,7 +80074,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *558 examples: example-for-creating-a-file: value: @@ -79889,8 +80181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *428 - *429 - - *430 - name: path description: path parameter in: path @@ -79951,7 +80243,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *558 examples: default: value: @@ -80006,8 +80298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *428 - *429 - - *430 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80131,8 +80423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *428 - *429 - - *430 - *292 - *293 - *294 @@ -80144,9 +80436,9 @@ paths: schema: type: string - *296 + - *559 - *297 - *298 - - *299 - *99 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -80166,8 +80458,8 @@ paths: default: 30 - *97 - *98 + - *299 - *300 - - *301 responses: '200': description: Response @@ -80486,8 +80778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *428 - *429 - - *430 - &563 name: alert_number in: path @@ -80616,8 +80908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *428 - *429 - - *430 - *563 requestBody: required: true @@ -80792,8 +81084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -80865,8 +81157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -80894,8 +81186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '200': @@ -80928,8 +81220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 requestBody: required: true @@ -80982,8 +81274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '204': @@ -81006,8 +81298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: + - *428 - *429 - - *430 - 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 @@ -81181,8 +81473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -81442,8 +81734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -81712,8 +82004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *428 - *429 - - *430 - name: sha description: The SHA recorded at creation time. in: query @@ -81822,8 +82114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -81978,8 +82270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *428 - *429 - - *430 - &570 name: deployment_id description: deployment_id parameter @@ -82057,8 +82349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *428 - *429 - - *430 - *570 responses: '204': @@ -82081,8 +82373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *428 - *429 - - *430 - *570 - *17 - *19 @@ -82257,8 +82549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *428 - *429 - - *430 - *570 requestBody: required: true @@ -82392,8 +82684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *428 - *429 - - *430 - *570 - name: status_id in: path @@ -82434,8 +82726,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - *573 - *574 - *575 @@ -82475,8 +82767,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82544,8 +82836,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82604,8 +82896,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - *92 - *93 - *94 @@ -82646,8 +82938,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82717,8 +83009,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82787,8 +83079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -82845,8 +83137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -83112,8 +83404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *428 - *429 - - *430 - &584 name: environment_name in: path @@ -83213,8 +83505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *428 - *429 - - *430 - *584 requestBody: required: false @@ -83297,8 +83589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *428 - *429 - - *430 - *584 responses: '204': @@ -83324,8 +83616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *428 - *429 - - *430 - *584 - *17 - *19 @@ -83406,8 +83698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 requestBody: required: true @@ -83500,8 +83792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 - &590 name: branch_policy_id @@ -83536,8 +83828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 - *590 requestBody: @@ -83589,8 +83881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 - *590 responses: @@ -83618,8 +83910,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *584 - - *430 - *429 + - *428 responses: '200': description: List of deployment protection rules @@ -83762,8 +84054,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *584 - - *430 - *429 + - *428 requestBody: content: application/json: @@ -83822,8 +84114,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *584 - - *430 - *429 + - *428 - *19 - *17 responses: @@ -83878,8 +84170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *428 - *429 - - *430 - *584 - &594 name: protection_rule_id @@ -83917,8 +84209,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *584 - - *430 - *429 + - *428 - *594 responses: '204': @@ -83945,8 +84237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *428 - *429 - - *430 - *584 - *17 - *19 @@ -83965,9 +84257,9 @@ paths: type: integer secrets: type: array - items: *466 + items: *465 examples: - default: *467 + default: *466 headers: Link: *41 x-github: @@ -83992,17 +84284,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *428 - *429 - - *430 - *584 responses: '200': description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84024,8 +84316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *428 - *429 - - *430 - *584 - *254 responses: @@ -84033,7 +84325,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: *595 x-github: @@ -84057,8 +84349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *428 - *429 - - *430 - *584 - *254 requestBody: @@ -84117,8 +84409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *428 - *429 - - *430 - *584 - *254 responses: @@ -84145,10 +84437,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *428 - *429 - - *430 - *584 - - *453 + - *452 - *19 responses: '200': @@ -84165,9 +84457,9 @@ paths: type: integer variables: type: array - items: *470 + items: *469 examples: - default: *471 + default: *470 headers: Link: *41 x-github: @@ -84190,8 +84482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *428 - *429 - - *430 - *584 requestBody: required: true @@ -84244,8 +84536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *428 - *429 - - *430 - *584 - *257 responses: @@ -84253,7 +84545,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *469 examples: default: *596 x-github: @@ -84276,8 +84568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *428 - *429 - - *430 - *257 - *584 requestBody: @@ -84321,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *428 - *429 - - *430 - *257 - *584 responses: @@ -84346,8 +84638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -84424,8 +84716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *428 - *429 - - *430 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84584,8 +84876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -84618,9 +84910,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 '400': *14 '422': *15 '403': *27 @@ -84641,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -84727,8 +85019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *428 - *429 - - *430 - name: file_sha in: path required: true @@ -84828,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85165,9 +85457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *428 - *429 - - *430 - - *546 + - *545 responses: '200': description: Response @@ -85229,8 +85521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *428 - *429 - - *430 - &599 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -85324,8 +85616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *428 - *429 - - *430 - *599 responses: '200': @@ -85363,8 +85655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85421,8 +85713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *428 - *429 - - *430 - *599 requestBody: required: true @@ -85472,8 +85764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *428 - *429 - - *430 - *599 responses: '204': @@ -85529,8 +85821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85736,8 +86028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *428 - *429 - - *430 - name: tag_sha in: path required: true @@ -85774,8 +86066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85951,8 +86243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *428 - *429 - - *430 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86034,8 +86326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -86185,8 +86477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -86289,9 +86581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '200': description: Response @@ -86319,9 +86611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 requestBody: required: true content: @@ -86389,9 +86681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '204': description: Response @@ -86415,9 +86707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '200': description: Response @@ -86444,9 +86736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *428 - *429 - - *430 - - *307 + - *306 requestBody: required: false content: @@ -86490,11 +86782,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 - *17 - - *308 + - *307 responses: '200': description: Response @@ -86502,9 +86794,9 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: - default: *310 + default: *309 '400': *14 '422': *15 x-github: @@ -86523,18 +86815,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 '400': *14 '422': *15 x-github: @@ -86553,9 +86845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 - *16 responses: '202': *37 @@ -86578,9 +86870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '204': description: Response @@ -86605,9 +86897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '204': description: Response @@ -86617,6 +86909,99 @@ 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/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *428 + - *429 + 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 + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository + owner. + examples: + - false + 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: + - *428 + - *429 + responses: + '204': *129 + '409': *107 + 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/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases + parameters: + - *428 + - *429 + responses: + '204': *129 + '409': *107 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -86665,8 +87050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -86824,8 +87209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -86926,8 +87311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -87050,8 +87435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -87081,8 +87466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *428 - *429 - - *430 - &793 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -87176,8 +87561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *428 - *429 - - *430 - name: author_id in: path required: true @@ -87244,8 +87629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -87314,8 +87699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -87369,8 +87754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -87379,7 +87764,7 @@ paths: schema: *20 examples: default: *612 - '301': *443 + '301': *442 '404': *6 x-github: githubCloudOnly: false @@ -87399,8 +87784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -87408,7 +87793,7 @@ paths: application/json: schema: anyOf: - - *325 + - *324 - type: object properties: {} additionalProperties: false @@ -87438,8 +87823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -87456,7 +87841,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: default: *614 '409': @@ -87480,8 +87865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -87504,8 +87889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -87648,9 +88033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *428 - *429 - - *430 - - *329 + - *328 requestBody: required: false content: @@ -87810,9 +88195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *428 - *429 - - *430 - - *329 + - *328 responses: '204': description: Response @@ -87843,8 +88228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *428 - *429 - - *430 - 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 @@ -87892,7 +88277,7 @@ paths: required: false schema: type: string - - *333 + - *332 - name: sort description: What to sort results by. in: query @@ -88065,7 +88450,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *443 + '301': *442 '422': *15 '404': *6 x-github: @@ -88094,8 +88479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -88343,7 +88728,7 @@ paths: '422': *15 '503': *163 '404': *6 - '410': *440 + '410': *439 x-github: triggersNotification: true githubCloudOnly: false @@ -88371,8 +88756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *428 - *429 - - *430 - *204 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -88453,8 +88838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 responses: '200': @@ -88517,8 +88902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -88561,8 +88946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 responses: '204': @@ -88583,8 +88968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -88611,9 +88996,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -88634,8 +89019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -88668,16 +89053,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -88699,10 +89084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *428 - *429 - - *430 - *194 - - *421 + - *420 responses: '204': description: Response @@ -88722,8 +89107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -89072,8 +89457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *428 - *429 - - *430 - name: event_id in: path required: true @@ -89277,7 +89662,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *440 + '410': *439 '403': *27 x-github: githubCloudOnly: false @@ -89311,8 +89696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *428 - *429 - - *430 - &620 name: issue_number description: The number that identifies the issue. @@ -89328,9 +89713,9 @@ paths: schema: *195 examples: default: *619 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 '304': *35 x-github: githubCloudOnly: false @@ -89355,8 +89740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -89482,9 +89867,9 @@ paths: '422': *15 '503': *163 '403': *27 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89502,8 +89887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -89548,8 +89933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: content: @@ -89599,8 +89984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *428 - *429 - - *430 - *620 - name: assignee in: path @@ -89641,8 +90026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *428 - *429 - - *430 - *620 - *185 - *17 @@ -89660,7 +90045,7 @@ paths: headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89689,8 +90074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -89722,7 +90107,7 @@ paths: schema: type: string '403': *27 - '410': *440 + '410': *439 '422': *15 '404': *6 x-github: @@ -89750,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -89767,9 +90152,9 @@ paths: default: *622 headers: Link: *41 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89797,8 +90182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -89829,9 +90214,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *443 + '301': *442 '403': *27 - '410': *440 + '410': *439 '422': *15 '404': *6 x-github: @@ -89862,8 +90247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *428 - *429 - - *430 - *620 - name: issue_id in: path @@ -89879,12 +90264,12 @@ paths: schema: *195 examples: default: *619 - '301': *443 + '301': *442 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *440 + '410': *439 x-github: triggersNotification: true githubCloudOnly: false @@ -89910,8 +90295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -89927,9 +90312,9 @@ paths: default: *622 headers: Link: *41 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89946,8 +90331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -90741,7 +91126,7 @@ paths: color: red headers: Link: *41 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90758,8 +91143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -90843,9 +91228,9 @@ paths: default: false headers: Link: *41 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,8 +91247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -90926,9 +91311,9 @@ paths: items: *623 examples: default: *624 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 '422': *15 x-github: githubCloudOnly: false @@ -90945,8 +91330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -91010,9 +91395,9 @@ paths: items: *623 examples: default: *624 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 '422': *15 x-github: githubCloudOnly: false @@ -91029,15 +91414,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *428 - *429 - - *430 - *620 responses: '204': description: Response - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91056,8 +91441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *428 - *429 - - *430 - *620 - name: name in: path @@ -91082,9 +91467,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91104,8 +91489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -91135,7 +91520,7 @@ paths: '204': description: Response '403': *27 - '410': *440 + '410': *439 '404': *6 '422': *15 x-github: @@ -91153,8 +91538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *428 - *429 - - *430 - *620 responses: '204': @@ -91185,8 +91570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *428 - *429 - - *430 - *620 responses: '200': @@ -91196,9 +91581,9 @@ paths: schema: *195 examples: default: *619 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91215,8 +91600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *428 - *429 - - *430 - *620 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -91243,13 +91628,13 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91267,8 +91652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91301,16 +91686,16 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -91332,10 +91717,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *428 - *429 - - *430 - *620 - - *421 + - *420 responses: '204': description: Response @@ -91364,8 +91749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91423,8 +91808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -91441,7 +91826,7 @@ paths: headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91469,8 +91854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91507,7 +91892,7 @@ paths: schema: type: string '403': *27 - '410': *440 + '410': *439 '422': *15 '404': *6 x-github: @@ -91527,8 +91912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91584,8 +91969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -92180,7 +92565,7 @@ paths: type: string comments: type: array - items: *544 + items: *543 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92455,7 +92840,7 @@ paths: headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92472,8 +92857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -92551,8 +92936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -92624,8 +93009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *428 - *429 - - *430 - &640 name: key_id description: The unique identifier of the key. @@ -92658,8 +93043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *428 - *429 - - *430 - *640 responses: '204': @@ -92680,8 +93065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -92714,8 +93099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -92785,8 +93170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *428 - *429 - - *430 - name: name in: path required: true @@ -92816,8 +93201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *428 - *429 - - *430 - name: name in: path required: true @@ -92882,8 +93267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *428 - *429 - - *430 - name: name in: path required: true @@ -92909,8 +93294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -92946,8 +93331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *428 - *429 - - *430 responses: '202': *37 '403': @@ -92975,8 +93360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -93002,9 +93387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *428 - *429 - - *430 - - *522 + - *521 responses: '200': description: Response @@ -93151,8 +93536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93217,8 +93602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93252,7 +93637,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *544 examples: default: *642 '204': @@ -93279,8 +93664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *428 - *429 - - *430 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93321,7 +93706,7 @@ paths: application/json: schema: type: array - items: *367 + items: *366 examples: default: value: @@ -93377,8 +93762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93418,7 +93803,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: &643 value: @@ -93479,8 +93864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *428 - *429 - - *430 - &644 name: milestone_number description: The number that identifies the milestone. @@ -93493,7 +93878,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: *643 '404': *6 @@ -93512,8 +93897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *428 - *429 - - *430 - *644 requestBody: required: false @@ -93552,7 +93937,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: *643 x-github: @@ -93570,8 +93955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *428 - *429 - - *430 - *644 responses: '204': @@ -93593,8 +93978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *428 - *429 - - *430 - *644 - *17 - *19 @@ -93626,8 +94011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *428 - *429 - - *430 - *645 - *646 - *185 @@ -93667,8 +94052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -93726,8 +94111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -93918,8 +94303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93999,8 +94384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -94108,8 +94493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -94135,8 +94520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -94238,8 +94623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *428 - *429 - - *430 responses: '201': description: Response @@ -94286,8 +94671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -94343,8 +94728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *428 - *429 - - *430 - name: build_id in: path required: true @@ -94377,8 +94762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -94486,8 +94871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *428 - *429 - - *430 - &653 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -94546,8 +94931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *428 - *429 - - *430 - *653 responses: '204': *129 @@ -94575,8 +94960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -94871,8 +95256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Private vulnerability reporting status @@ -94909,8 +95294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': *129 '422': *14 @@ -94931,8 +95316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': *129 '422': *14 @@ -94955,8 +95340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: + - *428 - *429 - - *430 - name: state description: Indicates the state of the projects to return. in: query @@ -94977,7 +95362,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -95017,7 +95402,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *440 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -95040,8 +95425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -95067,13 +95452,13 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: - default: *439 + default: *438 '401': *23 '403': *27 '404': *6 - '410': *440 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -95096,8 +95481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -95105,7 +95490,7 @@ paths: application/json: schema: type: array - items: *375 + items: *374 examples: default: value: @@ -95136,8 +95521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -95149,7 +95534,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *375 + items: *374 required: - properties examples: @@ -95199,8 +95584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *428 - *429 - - *430 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95260,7 +95645,7 @@ paths: application/json: schema: type: array - items: *549 + items: *548 examples: default: *654 headers: @@ -95294,8 +95679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -95491,7 +95876,7 @@ paths: milestone: anyOf: - type: 'null' - - *367 + - *366 active_lock_reason: type: - string @@ -95546,7 +95931,7 @@ paths: type: - array - 'null' - items: *343 + items: *342 head: type: object properties: @@ -95584,14 +95969,14 @@ paths: _links: type: object properties: - comments: *368 - commits: *368 - statuses: *368 - html: *368 - issue: *368 - review_comments: *368 - review_comment: *368 - self: *368 + comments: *367 + commits: *367 + statuses: *367 + html: *367 + issue: *367 + review_comments: *367 + review_comment: *367 + self: *367 required: - comments - commits @@ -96231,8 +96616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *428 - *429 - - *430 - name: sort in: query required: false @@ -96340,8 +96725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *194 responses: '200': @@ -96425,8 +96810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -96467,8 +96852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *194 responses: '204': @@ -96490,8 +96875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *428 - *429 - - *430 - *194 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -96518,9 +96903,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -96541,8 +96926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -96575,16 +96960,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -96606,10 +96991,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *428 - *429 - - *430 - *194 - - *421 + - *420 responses: '204': description: Response @@ -96652,8 +97037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *428 - *429 - - *430 - &660 name: pull_number description: The number that identifies the pull request. @@ -96704,8 +97089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -96772,8 +97157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: true @@ -96835,17 +97220,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '401': *23 '403': *27 '404': *6 @@ -96875,8 +97260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *204 - name: direction @@ -96933,8 +97318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: true @@ -97129,8 +97514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *428 - *429 - - *430 - *660 - *194 requestBody: @@ -97240,8 +97625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *17 - *19 @@ -97252,7 +97637,7 @@ paths: application/json: schema: type: array - items: *545 + items: *544 examples: default: *662 headers: @@ -97284,8 +97669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *428 - *429 - - *430 - *660 - *17 - *19 @@ -97296,7 +97681,7 @@ paths: application/json: schema: type: array - items: *556 + items: *555 examples: default: value: @@ -97334,8 +97719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *428 - *429 - - *430 - *660 responses: '204': @@ -97359,8 +97744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -97473,8 +97858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 responses: '200': @@ -97550,8 +97935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -97589,7 +97974,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *548 examples: default: value: @@ -98125,8 +98510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: true @@ -98161,7 +98546,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *548 examples: default: value: @@ -98666,8 +99051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *17 - *19 @@ -98834,8 +99219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -98991,8 +99376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - &664 name: review_id @@ -99067,8 +99452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 requestBody: @@ -99155,8 +99540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 responses: @@ -99193,8 +99578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *428 - *429 - - *430 - *660 - *664 - *17 @@ -99294,9 +99679,9 @@ paths: _links: type: object properties: - self: *368 - html: *368 - pull_request: *368 + self: *367 + html: *367 + pull_request: *367 required: - self - html @@ -99454,8 +99839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 requestBody: @@ -99549,8 +99934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 requestBody: @@ -99611,8 +99996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -99677,8 +100062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *428 - *429 - - *430 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99735,8 +100120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *428 - *429 - - *430 - name: dir description: The alternate path to look for a README file in: path @@ -99780,8 +100165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -100060,8 +100445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -100244,8 +100629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *428 - *429 - - *430 - &671 name: asset_id description: The unique identifier of the asset. @@ -100295,7 +100680,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100311,8 +100696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *428 - *429 - - *430 - *671 requestBody: required: false @@ -100360,8 +100745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *428 - *429 - - *430 - *671 responses: '204': @@ -100386,8 +100771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -100473,8 +100858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -100499,8 +100884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *428 - *429 - - *430 - name: tag description: tag parameter in: path @@ -100537,8 +100922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *428 - *429 - - *430 - &674 name: release_id description: The unique identifier of the release. @@ -100573,8 +100958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *428 - *429 - - *430 - *674 requestBody: required: false @@ -100662,8 +101047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *428 - *429 - - *430 - *674 responses: '204': @@ -100684,8 +101069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *428 - *429 - - *430 - *674 - *17 - *19 @@ -100778,8 +101163,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: + - *428 - *429 - - *430 - *674 - name: name in: query @@ -100861,8 +101246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *428 - *429 - - *430 - *674 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100887,9 +101272,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -100910,8 +101295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *428 - *429 - - *430 - *674 requestBody: required: true @@ -100942,16 +101327,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -100973,10 +101358,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *428 - *429 - - *430 - *674 - - *421 + - *420 responses: '204': description: Response @@ -101000,9 +101385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 - *17 - *19 responses: @@ -101139,8 +101524,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - *17 - *19 - name: includes_parents @@ -101206,8 +101591,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 requestBody: description: Request body required: true @@ -101316,8 +101701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *428 - *429 - - *430 - *680 - *94 - *681 @@ -101352,8 +101737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *428 - *429 - - *430 - *685 responses: '200': @@ -101390,8 +101775,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101431,8 +101816,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101514,8 +101899,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101538,8 +101923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *428 - *429 - - *430 - *17 - *19 - name: ruleset_id @@ -101557,7 +101942,7 @@ paths: type: array items: *162 examples: - default: *382 + default: *381 '404': *6 '500': *38 x-github: @@ -101576,8 +101961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101595,7 +101980,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -101650,21 +102035,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *428 - *429 - - *430 + - *383 - *384 - *385 - *386 - - *387 - *99 - *19 - *17 - *689 - *690 + - *387 - *388 - *389 - *390 - - *391 responses: '200': description: Response @@ -101788,6 +102173,10 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: default: value: @@ -101880,6 +102269,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 '404': description: Repository is public or secret scanning is disabled for the repository @@ -101905,10 +102313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 - - *391 + - *515 + - *390 responses: '200': description: Response @@ -101966,9 +102374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 requestBody: required: true content: @@ -102071,9 +102479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 - *19 - *17 responses: @@ -102209,8 +102617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -102286,8 +102694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *428 - *429 - - *430 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102408,8 +102816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *428 - *429 - - *430 - *99 - name: sort description: The property to sort the results by. @@ -102478,8 +102886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -102559,7 +102967,7 @@ paths: login: type: string description: The username of the user credited. - type: *396 + type: *395 required: - login - type @@ -102884,8 +103292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -103145,8 +103553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *428 - *429 - - *430 - *713 responses: '200': @@ -103179,8 +103587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *428 - *429 - - *430 - *713 requestBody: required: true @@ -103261,7 +103669,7 @@ paths: login: type: string description: The username of the user credited. - type: *396 + type: *395 required: - login - type @@ -103393,8 +103801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: + - *428 - *429 - - *430 - *713 responses: '202': *37 @@ -103422,17 +103830,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *428 - *429 - - *430 - *713 responses: '202': description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 '400': *14 '422': *15 '403': *27 @@ -103458,8 +103866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -103555,8 +103963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *428 - *429 - - *430 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103598,8 +104006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -103677,8 +104085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -103772,8 +104180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *428 - *429 - - *430 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103927,8 +104335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *428 - *429 - - *430 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103971,8 +104379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *428 - *429 - - *430 - name: sha in: path required: true @@ -104082,8 +104490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -104115,8 +104523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *428 - *429 - - *430 responses: '200': description: if you subscribe to the repository @@ -104195,8 +104603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -104249,8 +104657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -104270,8 +104678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -104353,8 +104761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -104419,8 +104827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -104474,8 +104882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *428 - *429 - - *430 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104512,8 +104920,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *428 - *429 - - *430 - name: ref in: path required: true @@ -104549,8 +104957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -104562,7 +104970,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 headers: Link: *41 '404': *6 @@ -104582,8 +104990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *428 - *429 - - *430 - *19 - *17 responses: @@ -104626,8 +105034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -104681,8 +105089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *428 - *429 - - *430 - &721 name: per description: The time frame to display results for. @@ -104801,8 +105209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -104896,8 +105304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -104960,8 +105368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *428 - *429 - - *430 - *721 responses: '200': @@ -105060,8 +105468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -105335,8 +105743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105359,8 +105767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -105382,8 +105790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -105409,8 +105817,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *428 - *429 - - *430 - name: ref in: path required: true @@ -105502,9 +105910,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108056,7 +108464,7 @@ paths: committer: anyOf: - type: 'null' - - *486 + - *485 comment_count: type: integer message: @@ -108090,7 +108498,7 @@ paths: committer: anyOf: - type: 'null' - - *486 + - *485 parents: type: array items: @@ -108405,7 +108813,7 @@ paths: milestone: anyOf: - type: 'null' - - *367 + - *366 comments: type: integer created_at: @@ -108468,7 +108876,7 @@ paths: timeline_url: type: string format: uri - type: *330 + type: *329 performed_via_github_app: anyOf: - type: 'null' @@ -109721,9 +110129,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -109814,16 +110222,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '201': description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 '422': *15 '403': *27 @@ -109893,7 +110301,7 @@ paths: application/json: schema: type: array - items: *412 + items: *411 examples: default: *755 headers: @@ -109958,9 +110366,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: *413 + default: *412 x-github: triggersNotification: true githubCloudOnly: false @@ -109988,15 +110396,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - *754 - - *414 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110022,7 +110430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - *754 - - *414 + - *413 requestBody: required: false content: @@ -110045,7 +110453,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: default: *756 x-github: @@ -110073,7 +110481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - *754 - - *414 + - *413 responses: '204': description: Response @@ -110103,7 +110511,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *754 - - *414 + - *413 - *99 - *17 - *19 @@ -110114,7 +110522,7 @@ paths: application/json: schema: type: array - items: *415 + items: *414 examples: default: *757 headers: @@ -110146,7 +110554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *754 - - *414 + - *413 requestBody: required: true content: @@ -110168,9 +110576,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: *416 + default: *415 x-github: triggersNotification: true githubCloudOnly: false @@ -110198,16 +110606,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 responses: '200': description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: *416 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110233,8 +110641,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -110256,7 +110664,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: default: *758 x-github: @@ -110284,8 +110692,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 responses: '204': description: Response @@ -110315,8 +110723,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -110342,9 +110750,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 x-github: @@ -110374,8 +110782,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -110407,9 +110815,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110436,7 +110844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *754 - - *414 + - *413 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -110462,9 +110870,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 x-github: @@ -110494,7 +110902,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *754 - - *414 + - *413 requestBody: required: true content: @@ -110526,9 +110934,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110562,9 +110970,9 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: - default: *328 + default: *327 headers: Link: *41 x-github: @@ -110762,7 +111170,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: response-if-user-is-a-team-maintainer: *759 '404': *6 @@ -110823,7 +111231,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: response-if-users-membership-with-team-is-now-pending: *760 '403': @@ -110898,7 +111306,7 @@ paths: application/json: schema: type: array - items: *427 + items: *426 examples: default: *761 headers: @@ -110927,13 +111335,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *754 - - *428 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *426 examples: default: *762 '404': @@ -110960,7 +111368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *754 - - *428 + - *427 requestBody: required: false content: @@ -111028,7 +111436,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *754 - - *428 + - *427 responses: '204': description: Response @@ -111067,7 +111475,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 '404': *6 @@ -111098,8 +111506,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *754 + - *428 - *429 - - *430 responses: '200': description: Alternative response with extra repository information @@ -111257,8 +111665,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *754 + - *428 - *429 - - *430 requestBody: required: false content: @@ -111309,8 +111717,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *754 + - *428 - *429 - - *430 responses: '204': description: Response @@ -111345,9 +111753,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 '403': *27 '404': *6 x-github: @@ -111435,7 +111843,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: value: @@ -112124,9 +112532,9 @@ paths: type: integer codespaces: type: array - items: *335 + items: *334 examples: - default: *336 + default: *335 '304': *35 '500': *38 '401': *23 @@ -112265,17 +112673,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '401': *23 '403': *27 '404': *6 @@ -112361,7 +112769,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *537 headers: Link: *41 x-github: @@ -112729,15 +113137,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '304': *35 '500': *38 '401': *23 @@ -112763,7 +113171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 requestBody: required: false content: @@ -112793,9 +113201,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '401': *23 '403': *27 '404': *6 @@ -112817,7 +113225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '202': *37 '304': *35 @@ -112846,7 +113254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '202': description: Response @@ -112937,7 +113345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *337 + - *336 - name: export_id in: path required: true @@ -112973,7 +113381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *337 + - *336 responses: '200': description: Response @@ -112989,7 +113397,7 @@ paths: type: integer machines: type: array - items: *537 + items: *536 examples: default: *771 '304': *35 @@ -113020,7 +113428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *337 + - *336 requestBody: required: true content: @@ -113076,11 +113484,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *442 + repository: *441 machine: anyOf: - type: 'null' - - *537 + - *536 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -113877,15 +114285,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '304': *35 '500': *38 '400': *14 @@ -113917,15 +114325,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '500': *38 '401': *23 '403': *27 @@ -113955,7 +114363,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: &783 value: @@ -115067,12 +115475,12 @@ paths: application/json: schema: anyOf: - - *325 + - *324 - type: object properties: {} additionalProperties: false examples: - default: *326 + default: *325 '204': description: Response when there are no restrictions x-github: @@ -115107,7 +115515,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: default: value: @@ -115188,7 +115596,7 @@ paths: - closed - all default: open - - *333 + - *332 - name: sort description: What to sort results by. in: query @@ -115213,7 +115621,7 @@ paths: type: array items: *195 examples: - default: *334 + default: *333 headers: Link: *41 '404': *6 @@ -115631,7 +116039,7 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: default: value: @@ -115739,7 +116147,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: default: value: @@ -115822,7 +116230,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: default: value: @@ -115890,7 +116298,7 @@ paths: application/json: schema: type: array - items: *340 + items: *339 examples: default: value: @@ -116152,7 +116560,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -116332,7 +116740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *341 + - *340 - name: exclude in: query required: false @@ -116345,7 +116753,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -116539,7 +116947,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *341 + - *340 responses: '302': description: Response @@ -116565,7 +116973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *341 + - *340 responses: '204': description: Response @@ -116594,7 +117002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *341 + - *340 - *780 responses: '204': @@ -116619,7 +117027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *341 + - *340 - *17 - *19 responses: @@ -116631,7 +117039,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 '404': *6 @@ -116720,7 +117128,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: *783 '400': *784 @@ -116743,14 +117151,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *346 - *347 - - *348 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: default: &800 value: @@ -116865,8 +117273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *346 - *347 - - *348 responses: '204': description: Response @@ -116896,8 +117304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - name: token description: package token schema: @@ -116929,8 +117337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: + - *346 - *347 - - *348 - *19 - *17 - name: state @@ -116950,7 +117358,7 @@ paths: application/json: schema: type: array - items: *349 + items: *348 examples: default: value: @@ -116999,15 +117407,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 responses: '200': description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -117043,9 +117451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 responses: '204': description: Response @@ -117075,9 +117483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 responses: '204': description: Response @@ -117135,7 +117543,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -117640,9 +118048,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117705,7 +118113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *329 + - *328 responses: '204': description: Response @@ -117728,7 +118136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *329 + - *328 responses: '204': description: Response @@ -118302,8 +118710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: + - *428 - *429 - - *430 responses: '204': description: Response if this repository is starred by you @@ -118331,8 +118739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -118356,8 +118764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -118392,7 +118800,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 '304': *35 @@ -118429,7 +118837,7 @@ paths: application/json: schema: type: array - items: *410 + items: *409 examples: default: value: @@ -118974,7 +119382,7 @@ paths: initiator: type: string examples: - default: *482 + default: *481 '201': description: Response content: @@ -119013,7 +119421,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: *783 '403': *27 @@ -119661,7 +120069,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: *783 '403': *27 @@ -119686,15 +120094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: + - *346 - *347 - - *348 - *178 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: default: *800 x-github: @@ -119717,8 +120125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: + - *346 - *347 - - *348 - *178 responses: '204': @@ -119751,8 +120159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: + - *346 - *347 - - *348 - *178 - name: token description: package token @@ -119785,8 +120193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: + - *346 - *347 - - *348 - *178 responses: '200': @@ -119795,7 +120203,7 @@ paths: application/json: schema: type: array - items: *349 + items: *348 examples: default: value: @@ -119853,16 +120261,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 - *178 responses: '200': description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -119897,10 +120305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: + - *346 - *347 - - *348 - *178 - - *350 + - *349 responses: '204': description: Response @@ -119932,10 +120340,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: + - *346 - *347 - - *348 - *178 - - *350 + - *349 responses: '204': description: Response @@ -119982,7 +120390,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -120057,9 +120465,9 @@ paths: application/json: schema: type: array - items: *362 + items: *361 examples: - default: *363 + default: *362 headers: Link: *41 '304': *35 @@ -120081,16 +120489,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *364 + - *363 - *178 responses: '200': description: Response content: application/json: - schema: *362 + schema: *361 examples: - default: *363 + default: *362 headers: Link: *41 '304': *35 @@ -120112,7 +120520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *364 + - *363 - *178 - *17 - *97 @@ -120124,9 +120532,9 @@ paths: application/json: schema: type: array - items: *365 + items: *364 examples: - default: *366 + default: *365 headers: Link: *41 '304': *35 @@ -120148,7 +120556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *364 + - *363 - *801 - *178 responses: @@ -120156,9 +120564,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *364 examples: - default: *366 + default: *365 headers: Link: *41 '304': *35 @@ -120181,7 +120589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *364 + - *363 - *178 - *97 - *98 @@ -120212,9 +120620,9 @@ paths: application/json: schema: type: array - items: *371 + items: *370 examples: - default: *372 + default: *371 headers: Link: *41 '304': *35 @@ -120236,7 +120644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *178 - - *364 + - *363 requestBody: required: true description: Details of the item to add to the project. @@ -120275,8 +120683,8 @@ paths: application/json: schema: *802 examples: - issue: *370 - pull_request: *370 + issue: *369 + pull_request: *369 '304': *35 '403': *27 '401': *23 @@ -120296,9 +120704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *364 + - *363 - *178 - - *373 + - *372 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120316,9 +120724,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 headers: Link: *41 '304': *35 @@ -120339,9 +120747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *364 + - *363 - *178 - - *373 + - *372 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120414,13 +120822,13 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - text_field: *372 - number_field: *372 - date_field: *372 - single_select_field: *372 - iteration_field: *372 + text_field: *371 + number_field: *371 + date_field: *371 + single_select_field: *371 + iteration_field: *371 '401': *23 '403': *27 '404': *6 @@ -120440,9 +120848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *364 + - *363 - *178 - - *373 + - *372 responses: '204': description: Response @@ -120690,7 +121098,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -120720,9 +121128,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120750,9 +121158,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: - default: *403 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120910,9 +121318,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *403 examples: - default: *405 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121141,7 +121549,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -124026,7 +124434,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *499 + items: *498 repository: *244 status: type: string @@ -124131,7 +124539,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *499 + items: *498 started_at: type: string format: date-time @@ -127912,7 +128320,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128244,7 +128652,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128588,7 +128996,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128947,7 +129355,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129232,7 +129640,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129521,7 +129929,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130457,11 +130865,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *375 + items: *374 old_property_values: type: array description: The old custom property values for the repository. - items: *375 + items: *374 required: - action - repository @@ -142566,7 +142974,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -143990,7 +144398,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -145265,7 +145673,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -146910,7 +147318,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -147933,7 +148341,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -149089,7 +149497,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -150124,7 +150532,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -151279,7 +151687,7 @@ webhooks: timeline_url: type: string format: uri - type: *330 + type: *329 title: description: Title of the issue type: string @@ -152297,7 +152705,7 @@ webhooks: timeline_url: type: string format: uri - type: *330 + type: *329 title: description: Title of the issue type: string @@ -153340,7 +153748,7 @@ webhooks: timeline_url: type: string format: uri - type: *330 + type: *329 title: description: Title of the issue type: string @@ -154355,7 +154763,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -155429,7 +155837,7 @@ webhooks: required: - login - id - type: *330 + type: *329 required: - id - number @@ -156744,7 +157152,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -157756,7 +158164,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -158874,7 +159282,7 @@ webhooks: format: uri user_view_type: type: string - type: *330 + type: *329 organization: *808 repository: *809 sender: *4 @@ -159786,7 +160194,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -160455,7 +160863,7 @@ webhooks: enterprise: *806 installation: *807 issue: *840 - type: *330 + type: *329 organization: *808 repository: *809 sender: *4 @@ -161634,7 +162042,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -161881,7 +162289,7 @@ webhooks: enterprise: *806 installation: *807 issue: *840 - type: *330 + type: *329 organization: *808 repository: *809 sender: *4 @@ -163887,7 +164295,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *502 required: - head_sha - head_ref @@ -169678,7 +170086,7 @@ webhooks: - closed installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -169761,7 +170169,7 @@ webhooks: - created installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -169844,7 +170252,7 @@ webhooks: - deleted installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -169967,7 +170375,7 @@ webhooks: type: string installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -170086,7 +170494,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *369 + content_type: *368 creator: *4 created_at: type: string @@ -170841,7 +171249,7 @@ webhooks: - reopened installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -178834,7 +179242,7 @@ webhooks: enum: - demilestoned enterprise: *806 - milestone: *367 + milestone: *366 number: *858 organization: *808 pull_request: &860 @@ -191080,7 +191488,7 @@ webhooks: enum: - milestoned enterprise: *806 - milestone: *367 + milestone: *366 number: *858 organization: *808 pull_request: *860 @@ -236640,6 +237048,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - *4 enterprise: *806 installation: *807 organization: *808 @@ -237883,11 +238295,11 @@ webhooks: from: type: object properties: - security_and_analysis: *376 + security_and_analysis: *375 enterprise: *806 installation: *807 organization: *808 - repository: *442 + repository: *441 sender: *4 required: - changes diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index d3dea2df3b..fb9355b705 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -5657,7 +5657,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -6764,7 +6764,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -7644,7 +7644,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -8089,7 +8089,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -10392,7 +10392,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -11531,7 +11531,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -12534,7 +12534,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -13240,7 +13240,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -29448,7 +29448,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -30286,7 +30286,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -31344,7 +31344,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -32799,7 +32799,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -59511,6 +59511,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -59678,7 +59853,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -143929,7 +144124,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": [ { @@ -143940,13 +144135,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", @@ -146314,9 +146518,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -146331,8 +146542,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -159155,7 +159366,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -160277,7 +160488,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -230081,6 +230292,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -230248,7 +230634,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -234408,6 +234814,1324 @@ } } }, + "/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" + ], + "examples": [ + "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" + ], + "examples": [ + "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", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + } + } + }, + "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", @@ -417300,6 +419024,229 @@ } } }, + "/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", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "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": { + "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/enterprise-cloud@latest//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", @@ -419905,7 +421852,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -597743,6 +599690,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } } @@ -597843,7 +599965,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] } @@ -598959,6 +601101,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -600145,6 +602462,181 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, @@ -694183,7 +696675,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -746242,7 +748734,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -987453,7 +989945,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -990535,7 +993027,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -993522,7 +996014,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -996509,7 +999001,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -999630,7 +1002122,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1002758,7 +1005250,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1007881,7 +1010373,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -1485250,38 +1487742,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1485456,15 +1488131,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1485638,42 +1488341,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1488104,15 +1490771,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1488286,42 +1491164,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1490980,38 +1493822,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1491186,15 +1494211,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1491368,42 +1494421,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1493834,15 +1496851,226 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1494016,42 +1497244,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1496276,38 +1499468,221 @@ } ] }, - "resolution_comment": { + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "push_protection_bypassed_by": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" @@ -1496482,15 +1499857,43 @@ } ] }, - "push_protection_bypassed_at": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "An optional comment when reviewing a push protection bypass." }, - "push_protection_bypass_request_reviewer": { + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { "anyOf": [ { "type": "null" @@ -1496664,42 +1500067,6 @@ ] } ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1499348,6 +1502715,181 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 5d40918339..ad5c33e3f9 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &396 + type: &395 type: string description: The type of credit the user is receiving. enum: @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &308 + - &307 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &309 + items: &308 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &310 + default: &309 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &310 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &312 + default: &311 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2535,7 +2535,8 @@ paths: organization_custom_properties: type: string description: The level of permission to grant the access - token for custom property management. + token for repository custom properties management at the + organization level. enum: - read - write @@ -12982,7 +12983,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &508 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13018,7 +13019,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &509 type: - string - 'null' @@ -13029,14 +13030,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &510 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &511 type: object properties: id: @@ -13097,7 +13098,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &512 type: object properties: name: *100 @@ -13108,15 +13109,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &514 + most_recent_instance: &513 type: object properties: - ref: &507 + ref: &506 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &523 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13127,7 +13128,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &524 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15532,7 +15533,7 @@ paths: parent: anyOf: - type: 'null' - - &343 + - &342 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16718,7 +16719,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 - - &297 + - &559 name: has in: query description: |- @@ -16732,7 +16733,7 @@ paths: type: string enum: - patch - - &298 + - &297 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16742,7 +16743,7 @@ paths: enum: - development - runtime - - &299 + - &298 name: sort in: query description: |- @@ -16760,7 +16761,7 @@ paths: - *99 - *97 - *98 - - &300 + - &299 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16773,7 +16774,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &301 + - &300 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16793,7 +16794,7 @@ paths: application/json: schema: type: array - items: &302 + items: &301 type: object description: A Dependabot alert. properties: @@ -17123,7 +17124,7 @@ paths: - repository additionalProperties: false examples: - default: &303 + default: &302 value: - number: 2 state: dismissed @@ -17652,7 +17653,7 @@ paths: - name - created_on examples: - default: &406 + default: &405 value: total_count: 2 network_configurations: @@ -17875,7 +17876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &407 + - &406 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17887,7 +17888,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &407 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17926,7 +17927,7 @@ paths: - subnet_id - region examples: - default: &409 + default: &408 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -18232,7 +18233,7 @@ paths: required: true content: application/json: - schema: &374 + schema: &373 title: Custom Property Set Payload description: Custom property set payload type: object @@ -19306,7 +19307,7 @@ paths: conditions: anyOf: - *132 - - &379 + - &378 title: Organization ruleset conditions type: object description: |- @@ -19715,7 +19716,7 @@ paths: type: string format: date-time examples: - default: &382 + default: &381 value: - version_id: 3 actor: @@ -19768,7 +19769,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &382 allOf: - *162 - type: object @@ -19823,7 +19824,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &384 + - &383 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19834,7 +19835,7 @@ paths: enum: - open - resolved - - &385 + - &384 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19844,7 +19845,7 @@ paths: required: false schema: type: string - - &386 + - &385 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19853,7 +19854,7 @@ paths: required: false schema: type: string - - &387 + - &386 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. @@ -19869,7 +19870,7 @@ paths: - *17 - *97 - *98 - - &388 + - &387 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19878,7 +19879,7 @@ paths: required: false schema: type: string - - &389 + - &388 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19887,7 +19888,7 @@ paths: schema: type: boolean default: false - - &390 + - &389 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19896,7 +19897,7 @@ paths: schema: type: boolean default: false - - &391 + - &390 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19912,7 +19913,7 @@ paths: application/json: schema: type: array - items: &392 + items: &391 type: object properties: number: *109 @@ -20337,8 +20338,12 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: &393 + default: &392 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20494,6 +20499,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 headers: Link: *41 '404': *6 @@ -20528,7 +20552,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &393 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20615,7 +20639,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *164 examples: - default: &395 + default: &394 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20759,7 +20783,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &396 type: object properties: total_minutes_used: @@ -20829,7 +20853,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &398 + default: &397 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20860,7 +20884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &399 + - &398 name: advanced_security_product in: query description: | @@ -20880,7 +20904,7 @@ paths: description: Success content: application/json: - schema: &400 + schema: &399 type: object properties: total_advanced_security_committers: @@ -20943,7 +20967,7 @@ paths: required: - repositories examples: - default: &401 + default: &400 value: total_advanced_security_committers: 2 total_count: 2 @@ -21557,7 +21581,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &401 type: object properties: total_gigabytes_bandwidth_used: @@ -21575,7 +21599,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &403 + default: &402 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21816,7 +21840,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &403 type: object properties: days_left_in_billing_cycle: @@ -21834,7 +21858,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &405 + default: &404 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22794,7 +22818,7 @@ paths: milestone: anyOf: - type: 'null' - - &367 + - &366 title: Milestone description: A collection of related issues and pull requests. @@ -22966,7 +22990,7 @@ paths: timeline_url: type: string format: uri - type: &330 + type: &329 title: Issue Type description: The type of issue. type: @@ -25680,7 +25704,7 @@ paths: - closed - all default: open - - &333 + - &332 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -25731,7 +25755,7 @@ paths: type: array items: *195 examples: - default: &334 + default: &333 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27143,14 +27167,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &429 + - &428 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &430 + - &429 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -27221,7 +27245,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &443 + '301': &442 description: Moved permanently content: application/json: @@ -27632,7 +27656,7 @@ paths: type: boolean examples: - false - security_and_analysis: &376 + security_and_analysis: &375 type: - object - 'null' @@ -29812,7 +29836,7 @@ paths: type: integer repository_cache_usages: type: array - items: &448 + items: &447 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -32779,7 +32803,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &467 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -32814,7 +32838,7 @@ paths: - key_id - key examples: - default: &469 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33227,7 +33251,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &453 + - &452 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -34400,7 +34424,7 @@ paths: initiator: type: string examples: - default: &482 + default: &481 value: attestations: - bundle: @@ -35316,7 +35340,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &507 type: string description: Severity of a code scanning alert. enum: @@ -36332,7 +36356,7 @@ paths: type: integer codespaces: type: array - items: &335 + items: &334 type: object title: Codespace description: A codespace. @@ -36367,7 +36391,7 @@ paths: machine: anyOf: - type: 'null' - - &537 + - &536 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -36654,7 +36678,7 @@ paths: - pulls_url - recent_folders examples: - default: &336 + default: &335 value: total_count: 3 codespaces: @@ -37319,7 +37343,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &537 value: total_count: 2 secrets: @@ -37357,7 +37381,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &538 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37392,7 +37416,7 @@ paths: - key_id - key examples: - default: &540 + default: &539 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37424,7 +37448,7 @@ paths: application/json: schema: *286 examples: - default: &542 + default: &541 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38999,14 +39023,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 - *297 - *298 - - *299 - *99 - *97 - *98 + - *299 - *300 - - *301 - *17 responses: '200': @@ -39015,9 +39060,9 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: - default: *303 + default: *302 '304': *35 '400': *14 '403': *27 @@ -39061,7 +39106,7 @@ paths: type: integer secrets: type: array - items: &304 + items: &303 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -39189,7 +39234,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *303 examples: default: value: @@ -39254,9 +39299,13 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -39266,8 +39315,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -40037,7 +40086,7 @@ paths: application/json: schema: type: array - items: &345 + items: &344 title: Package description: A software package type: object @@ -40108,7 +40157,7 @@ paths: - created_at - updated_at examples: - default: &346 + default: &345 value: - id: 197 name: hello_docker @@ -40292,7 +40341,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &423 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40382,7 +40431,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &425 + default: &424 value: group_id: '123' group_name: Octocat admins @@ -40437,7 +40486,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &421 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40477,7 +40526,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &423 + default: &422 value: groups: - group_id: '123' @@ -40521,7 +40570,7 @@ paths: application/json: schema: type: array - items: &327 + items: &326 title: Organization Invitation description: Organization Invitation type: object @@ -40575,7 +40624,7 @@ paths: - invitation_teams_url - node_id examples: - default: &328 + default: &327 value: - id: 1 login: monalisa @@ -40642,7 +40691,7 @@ paths: application/json: schema: type: array - items: &377 + items: &376 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40656,7 +40705,7 @@ paths: - name - description examples: - default: &378 + default: &377 value: - name: add_assignee description: Assign or remove a user @@ -40697,7 +40746,7 @@ paths: application/json: schema: type: array - items: &305 + items: &304 title: Org Hook description: Org Hook type: object @@ -40880,9 +40929,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - default: &306 + default: &305 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -40927,7 +40976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &307 + - &306 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. @@ -40940,9 +40989,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - default: *306 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -40964,7 +41013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *307 + - *306 requestBody: required: false content: @@ -41010,7 +41059,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: default: value: @@ -41050,7 +41099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *307 + - *306 responses: '204': description: Response @@ -41076,7 +41125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *307 + - *306 responses: '200': description: Response @@ -41105,7 +41154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *307 + - *306 requestBody: required: false content: @@ -41154,9 +41203,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *307 + - *306 - *17 - - *308 + - *307 responses: '200': description: Response @@ -41164,9 +41213,9 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: - default: *310 + default: *309 '400': *14 '422': *15 x-github: @@ -41190,16 +41239,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *307 + - *306 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 '400': *14 '422': *15 x-github: @@ -41223,7 +41272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *307 + - *306 - *16 responses: '202': *37 @@ -41250,7 +41299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *307 + - *306 responses: '204': description: Response @@ -41273,7 +41322,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &317 + - &316 name: actor_type in: path description: The type of the actor @@ -41286,14 +41335,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &318 + - &317 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &313 + - &312 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`.' @@ -41301,7 +41350,7 @@ paths: required: true schema: type: string - - &314 + - &313 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) @@ -41396,12 +41445,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 + - *312 - *313 - - *314 - *19 - *17 - *99 - - &323 + - &322 name: sort description: The property to sort the results by. in: query @@ -41481,14 +41530,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: &315 + schema: &314 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41504,7 +41553,7 @@ paths: type: integer format: int64 examples: - default: &316 + default: &315 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41525,23 +41574,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &319 + - &318 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string + - *312 - *313 - - *314 responses: '200': description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 x-github: enabledForGitHubApps: true category: orgs @@ -41560,18 +41609,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 + - *312 - *313 - - *314 + - *316 - *317 - - *318 responses: '200': description: Response content: application/json: - schema: *315 + schema: *314 examples: - default: *316 + default: *315 x-github: enabledForGitHubApps: true category: orgs @@ -41589,9 +41638,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 + - *312 - *313 - - *314 - - &320 + - &319 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41604,7 +41653,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &320 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41620,7 +41669,7 @@ paths: type: integer format: int64 examples: - default: &322 + default: &321 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41657,18 +41706,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *319 + - *318 + - *312 - *313 - - *314 - - *320 + - *319 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *322 + default: *321 x-github: enabledForGitHubApps: true category: orgs @@ -41686,19 +41735,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 + - *316 - *317 - - *318 + - *312 - *313 - - *314 - - *320 + - *319 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: - default: *322 + default: *321 x-github: enabledForGitHubApps: true category: orgs @@ -41716,13 +41765,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *319 + - *318 + - *312 - *313 - - *314 - *19 - *17 - *99 - - *323 + - *322 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -41972,12 +42021,12 @@ paths: application/json: schema: anyOf: - - &325 + - &324 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &324 + limit: &323 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -42005,7 +42054,7 @@ paths: properties: {} additionalProperties: false examples: - default: &326 + default: &325 value: limit: collaborators_only origin: organization @@ -42040,7 +42089,7 @@ paths: duration type: object properties: - limit: *324 + limit: *323 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -42065,9 +42114,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: - default: *326 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -42145,9 +42194,9 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: - default: *328 + default: *327 headers: Link: *41 '404': *6 @@ -42225,7 +42274,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: default: value: @@ -42282,7 +42331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &329 + - &328 name: invitation_id description: The unique identifier of the invitation. in: path @@ -42316,7 +42365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *329 + - *328 - *17 - *19 responses: @@ -42328,7 +42377,7 @@ paths: type: array items: *271 examples: - default: &344 + default: &343 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42371,7 +42420,7 @@ paths: application/json: schema: type: array - items: *330 + items: *329 examples: default: value: @@ -42459,9 +42508,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *329 examples: - default: &331 + default: &330 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42494,7 +42543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &332 + - &331 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42550,9 +42599,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *329 examples: - default: *331 + default: *330 '404': *6 '422': *7 x-github: @@ -42577,7 +42626,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *332 + - *331 responses: '204': description: Response @@ -42640,7 +42689,7 @@ paths: - closed - all default: open - - *333 + - *332 - name: type description: Can be the name of an issue type. in: query @@ -42671,7 +42720,7 @@ paths: type: array items: *195 examples: - default: *334 + default: *333 headers: Link: *41 '404': *6 @@ -42830,9 +42879,9 @@ paths: type: integer codespaces: type: array - items: *335 + items: *334 examples: - default: *336 + default: *335 '304': *35 '500': *38 '401': *23 @@ -42859,7 +42908,7 @@ paths: parameters: - *76 - *178 - - &337 + - &336 name: codespace_name in: path required: true @@ -42894,15 +42943,15 @@ paths: parameters: - *76 - *178 - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: &536 + default: &535 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43158,7 +43207,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &337 title: Org Membership description: Org Membership type: object @@ -43227,7 +43276,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &339 + response-if-user-has-an-active-admin-membership-with-organization: &338 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -43324,9 +43373,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: - response-if-user-already-had-membership-with-organization: *339 + response-if-user-already-had-membership-with-organization: *338 '422': *15 '403': *27 x-github: @@ -43398,7 +43447,7 @@ paths: application/json: schema: type: array - items: &340 + items: &339 title: Migration description: A migration. type: object @@ -43736,7 +43785,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -43915,7 +43964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &341 + - &340 name: migration_id description: The unique identifier of the migration. in: path @@ -43943,7 +43992,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -44113,7 +44162,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *341 + - *340 responses: '302': description: Response @@ -44135,7 +44184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *341 + - *340 responses: '204': description: Response @@ -44159,7 +44208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *341 + - *340 - &780 name: repo_name description: repo_name parameter @@ -44188,7 +44237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *341 + - *340 - *17 - *19 responses: @@ -44200,7 +44249,7 @@ paths: type: array items: *244 examples: - default: &351 + default: &350 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44409,7 +44458,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &342 + items: &341 title: Organization Role description: Organization roles type: object @@ -44618,7 +44667,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *341 examples: default: value: @@ -44848,7 +44897,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *341 examples: default: value: @@ -44945,7 +44994,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *341 examples: default: value: @@ -45104,7 +45153,7 @@ paths: parent: anyOf: - type: 'null' - - *343 + - *342 type: description: The ownership type of the team type: string @@ -45137,7 +45186,7 @@ paths: - type - parent examples: - default: *344 + default: *343 headers: Link: *41 '404': @@ -45196,7 +45245,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *343 + items: *342 name: type: - string @@ -45542,9 +45591,9 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: - default: *346 + default: *345 '403': *27 '401': *23 '400': &784 @@ -45569,7 +45618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &347 + - &346 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 @@ -45587,7 +45636,7 @@ paths: - docker - nuget - container - - &348 + - &347 name: package_name description: The name of the package. in: path @@ -45600,7 +45649,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *344 examples: default: value: @@ -45652,8 +45701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: + - *346 - *347 - - *348 - *76 responses: '204': @@ -45686,8 +45735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - name: token description: package token @@ -45720,8 +45769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: + - *346 - *347 - - *348 - *76 - *19 - *17 @@ -45742,7 +45791,7 @@ paths: application/json: schema: type: array - items: &349 + items: &348 title: Package Version description: A version of a software package type: object @@ -45877,10 +45926,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - - &350 + - &349 name: package_version_id description: Unique identifier of the package version. in: path @@ -45892,7 +45941,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -45928,10 +45977,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - - *350 + - *349 responses: '204': description: Response @@ -45963,10 +46012,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: + - *346 - *347 - - *348 - *76 - - *350 + - *349 responses: '204': description: Response @@ -45996,7 +46045,7 @@ paths: - *76 - *17 - *19 - - &352 + - &351 name: sort description: The property by which to sort the results. in: query @@ -46007,7 +46056,7 @@ paths: - created_at default: created_at - *99 - - &353 + - &352 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -46019,7 +46068,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &354 + - &353 name: repository description: The name of the repository to use to filter the results. in: query @@ -46028,7 +46077,7 @@ paths: type: string examples: - Hello-World - - &355 + - &354 name: permission description: The permission to use to filter the results. in: query @@ -46037,7 +46086,7 @@ paths: type: string examples: - issues_read - - &356 + - &355 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) @@ -46047,7 +46096,7 @@ paths: schema: type: string format: date-time - - &357 + - &356 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) @@ -46057,7 +46106,7 @@ paths: schema: type: string format: date-time - - &358 + - &357 name: token_id description: The ID of the token in: query @@ -46376,7 +46425,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -46402,14 +46451,14 @@ paths: - *76 - *17 - *19 - - *352 + - *351 - *99 + - *352 - *353 - *354 - *355 - *356 - *357 - - *358 responses: '500': *38 '422': *15 @@ -46693,7 +46742,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -46735,7 +46784,7 @@ paths: type: integer configurations: type: array - items: &359 + items: &358 title: Organization private registry description: Private registry configuration for an organization type: object @@ -46994,7 +47043,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &360 + org-private-registry-with-selected-visibility: &359 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -47092,9 +47141,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *359 + schema: *358 examples: - default: *360 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -47259,7 +47308,7 @@ paths: application/json: schema: type: array - items: &361 + items: &360 title: Project description: Projects are a way to organize columns and cards of work. @@ -47441,7 +47490,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -47479,7 +47528,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &440 + '410': &439 description: Gone content: application/json: @@ -47522,7 +47571,7 @@ paths: application/json: schema: type: array - items: &362 + items: &361 title: Projects v2 Project description: A projects v2 project type: object @@ -47681,7 +47730,7 @@ paths: - deleted_at - deleted_by examples: - default: &363 + default: &362 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47784,7 +47833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &364 + - &363 name: project_number description: The project's number. in: path @@ -47797,9 +47846,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *361 examples: - default: *363 + default: *362 headers: Link: *41 '304': *35 @@ -47821,7 +47870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *364 + - *363 - *76 - *17 - *97 @@ -47833,7 +47882,7 @@ paths: application/json: schema: type: array - items: &365 + items: &364 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47983,7 +48032,7 @@ paths: - updated_at - project_url examples: - default: &366 + default: &365 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48026,7 +48075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *364 + - *363 - &801 name: field_id description: The unique identifier of the field. @@ -48040,9 +48089,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *364 examples: - default: *366 + default: *365 headers: Link: *41 '304': *35 @@ -48065,7 +48114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *364 + - *363 - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -48096,7 +48145,7 @@ paths: application/json: schema: type: array - items: &371 + items: &370 title: Projects v2 Item description: An item belonging to a project type: object @@ -48113,7 +48162,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &369 + content_type: &368 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -48170,7 +48219,7 @@ paths: - updated_at - archived_at examples: - default: &372 + default: &371 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48865,7 +48914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *364 + - *363 requestBody: required: true description: Details of the item to add to the project. @@ -48916,7 +48965,7 @@ paths: content: oneOf: - *195 - - &549 + - &548 title: Pull Request Simple description: Pull Request Simple type: object @@ -49036,7 +49085,7 @@ paths: milestone: anyOf: - type: 'null' - - *367 + - *366 active_lock_reason: type: - string @@ -49135,7 +49184,7 @@ paths: _links: type: object properties: - comments: &368 + comments: &367 title: Link description: Hypermedia Link type: object @@ -49144,13 +49193,13 @@ paths: type: string required: - href - commits: *368 - statuses: *368 - html: *368 - issue: *368 - review_comments: *368 - review_comment: *368 - self: *368 + commits: *367 + statuses: *367 + html: *367 + issue: *367 + review_comments: *367 + review_comment: *367 + self: *367 required: - comments - commits @@ -49263,7 +49312,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *369 + content_type: *368 creator: *4 created_at: type: string @@ -49300,7 +49349,7 @@ paths: - updated_at - archived_at examples: - issue: &370 + issue: &369 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49355,7 +49404,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: *370 + pull_request: *369 '304': *35 '403': *27 '401': *23 @@ -49375,9 +49424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *364 + - *363 - *76 - - &373 + - &372 name: item_id description: The unique identifier of the project item. in: path @@ -49401,9 +49450,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 headers: Link: *41 '304': *35 @@ -49424,9 +49473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *364 + - *363 - *76 - - *373 + - *372 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49499,13 +49548,13 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - text_field: *372 - number_field: *372 - date_field: *372 - single_select_field: *372 - iteration_field: *372 + text_field: *371 + number_field: *371 + date_field: *371 + single_select_field: *371 + iteration_field: *371 '401': *23 '403': *27 '404': *6 @@ -49525,9 +49574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *364 + - *363 - *76 - - *373 + - *372 responses: '204': description: Response @@ -49690,7 +49739,7 @@ paths: required: true content: application/json: - schema: *374 + schema: *373 examples: default: value: @@ -49796,7 +49845,7 @@ paths: - octocat/Hello-World properties: type: array - items: &375 + items: &374 title: Custom Property Value description: Custom property name and associated value type: object @@ -49886,7 +49935,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *375 + items: *374 required: - repository_names - properties @@ -50079,7 +50128,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -50283,7 +50332,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &441 title: Full Repository description: Full Repository type: object @@ -50748,7 +50797,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &553 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50778,7 +50827,7 @@ paths: - key - name - html_url - security_and_analysis: *376 + security_and_analysis: *375 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50862,7 +50911,7 @@ paths: - network_count - subscribers_count examples: - default: &444 + default: &443 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51388,9 +51437,9 @@ paths: application/json: schema: type: array - items: *377 + items: *376 examples: - default: *378 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51507,11 +51556,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *379 + conditions: *378 rules: type: array description: An array of rules within the ruleset. - items: &381 + items: &380 title: Repository Rule type: object description: A repository rule. @@ -51575,7 +51624,7 @@ paths: application/json: schema: *158 examples: - default: &380 + default: &379 value: id: 21 name: super cool ruleset @@ -51967,7 +52016,7 @@ paths: application/json: schema: *158 examples: - default: *380 + default: *379 '404': *6 '500': *38 put: @@ -52016,11 +52065,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *379 + conditions: *378 rules: description: An array of rules within the ruleset. type: array - items: *381 + items: *380 examples: default: value: @@ -52057,7 +52106,7 @@ paths: application/json: schema: *158 examples: - default: *380 + default: *379 '404': *6 '500': *38 delete: @@ -52116,7 +52165,7 @@ paths: type: array items: *162 examples: - default: *382 + default: *381 '404': *6 '500': *38 x-github: @@ -52153,7 +52202,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -52216,10 +52265,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 + - *383 - *384 - *385 - *386 - - *387 - *99 - *19 - *17 @@ -52243,10 +52292,10 @@ paths: required: false schema: type: string + - *387 - *388 - *389 - *390 - - *391 responses: '200': description: Response @@ -52254,9 +52303,9 @@ paths: application/json: schema: type: array - items: *392 + items: *391 examples: - default: *393 + default: *392 headers: Link: *41 '404': *6 @@ -52291,9 +52340,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *393 examples: - default: *395 + default: *394 '403': *27 '404': *6 patch: @@ -52690,7 +52739,7 @@ paths: login: type: string description: The username of the user credited. - type: *396 + type: *395 credits_detailed: type: - array @@ -52701,7 +52750,7 @@ paths: type: object properties: user: *4 - type: *396 + type: *395 state: type: string description: The state of the user's acceptance of the @@ -53152,9 +53201,9 @@ paths: application/json: schema: type: array - items: *343 + items: *342 examples: - default: *344 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53239,9 +53288,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53266,7 +53315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *399 + - *398 - *17 - *19 responses: @@ -53274,9 +53323,9 @@ paths: description: Success content: application/json: - schema: *400 + schema: *399 examples: - default: *401 + default: *400 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53304,9 +53353,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: - default: *403 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53334,14 +53383,257 @@ paths: description: Response content: application/json: - schema: *404 + schema: *403 examples: - default: *405 + default: *404 x-github: githubCloudOnly: false 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/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization + parameters: + - *76 + 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 + examples: + - 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/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization + parameters: + - *76 + 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 + examples: + - 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. + + 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/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement + parameters: + - *76 + - *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: *244 + examples: + default: *258 + 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/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement + parameters: + - *76 + 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`. + + 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/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *76 + - *238 + 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/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization + parameters: + - *76 + - *238 + 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 @@ -53376,7 +53668,7 @@ paths: type: array items: *122 examples: - default: *406 + default: *405 headers: Link: *41 x-github: @@ -53577,15 +53869,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *407 + - *406 responses: '200': description: Response content: application/json: - schema: *408 + schema: *407 examples: - default: *409 + default: *408 headers: Link: *41 x-github: @@ -53623,7 +53915,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &430 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53675,7 +53967,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &432 + default: &431 value: groups: - group_id: '123' @@ -53789,7 +54081,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 headers: Link: *41 '403': *27 @@ -53883,7 +54175,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &409 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53957,7 +54249,7 @@ paths: parent: anyOf: - type: 'null' - - *343 + - *342 members_count: type: integer examples: @@ -54282,7 +54574,7 @@ paths: - repos_count - organization examples: - default: &411 + default: &410 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54359,9 +54651,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -54446,16 +54738,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '201': description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 '422': *15 '403': *27 @@ -54525,7 +54817,7 @@ paths: application/json: schema: type: array - items: &412 + items: &411 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54745,9 +55037,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: &413 + default: &412 value: author: login: octocat @@ -54821,7 +55113,7 @@ paths: parameters: - *76 - *180 - - &414 + - &413 name: discussion_number description: The number that identifies the discussion. in: path @@ -54833,9 +55125,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54859,7 +55151,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 requestBody: required: false content: @@ -54882,7 +55174,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: default: &756 value: @@ -54956,7 +55248,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 responses: '204': description: Response @@ -54984,7 +55276,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 - *99 - *17 - *19 @@ -54995,7 +55287,7 @@ paths: application/json: schema: type: array - items: &415 + items: &414 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -55145,7 +55437,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 requestBody: required: true content: @@ -55167,9 +55459,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: &416 + default: &415 value: author: login: octocat @@ -55237,8 +55529,8 @@ paths: parameters: - *76 - *180 - - *414 - - &417 + - *413 + - &416 name: comment_number description: The number that identifies the comment. in: path @@ -55250,9 +55542,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: *416 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55276,8 +55568,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -55299,7 +55591,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: default: &758 value: @@ -55367,8 +55659,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 responses: '204': description: Response @@ -55396,8 +55688,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -55423,7 +55715,7 @@ paths: application/json: schema: type: array - items: &418 + items: &417 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55467,7 +55759,7 @@ paths: - content - created_at examples: - default: &420 + default: &419 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55519,8 +55811,8 @@ paths: parameters: - *76 - *180 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -55553,9 +55845,9 @@ paths: team discussion comment content: application/json: - schema: *418 + schema: *417 examples: - default: &419 + default: &418 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55584,9 +55876,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55611,9 +55903,9 @@ paths: parameters: - *76 - *180 - - *414 - - *417 - - &421 + - *413 + - *416 + - &420 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55647,7 +55939,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -55673,9 +55965,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 x-github: @@ -55703,7 +55995,7 @@ paths: parameters: - *76 - *180 - - *414 + - *413 requestBody: required: true content: @@ -55735,16 +56027,16 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55769,8 +56061,8 @@ paths: parameters: - *76 - *180 - - *414 - - *421 + - *413 + - *420 responses: '204': description: Response @@ -55800,9 +56092,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *421 examples: - default: *423 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55846,9 +56138,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *423 examples: - default: *425 + default: *424 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55903,9 +56195,9 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: - default: *328 + default: *327 headers: Link: *41 x-github: @@ -55989,7 +56281,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &425 title: Team Membership description: Team Membership type: object @@ -56080,7 +56372,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: response-if-users-membership-with-team-is-now-pending: &760 summary: Response if user's membership with team is now pending @@ -56155,7 +56447,7 @@ paths: application/json: schema: type: array - items: &427 + items: &426 title: Team Project description: A team's access to a project. type: object @@ -56289,7 +56581,7 @@ paths: parameters: - *76 - *180 - - &428 + - &427 name: project_id description: The unique identifier of the project. in: path @@ -56301,7 +56593,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *426 examples: default: &762 value: @@ -56367,7 +56659,7 @@ paths: parameters: - *76 - *180 - - *428 + - *427 requestBody: required: false content: @@ -56436,7 +56728,7 @@ paths: parameters: - *76 - *180 - - *428 + - *427 responses: '204': description: Response @@ -56476,7 +56768,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -56507,8 +56799,8 @@ paths: parameters: - *76 - *180 + - *428 - *429 - - *430 responses: '200': description: Alternative response with repository permissions @@ -57157,8 +57449,8 @@ paths: parameters: - *76 - *180 + - *428 - *429 - - *430 requestBody: required: false content: @@ -57205,8 +57497,8 @@ paths: parameters: - *76 - *180 + - *428 - *429 - - *430 responses: '204': description: Response @@ -57239,9 +57531,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57307,7 +57599,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: value: @@ -57479,7 +57771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &433 + - &432 name: card_id description: The unique identifier of the card. in: path @@ -57491,7 +57783,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &433 title: Project Card description: Project cards represent a scope of work. type: object @@ -57566,7 +57858,7 @@ paths: - created_at - updated_at examples: - default: &435 + default: &434 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57622,7 +57914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *433 + - *432 requestBody: required: false content: @@ -57652,9 +57944,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '304': *35 '403': *27 '401': *23 @@ -57681,7 +57973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *433 + - *432 responses: '204': description: Response @@ -57725,7 +58017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *433 + - *432 requestBody: required: true content: @@ -57838,7 +58130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &436 + - &435 name: column_id description: The unique identifier of the column. in: path @@ -57850,7 +58142,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &436 title: Project Column description: Project columns contain cards of work. type: object @@ -57904,7 +58196,7 @@ paths: - created_at - updated_at examples: - default: &438 + default: &437 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57939,7 +58231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *436 + - *435 requestBody: required: true content: @@ -57964,9 +58256,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '304': *35 '403': *27 '401': *23 @@ -57991,7 +58283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *436 + - *435 responses: '204': description: Response @@ -58020,7 +58312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *436 + - *435 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -58041,7 +58333,7 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: default: value: @@ -58100,7 +58392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *436 + - *435 requestBody: required: true content: @@ -58144,9 +58436,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 '304': *35 '403': *27 '401': *23 @@ -58202,7 +58494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *436 + - *435 requestBody: required: true content: @@ -58263,15 +58555,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *428 + - *427 responses: '200': description: Response content: application/json: - schema: *361 + schema: *360 examples: - default: &439 + default: &438 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58328,7 +58620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *428 + - *427 requestBody: required: false content: @@ -58377,9 +58669,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: - default: *439 + default: *438 '404': description: Not Found if the authenticated user does not have access to the project @@ -58400,7 +58692,7 @@ paths: items: type: string '401': *23 - '410': *440 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -58423,7 +58715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *428 + - *427 responses: '204': description: Delete Success @@ -58444,7 +58736,7 @@ paths: items: type: string '401': *23 - '410': *440 + '410': *439 '404': *6 x-github: githubCloudOnly: false @@ -58468,7 +58760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *428 + - *427 - 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 @@ -58525,7 +58817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *428 + - *427 - *178 requestBody: required: false @@ -58580,7 +58872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *428 + - *427 - *178 responses: '204': @@ -58612,7 +58904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *428 + - *427 - *178 responses: '200': @@ -58683,7 +58975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *428 + - *427 - *17 - *19 responses: @@ -58693,7 +58985,7 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: default: value: @@ -58731,7 +59023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *428 + - *427 requestBody: required: true content: @@ -58755,7 +59047,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: default: value: @@ -58820,7 +59112,7 @@ paths: resources: type: object properties: - core: &441 + core: &440 title: Rate Limit type: object properties: @@ -58837,21 +59129,21 @@ paths: - remaining - reset - used - graphql: *441 - search: *441 - code_search: *441 - source_import: *441 - integration_manifest: *441 - code_scanning_upload: *441 - actions_runner_registration: *441 - scim: *441 - dependency_snapshots: *441 - dependency_sbom: *441 - code_scanning_autofix: *441 + graphql: *440 + search: *440 + code_search: *440 + source_import: *440 + integration_manifest: *440 + code_scanning_upload: *440 + actions_runner_registration: *440 + scim: *440 + dependency_snapshots: *440 + dependency_sbom: *440 + code_scanning_autofix: *440 required: - core - search - rate: *441 + rate: *440 required: - rate - resources @@ -58956,14 +59248,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *442 + schema: *441 examples: default-response: summary: Default response @@ -59468,7 +59760,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *443 + '301': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59486,8 +59778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -59745,10 +60037,10 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 - '307': &445 + default: *443 + '307': &444 description: Temporary Redirect content: application/json: @@ -59777,8 +60069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -59800,7 +60092,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *445 + '307': *444 '404': *6 '409': *107 x-github: @@ -59824,11 +60116,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 - - &460 + - &459 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59851,7 +60143,7 @@ paths: type: integer artifacts: type: array - items: &446 + items: &445 title: Artifact description: An artifact type: object @@ -59946,7 +60238,7 @@ paths: - expires_at - updated_at examples: - default: &461 + default: &460 value: total_count: 2 artifacts: @@ -60007,9 +60299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *428 - *429 - - *430 - - &447 + - &446 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60021,7 +60313,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *445 examples: default: value: @@ -60059,9 +60351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *428 - *429 - - *430 - - *447 + - *446 responses: '204': description: Response @@ -60085,9 +60377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *428 - *429 - - *430 - - *447 + - *446 - name: archive_format in: path required: true @@ -60101,7 +60393,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': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60124,14 +60416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *448 + schema: *447 examples: default: value: @@ -60157,11 +60449,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 - - &449 + - &448 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 @@ -60195,7 +60487,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &449 title: Repository actions caches description: Repository actions caches type: object @@ -60245,7 +60537,7 @@ paths: - total_count - actions_caches examples: - default: &451 + default: &450 value: total_count: 1 actions_caches: @@ -60277,23 +60569,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: + - *428 - *429 - - *430 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *449 + - *448 responses: '200': description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60313,8 +60605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: + - *428 - *429 - - *430 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60345,9 +60637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - &452 + - &451 name: job_id description: The unique identifier of the job. in: path @@ -60359,7 +60651,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &463 title: Job description: Information of a job execution in a workflow run type: object @@ -60706,9 +60998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *452 + - *451 responses: '302': description: Response @@ -60736,9 +61028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *428 - *429 - - *430 - - *452 + - *451 requestBody: required: false content: @@ -60784,8 +61076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Status response @@ -60835,8 +61127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -60899,8 +61191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -60918,7 +61210,7 @@ paths: type: integer secrets: type: array - items: &466 + items: &465 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60939,7 +61231,7 @@ paths: - created_at - updated_at examples: - default: &467 + default: &466 value: total_count: 2 secrets: @@ -60972,9 +61264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *428 - *429 - - *430 - - *453 + - *452 - *19 responses: '200': @@ -60991,7 +61283,7 @@ paths: type: integer variables: type: array - items: &470 + items: &469 title: Actions Variable type: object properties: @@ -61025,7 +61317,7 @@ paths: - created_at - updated_at examples: - default: &471 + default: &470 value: total_count: 2 variables: @@ -61058,8 +61350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61068,7 +61360,7 @@ paths: schema: type: object properties: - enabled: &454 + enabled: &453 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 @@ -61103,8 +61395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -61115,7 +61407,7 @@ paths: schema: type: object properties: - enabled: *454 + enabled: *453 allowed_actions: *49 sha_pinning_required: *50 required: @@ -61148,14 +61440,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: &455 + schema: &454 type: object properties: access_level: @@ -61173,7 +61465,7 @@ paths: required: - access_level examples: - default: &456 + default: &455 value: access_level: organization x-github: @@ -61198,15 +61490,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 responses: '204': description: Response @@ -61230,8 +61522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61261,8 +61553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Empty response for successful settings update @@ -61296,8 +61588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61324,8 +61616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -61359,8 +61651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61388,8 +61680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -61420,8 +61712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61452,8 +61744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -61485,8 +61777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61515,8 +61807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Success response @@ -61556,8 +61848,8 @@ paths: in: query schema: type: string + - *428 - *429 - - *430 - *17 - *19 responses: @@ -61601,8 +61893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -61634,8 +61926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -61709,8 +62001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *428 - *429 - - *430 responses: '201': description: Response @@ -61746,8 +62038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *428 - *429 - - *430 responses: '201': description: Response @@ -61777,8 +62069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '200': @@ -61808,8 +62100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '204': @@ -61836,8 +62128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '200': *70 @@ -61862,8 +62154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 requestBody: required: true @@ -61912,8 +62204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 requestBody: required: true @@ -61963,8 +62255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 responses: '200': *251 @@ -61994,8 +62286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: + - *428 - *429 - - *430 - *64 - *252 responses: @@ -62025,9 +62317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *428 - *429 - - *430 - - &474 + - &473 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. @@ -62035,7 +62327,7 @@ paths: required: false schema: type: string - - &475 + - &474 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62043,7 +62335,7 @@ paths: required: false schema: type: string - - &476 + - &475 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62052,7 +62344,7 @@ paths: required: false schema: type: string - - &477 + - &476 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 @@ -62079,7 +62371,7 @@ paths: - pending - *17 - *19 - - &478 + - &477 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -62088,7 +62380,7 @@ paths: schema: type: string format: date-time - - &457 + - &456 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62097,13 +62389,13 @@ paths: schema: type: boolean default: false - - &479 + - &478 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &480 + - &479 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62126,7 +62418,7 @@ paths: type: integer workflow_runs: type: array - items: &458 + items: &457 title: Workflow Run description: An invocation of a workflow type: object @@ -62243,7 +62535,7 @@ paths: type: - array - 'null' - items: &499 + items: &498 title: Pull Request Minimal type: object properties: @@ -62370,7 +62662,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &502 title: Simple Commit description: A commit. type: object @@ -62485,7 +62777,7 @@ paths: - workflow_url - pull_requests examples: - default: &481 + default: &480 value: total_count: 1 workflow_runs: @@ -62721,24 +63013,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *428 - *429 - - *430 - - &459 + - &458 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *457 + - *456 responses: '200': description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: &462 + default: &461 value: id: 30433642 name: Build @@ -62979,9 +63271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '204': description: Response @@ -63004,9 +63296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '200': description: Response @@ -63134,9 +63426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '201': description: Response @@ -63169,12 +63461,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *428 - *429 - - *430 - - *459 + - *458 - *17 - *19 - - *460 + - *459 responses: '200': description: Response @@ -63190,9 +63482,9 @@ paths: type: integer artifacts: type: array - items: *446 + items: *445 examples: - default: *461 + default: *460 headers: Link: *41 x-github: @@ -63216,25 +63508,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *428 - *429 - - *430 - - *459 - - &463 + - *458 + - &462 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *457 + - *456 responses: '200': description: Response content: application/json: - schema: *458 + schema: *457 examples: - default: *462 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63257,10 +63549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *428 - *429 - - *430 - - *459 - - *463 + - *458 + - *462 - *17 - *19 responses: @@ -63278,9 +63570,9 @@ paths: type: integer jobs: type: array - items: *464 + items: *463 examples: - default: &465 + default: &464 value: total_count: 1 jobs: @@ -63393,10 +63685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *428 - *429 - - *430 - - *459 - - *463 + - *458 + - *462 responses: '302': description: Response @@ -63424,9 +63716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '202': description: Response @@ -63459,9 +63751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: true content: @@ -63528,9 +63820,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '202': description: Response @@ -63563,9 +63855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 - 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 @@ -63595,9 +63887,9 @@ paths: type: integer jobs: type: array - items: *464 + items: *463 examples: - default: *465 + default: *464 headers: Link: *41 x-github: @@ -63622,9 +63914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '302': description: Response @@ -63651,9 +63943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '204': description: Response @@ -63680,9 +63972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '200': description: Response @@ -63837,9 +64129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: true content: @@ -64057,9 +64349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: false content: @@ -64104,9 +64396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *428 - *429 - - *430 - - *459 + - *458 requestBody: required: false content: @@ -64161,9 +64453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *428 - *429 - - *430 - - *459 + - *458 responses: '200': description: Response @@ -64300,8 +64592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -64319,9 +64611,9 @@ paths: type: integer secrets: type: array - items: *466 + items: *465 examples: - default: *467 + default: *466 headers: Link: *41 x-github: @@ -64346,16 +64638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64377,15 +64669,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '200': description: Response content: application/json: - schema: *466 + schema: *465 examples: default: &595 value: @@ -64413,8 +64705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 requestBody: required: true @@ -64472,8 +64764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '204': @@ -64499,9 +64791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *428 - *429 - - *430 - - *453 + - *452 - *19 responses: '200': @@ -64518,9 +64810,9 @@ paths: type: integer variables: type: array - items: *470 + items: *469 examples: - default: *471 + default: *470 headers: Link: *41 x-github: @@ -64543,8 +64835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -64596,15 +64888,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *428 - *429 - - *430 - *257 responses: '200': description: Response content: application/json: - schema: *470 + schema: *469 examples: default: &596 value: @@ -64632,8 +64924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *428 - *429 - - *430 - *257 requestBody: required: true @@ -64676,8 +64968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *428 - *429 - - *430 - *257 responses: '204': @@ -64703,8 +64995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -64722,7 +65014,7 @@ paths: type: integer workflows: type: array - items: &472 + items: &471 title: Workflow description: A GitHub Actions workflow type: object @@ -64840,9 +65132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *428 - *429 - - *430 - - &473 + - &472 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64857,7 +65149,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *471 examples: default: value: @@ -64890,9 +65182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '204': description: Response @@ -64917,9 +65209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '204': description: Response @@ -64970,9 +65262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '204': description: Response @@ -64999,19 +65291,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *428 - *429 - - *430 + - *472 - *473 - *474 - *475 - *476 - - *477 - *17 - *19 + - *477 + - *456 - *478 - - *457 - *479 - - *480 responses: '200': description: Response @@ -65027,9 +65319,9 @@ paths: type: integer workflow_runs: type: array - items: *458 + items: *457 examples: - default: *481 + default: *480 headers: Link: *41 x-github: @@ -65062,9 +65354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *428 - *429 - - *430 - - *473 + - *472 responses: '200': description: Response @@ -65125,8 +65417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *428 - *429 - - *430 - *99 - *17 - *97 @@ -65294,8 +65586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -65332,8 +65624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *428 - *429 - - *430 - name: assignee in: path required: true @@ -65369,8 +65661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -65482,8 +65774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *428 - *429 - - *430 - *17 - *97 - *98 @@ -65539,7 +65831,7 @@ paths: initiator: type: string examples: - default: *482 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65559,8 +65851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -65568,7 +65860,7 @@ paths: application/json: schema: type: array - items: &483 + items: &482 title: Autolink reference description: An autolink reference. type: object @@ -65627,8 +65919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -65667,9 +65959,9 @@ paths: description: response content: application/json: - schema: *483 + schema: *482 examples: - default: &484 + default: &483 value: id: 1 key_prefix: TICKET- @@ -65700,9 +65992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *428 - *429 - - *430 - - &485 + - &484 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65714,9 +66006,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *482 examples: - default: *484 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -65736,9 +66028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *428 - *429 - - *430 - - *485 + - *484 responses: '204': description: Response @@ -65762,8 +66054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response if Dependabot is enabled @@ -65813,8 +66105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -65835,8 +66127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -65856,8 +66148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *428 - *429 - - *430 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65895,7 +66187,7 @@ paths: - url protected: type: boolean - protection: &487 + protection: &486 title: Branch Protection description: Branch Protection type: object @@ -65938,7 +66230,7 @@ paths: required: - contexts - checks - enforce_admins: &490 + enforce_admins: &489 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65955,7 +66247,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &492 + required_pull_request_reviews: &491 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66039,7 +66331,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &489 + restrictions: &488 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66332,9 +66624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *428 - *429 - - *430 - - &488 + - &487 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -66348,14 +66640,14 @@ paths: description: Response content: application/json: - schema: &498 + schema: &497 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &544 title: Commit description: Commit type: object @@ -66394,7 +66686,7 @@ paths: author: anyOf: - type: 'null' - - &486 + - &485 title: Git User description: Metaproperties for Git author/committer information. @@ -66415,7 +66707,7 @@ paths: committer: anyOf: - type: 'null' - - *486 + - *485 message: type: string examples: @@ -66519,7 +66811,7 @@ paths: type: integer files: type: array - items: &556 + items: &555 title: Diff Entry description: Diff Entry type: object @@ -66615,7 +66907,7 @@ paths: - self protected: type: boolean - protection: *487 + protection: *486 protection_url: type: string format: uri @@ -66724,7 +67016,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *443 + '301': *442 '404': *6 x-github: githubCloudOnly: false @@ -66746,15 +67038,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *487 + schema: *486 examples: default: value: @@ -66948,9 +67240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -67210,7 +67502,7 @@ paths: url: type: string format: uri - required_status_checks: &495 + required_status_checks: &494 title: Status Check Policy description: Status Check Policy type: object @@ -67369,7 +67661,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *489 + restrictions: *488 required_conversation_resolution: type: object properties: @@ -67481,9 +67773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67508,17 +67800,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: &491 + default: &490 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67540,17 +67832,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: *491 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67569,9 +67861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67596,17 +67888,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *492 + schema: *491 examples: - default: &493 + default: &492 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67702,9 +67994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -67802,9 +68094,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *491 examples: - default: *493 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -67825,9 +68117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67854,17 +68146,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: &494 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67887,17 +68179,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *489 examples: - default: *494 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -67917,9 +68209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -67944,17 +68236,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: &496 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67980,9 +68272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68034,9 +68326,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *494 examples: - default: *496 + default: *495 '404': *6 '422': *15 x-github: @@ -68058,9 +68350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -68084,9 +68376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68120,9 +68412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68189,9 +68481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68255,9 +68547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: content: application/json: @@ -68323,15 +68615,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response content: application/json: - schema: *489 + schema: *488 examples: default: value: @@ -68422,9 +68714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '204': description: Response @@ -68447,9 +68739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68459,7 +68751,7 @@ paths: type: array items: *5 examples: - default: &497 + default: &496 value: - id: 1 slug: octoapp @@ -68516,9 +68808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68552,7 +68844,7 @@ paths: type: array items: *5 examples: - default: *497 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -68573,9 +68865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68609,7 +68901,7 @@ paths: type: array items: *5 examples: - default: *497 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -68630,9 +68922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68666,7 +68958,7 @@ paths: type: array items: *5 examples: - default: *497 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -68688,9 +68980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68700,7 +68992,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -68720,9 +69012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68760,7 +69052,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -68781,9 +69073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: false content: @@ -68821,7 +69113,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -68842,9 +69134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: content: application/json: @@ -68881,7 +69173,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -68903,9 +69195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 responses: '200': description: Response @@ -68939,9 +69231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -68999,9 +69291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -69059,9 +69351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -69121,9 +69413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 requestBody: required: true content: @@ -69145,7 +69437,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *497 examples: default: value: @@ -69259,8 +69551,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *428 - *429 - - *430 - *92 - *93 - *94 @@ -69296,8 +69588,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *428 - *429 - - *430 - name: bypass_request_number in: path required: true @@ -69370,8 +69662,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - *92 - *93 - *94 @@ -69411,8 +69703,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - name: bypass_request_number in: path required: true @@ -69482,8 +69774,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - name: bypass_request_number in: path required: true @@ -69554,8 +69846,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *428 - *429 - - *430 - name: bypass_response_id in: path required: true @@ -69588,8 +69880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -69868,7 +70160,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &499 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70003,7 +70295,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *499 + items: *498 deployment: &818 title: Deployment description: A deployment created as the result of an Actions @@ -70291,9 +70583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *428 - *429 - - *430 - - &501 + - &500 name: check_run_id description: The unique identifier of the check run. in: path @@ -70305,9 +70597,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *499 examples: - default: &502 + default: &501 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70407,9 +70699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *428 - *429 - - *430 - - *501 + - *500 requestBody: required: true content: @@ -70649,9 +70941,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *499 examples: - default: *502 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70671,9 +70963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *428 - *429 - - *430 - - *501 + - *500 - *17 - *19 responses: @@ -70783,9 +71075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *428 - *429 - - *430 - - *501 + - *500 responses: '201': description: Response @@ -70829,8 +71121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -70852,7 +71144,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &503 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70934,7 +71226,7 @@ paths: type: - array - 'null' - items: *499 + items: *498 app: anyOf: - type: 'null' @@ -70950,7 +71242,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *502 latest_check_runs_count: type: integer check_runs_url: @@ -70978,7 +71270,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &504 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71269,9 +71561,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *503 examples: - default: *505 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71290,8 +71582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -71600,9 +71892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *428 - *429 - - *430 - - &506 + - &505 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71614,9 +71906,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *503 examples: - default: *505 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71639,17 +71931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *428 - *429 - - *430 - - *506 - - &551 + - *505 + - &550 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &551 name: status description: Returns check runs with the specified `status`. in: query @@ -71688,9 +71980,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *499 examples: - default: &553 + default: &552 value: total_count: 1 check_runs: @@ -71792,9 +72084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *428 - *429 - - *430 - - *506 + - *505 responses: '201': description: Response @@ -71827,21 +72119,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *428 - *429 - - *430 - *275 - *276 - *19 - *17 - - &522 + - &521 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: *507 - - &523 + schema: *506 + - &522 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71872,7 +72164,7 @@ paths: be returned. in: query required: false - schema: *508 + schema: *507 responses: '200': description: Response @@ -71888,7 +72180,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *509 + instances_url: *508 state: *102 fixed_at: *119 dismissed_by: @@ -71896,11 +72188,11 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 - rule: *512 - tool: *513 - most_recent_instance: *514 + dismissed_reason: *509 + dismissed_comment: *510 + rule: *511 + tool: *512 + most_recent_instance: *513 dismissal_approved_by: anyOf: - type: 'null' @@ -72023,7 +72315,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &514 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72050,9 +72342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - &516 + - &515 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72066,7 +72358,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &516 type: object properties: number: *109 @@ -72074,7 +72366,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *509 + instances_url: *508 state: *102 fixed_at: *119 dismissed_by: @@ -72082,8 +72374,8 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *509 + dismissed_comment: *510 rule: type: object properties: @@ -72145,8 +72437,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *512 + most_recent_instance: *513 dismissal_approved_by: anyOf: - type: 'null' @@ -72242,7 +72534,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72262,9 +72554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 requestBody: required: true content: @@ -72279,8 +72571,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *509 + dismissed_comment: *510 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72299,7 +72591,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *516 examples: default: value: @@ -72375,7 +72667,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &520 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72402,15 +72694,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 responses: '200': description: Response content: application/json: - schema: &518 + schema: &517 type: object properties: status: @@ -72437,13 +72729,13 @@ paths: - description - started_at examples: - default: &519 + default: &518 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &519 description: Bad Request content: application/json: @@ -72454,7 +72746,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': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72479,29 +72771,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 responses: '200': description: OK content: application/json: - schema: *518 + schema: *517 examples: - default: *519 + default: *518 '202': description: Accepted content: application/json: - schema: *518 + schema: *517 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *519 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72533,9 +72825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 requestBody: required: false content: @@ -72581,8 +72873,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *519 + '403': *520 '404': *6 '422': description: Unprocessable Entity @@ -72606,13 +72898,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 - *19 - *17 + - *521 - *522 - - *523 responses: '200': description: Response @@ -72620,7 +72912,7 @@ paths: application/json: schema: type: array - items: *514 + items: *513 examples: default: value: @@ -72659,7 +72951,7 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72693,25 +72985,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *428 - *429 - - *430 - *275 - *276 - *19 - *17 - - *523 + - *522 - 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: *507 + schema: *506 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &525 type: string description: An identifier for the upload. examples: @@ -72733,23 +73025,23 @@ paths: application/json: schema: type: array - items: &527 + items: &526 type: object properties: - ref: *507 - commit_sha: &535 + ref: *506 + commit_sha: &534 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: *524 + analysis_key: *523 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *524 error: type: string examples: @@ -72774,8 +73066,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *525 + tool: *512 deletable: type: boolean warning: @@ -72837,7 +73129,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -72873,8 +73165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: + - *428 - *429 - - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72887,7 +73179,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *526 examples: response: summary: application/json response @@ -72941,7 +73233,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *514 '404': *6 '422': description: Response if analysis could not be processed @@ -73028,8 +73320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: + - *428 - *429 - - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73085,7 +73377,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': *521 + '403': *520 '404': *6 '503': *163 x-github: @@ -73107,8 +73399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -73116,7 +73408,7 @@ paths: application/json: schema: type: array - items: &528 + items: &527 title: CodeQL Database description: A CodeQL database. type: object @@ -73228,7 +73520,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': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -73257,8 +73549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *428 - *429 - - *430 - name: language in: path description: The language of the CodeQL database. @@ -73270,7 +73562,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *527 examples: default: value: @@ -73302,9 +73594,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': &558 + '302': &557 description: Found - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -73326,8 +73618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *428 - *429 - - *430 - name: language in: path description: The language of the CodeQL database. @@ -73337,7 +73629,7 @@ paths: responses: '204': description: Response - '403': *521 + '403': *520 '404': *6 '503': *163 x-github: @@ -73365,8 +73657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -73375,7 +73667,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &528 type: string description: The language targeted by the CodeQL query enum: @@ -73454,7 +73746,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &532 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73464,7 +73756,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *529 + query_language: *528 query_pack_url: type: string description: The download url for the query pack. @@ -73512,7 +73804,7 @@ paths: items: type: object properties: - repository: &530 + repository: &529 title: Repository Identifier description: Repository Identifier type: object @@ -73554,7 +73846,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &533 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73586,7 +73878,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &531 + access_mismatch_repos: &530 type: object properties: repository_count: @@ -73601,7 +73893,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: *530 + items: *529 required: - repository_count - repositories @@ -73624,8 +73916,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *530 + over_limit_repos: *530 required: - access_mismatch_repos - not_found_repos @@ -73641,7 +73933,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &531 summary: Default response value: id: 1 @@ -73793,10 +74085,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *531 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *531 '404': *6 '422': description: Unable to process variant analysis submission @@ -73824,8 +74116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: + - *428 - *429 - - *430 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73837,9 +74129,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *532 examples: - default: *532 + default: *531 '404': *6 '503': *163 x-github: @@ -73862,7 +74154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *429 + - *428 - name: repo in: path description: The name of the controller repository. @@ -73897,7 +74189,7 @@ paths: type: object properties: repository: *108 - analysis_status: *534 + analysis_status: *533 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74022,8 +74314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -74116,7 +74408,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *514 '404': *6 '503': *163 x-github: @@ -74137,8 +74429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -74232,7 +74524,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *520 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74303,8 +74595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -74312,7 +74604,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *534 ref: type: string description: |- @@ -74372,7 +74664,7 @@ paths: schema: type: object properties: - id: *526 + id: *525 url: type: string description: The REST API URL for checking the status of the upload. @@ -74386,7 +74678,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': *521 + '403': *520 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74409,8 +74701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *428 - *429 - - *430 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74458,7 +74750,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': *515 + '403': *514 '404': description: Not Found if the sarif id does not match any upload '503': *163 @@ -74483,8 +74775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -74565,8 +74857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *428 - *429 - - *430 - 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 @@ -74694,8 +74986,8 @@ paths: parameters: - *17 - *19 + - *428 - *429 - - *430 responses: '200': description: Response @@ -74711,7 +75003,7 @@ paths: type: integer codespaces: type: array - items: *335 + items: *334 examples: default: value: @@ -75009,8 +75301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -75074,17 +75366,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '400': *14 '401': *23 '403': *27 @@ -75113,8 +75405,8 @@ paths: parameters: - *17 - *19 + - *428 - *429 - - *430 responses: '200': description: Response @@ -75178,8 +75470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *428 - *429 - - *430 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75216,7 +75508,7 @@ paths: type: integer machines: type: array - items: *537 + items: *536 examples: default: &771 value: @@ -75258,8 +75550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *428 - *429 - - *430 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75346,8 +75638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: + - *428 - *429 - - *430 - 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 @@ -75416,8 +75708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -75435,7 +75727,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &540 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75456,7 +75748,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *537 headers: Link: *41 x-github: @@ -75479,16 +75771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *428 - *429 - - *430 responses: '200': description: Response content: application/json: - schema: *539 + schema: *538 examples: - default: *540 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75508,17 +75800,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '200': description: Response content: application/json: - schema: *541 + schema: *540 examples: - default: *542 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75538,8 +75830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 requestBody: required: true @@ -75592,8 +75884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '204': @@ -75622,8 +75914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *428 - *429 - - *430 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75661,7 +75953,7 @@ paths: application/json: schema: type: array - items: &543 + items: &542 title: Collaborator description: Collaborator type: object @@ -75854,8 +76146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *428 - *429 - - *430 - *178 responses: '204': @@ -75902,8 +76194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *428 - *429 - - *430 - *178 requestBody: required: false @@ -76158,8 +76450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *428 - *429 - - *430 - *178 responses: '204': @@ -76191,8 +76483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *428 - *429 - - *430 - *178 responses: '200': @@ -76213,7 +76505,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *542 required: - permission - role_name @@ -76267,8 +76559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -76278,7 +76570,7 @@ paths: application/json: schema: type: array - items: &544 + items: &543 title: Commit Comment description: Commit Comment type: object @@ -76336,7 +76628,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &546 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76395,17 +76687,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 responses: '200': description: Response content: application/json: - schema: *544 + schema: *543 examples: - default: &548 + default: &547 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76462,8 +76754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -76486,7 +76778,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *543 examples: default: value: @@ -76537,8 +76829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 responses: '204': @@ -76560,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -76588,9 +76880,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -76611,8 +76903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -76645,16 +76937,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -76676,10 +76968,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *428 - *429 - - *430 - *194 - - *421 + - *420 responses: '204': description: Response @@ -76728,8 +77020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *428 - *429 - - *430 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76785,7 +77077,7 @@ paths: application/json: schema: type: array - items: *545 + items: *544 examples: default: &662 value: @@ -76881,9 +77173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *428 - *429 - - *430 - - &546 + - &545 name: commit_sha description: The SHA of the commit. in: path @@ -76955,9 +77247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *428 - *429 - - *430 - - *546 + - *545 - *17 - *19 responses: @@ -76967,9 +77259,9 @@ paths: application/json: schema: type: array - items: *544 + items: *543 examples: - default: *547 + default: *546 headers: Link: *41 x-github: @@ -76997,9 +77289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *428 - *429 - - *430 - - *546 + - *545 requestBody: required: true content: @@ -77034,9 +77326,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *543 examples: - default: *548 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77064,9 +77356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *428 - *429 - - *430 - - *546 + - *545 - *17 - *19 responses: @@ -77076,7 +77368,7 @@ paths: application/json: schema: type: array - items: *549 + items: *548 examples: default: &654 value: @@ -77615,11 +77907,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *428 - *429 - - *430 - *19 - *17 - - &550 + - &549 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)" @@ -77634,7 +77926,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *544 examples: default: &642 value: @@ -77749,11 +78041,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *428 - *429 - - *430 + - *549 - *550 - *551 - - *552 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77787,9 +78079,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *499 examples: - default: *553 + default: *552 headers: Link: *41 x-github: @@ -77814,9 +78106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *428 - *429 - - *430 - - *550 + - *549 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77824,7 +78116,7 @@ paths: schema: type: integer example: 1 - - *551 + - *550 - *17 - *19 responses: @@ -77842,7 +78134,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *503 examples: default: value: @@ -78042,9 +78334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *428 - *429 - - *430 - - *550 + - *549 - *17 - *19 responses: @@ -78246,9 +78538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *428 - *429 - - *430 - - *550 + - *549 - *17 - *19 responses: @@ -78339,7 +78631,7 @@ paths: site_admin: false headers: Link: *41 - '301': *443 + '301': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78367,8 +78659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -78401,11 +78693,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *553 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &554 title: Community Health File type: object properties: @@ -78425,19 +78717,19 @@ paths: contributing: anyOf: - type: 'null' - - *555 + - *554 readme: anyOf: - type: 'null' - - *555 + - *554 issue_template: anyOf: - type: 'null' - - *555 + - *554 pull_request_template: anyOf: - type: 'null' - - *555 + - *554 required: - code_of_conduct - code_of_conduct_file @@ -78566,8 +78858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *428 - *429 - - *430 - *19 - *17 - name: basehead @@ -78615,8 +78907,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *544 + merge_base_commit: *544 status: type: string enum: @@ -78640,10 +78932,10 @@ paths: - 6 commits: type: array - items: *545 + items: *544 files: type: array - items: *556 + items: *555 required: - url - html_url @@ -78929,8 +79221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *428 - *429 - - *430 - name: path description: path parameter in: path @@ -79083,7 +79375,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &556 summary: Response if content is a file value: type: file @@ -79438,7 +79730,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *556 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79507,7 +79799,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *557 '304': *35 x-github: githubCloudOnly: false @@ -79530,8 +79822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *428 - *429 - - *430 - name: path description: path parameter in: path @@ -79626,7 +79918,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &558 title: File Commit description: File Commit type: object @@ -79782,7 +80074,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *558 examples: example-for-creating-a-file: value: @@ -79889,8 +80181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *428 - *429 - - *430 - name: path description: path parameter in: path @@ -79951,7 +80243,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *558 examples: default: value: @@ -80006,8 +80298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *428 - *429 - - *430 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80131,8 +80423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *428 - *429 - - *430 - *292 - *293 - *294 @@ -80144,9 +80436,9 @@ paths: schema: type: string - *296 + - *559 - *297 - *298 - - *299 - *99 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -80166,8 +80458,8 @@ paths: default: 30 - *97 - *98 + - *299 - *300 - - *301 responses: '200': description: Response @@ -80486,8 +80778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *428 - *429 - - *430 - &563 name: alert_number in: path @@ -80616,8 +80908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *428 - *429 - - *430 - *563 requestBody: required: true @@ -80792,8 +81084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -80865,8 +81157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -80894,8 +81186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '200': @@ -80928,8 +81220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 requestBody: required: true @@ -80982,8 +81274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *428 - *429 - - *430 - *254 responses: '204': @@ -81006,8 +81298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: + - *428 - *429 - - *430 - 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 @@ -81181,8 +81473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -81442,8 +81734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -81712,8 +82004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *428 - *429 - - *430 - name: sha description: The SHA recorded at creation time. in: query @@ -81822,8 +82114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -81978,8 +82270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *428 - *429 - - *430 - &570 name: deployment_id description: deployment_id parameter @@ -82057,8 +82349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *428 - *429 - - *430 - *570 responses: '204': @@ -82081,8 +82373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *428 - *429 - - *430 - *570 - *17 - *19 @@ -82257,8 +82549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *428 - *429 - - *430 - *570 requestBody: required: true @@ -82392,8 +82684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *428 - *429 - - *430 - *570 - name: status_id in: path @@ -82434,8 +82726,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - *573 - *574 - *575 @@ -82475,8 +82767,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82544,8 +82836,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82604,8 +82896,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - *92 - *93 - *94 @@ -82646,8 +82938,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82717,8 +83009,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *428 - *429 - - *430 - name: alert_number in: path required: true @@ -82787,8 +83079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -82845,8 +83137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -83112,8 +83404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *428 - *429 - - *430 - &584 name: environment_name in: path @@ -83213,8 +83505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *428 - *429 - - *430 - *584 requestBody: required: false @@ -83297,8 +83589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *428 - *429 - - *430 - *584 responses: '204': @@ -83324,8 +83616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *428 - *429 - - *430 - *584 - *17 - *19 @@ -83406,8 +83698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 requestBody: required: true @@ -83500,8 +83792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 - &590 name: branch_policy_id @@ -83536,8 +83828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 - *590 requestBody: @@ -83589,8 +83881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *428 - *429 - - *430 - *584 - *590 responses: @@ -83618,8 +83910,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - *584 - - *430 - *429 + - *428 responses: '200': description: List of deployment protection rules @@ -83762,8 +84054,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - *584 - - *430 - *429 + - *428 requestBody: content: application/json: @@ -83822,8 +84114,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - *584 - - *430 - *429 + - *428 - *19 - *17 responses: @@ -83878,8 +84170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *428 - *429 - - *430 - *584 - &594 name: protection_rule_id @@ -83917,8 +84209,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - *584 - - *430 - *429 + - *428 - *594 responses: '204': @@ -83945,8 +84237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *428 - *429 - - *430 - *584 - *17 - *19 @@ -83965,9 +84257,9 @@ paths: type: integer secrets: type: array - items: *466 + items: *465 examples: - default: *467 + default: *466 headers: Link: *41 x-github: @@ -83992,17 +84284,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *428 - *429 - - *430 - *584 responses: '200': description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84024,8 +84316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *428 - *429 - - *430 - *584 - *254 responses: @@ -84033,7 +84325,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *465 examples: default: *595 x-github: @@ -84057,8 +84349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *428 - *429 - - *430 - *584 - *254 requestBody: @@ -84117,8 +84409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *428 - *429 - - *430 - *584 - *254 responses: @@ -84145,10 +84437,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *428 - *429 - - *430 - *584 - - *453 + - *452 - *19 responses: '200': @@ -84165,9 +84457,9 @@ paths: type: integer variables: type: array - items: *470 + items: *469 examples: - default: *471 + default: *470 headers: Link: *41 x-github: @@ -84190,8 +84482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *428 - *429 - - *430 - *584 requestBody: required: true @@ -84244,8 +84536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *428 - *429 - - *430 - *584 - *257 responses: @@ -84253,7 +84545,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *469 examples: default: *596 x-github: @@ -84276,8 +84568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *428 - *429 - - *430 - *257 - *584 requestBody: @@ -84321,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *428 - *429 - - *430 - *257 - *584 responses: @@ -84346,8 +84638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -84424,8 +84716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *428 - *429 - - *430 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84584,8 +84876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -84618,9 +84910,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 '400': *14 '422': *15 '403': *27 @@ -84641,8 +84933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -84727,8 +85019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *428 - *429 - - *430 - name: file_sha in: path required: true @@ -84828,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85165,9 +85457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *428 - *429 - - *430 - - *546 + - *545 responses: '200': description: Response @@ -85229,8 +85521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *428 - *429 - - *430 - &599 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -85324,8 +85616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *428 - *429 - - *430 - *599 responses: '200': @@ -85363,8 +85655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85421,8 +85713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *428 - *429 - - *430 - *599 requestBody: required: true @@ -85472,8 +85764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *428 - *429 - - *430 - *599 responses: '204': @@ -85529,8 +85821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85736,8 +86028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *428 - *429 - - *430 - name: tag_sha in: path required: true @@ -85774,8 +86066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -85951,8 +86243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *428 - *429 - - *430 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86034,8 +86326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -86185,8 +86477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -86289,9 +86581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '200': description: Response @@ -86319,9 +86611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 requestBody: required: true content: @@ -86389,9 +86681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '204': description: Response @@ -86415,9 +86707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '200': description: Response @@ -86444,9 +86736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *428 - *429 - - *430 - - *307 + - *306 requestBody: required: false content: @@ -86490,11 +86782,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 - *17 - - *308 + - *307 responses: '200': description: Response @@ -86502,9 +86794,9 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: - default: *310 + default: *309 '400': *14 '422': *15 x-github: @@ -86523,18 +86815,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 - *16 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 '400': *14 '422': *15 x-github: @@ -86553,9 +86845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 - *16 responses: '202': *37 @@ -86578,9 +86870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '204': description: Response @@ -86605,9 +86897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *428 - *429 - - *430 - - *307 + - *306 responses: '204': description: Response @@ -86617,6 +86909,99 @@ 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/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository + parameters: + - *428 + - *429 + 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 + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository + owner. + examples: + - false + 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: + - *428 + - *429 + responses: + '204': *129 + '409': *107 + 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/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases + parameters: + - *428 + - *429 + responses: + '204': *129 + '409': *107 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos "/repos/{owner}/{repo}/import": get: summary: Get an import status @@ -86665,8 +87050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -86824,8 +87209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -86926,8 +87311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -87050,8 +87435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -87081,8 +87466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *428 - *429 - - *430 - &793 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -87176,8 +87561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *428 - *429 - - *430 - name: author_id in: path required: true @@ -87244,8 +87629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -87314,8 +87699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -87369,8 +87754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -87379,7 +87764,7 @@ paths: schema: *20 examples: default: *612 - '301': *443 + '301': *442 '404': *6 x-github: githubCloudOnly: false @@ -87399,8 +87784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -87408,7 +87793,7 @@ paths: application/json: schema: anyOf: - - *325 + - *324 - type: object properties: {} additionalProperties: false @@ -87438,8 +87823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -87456,7 +87841,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: default: *614 '409': @@ -87480,8 +87865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -87504,8 +87889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -87648,9 +88033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *428 - *429 - - *430 - - *329 + - *328 requestBody: required: false content: @@ -87810,9 +88195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *428 - *429 - - *430 - - *329 + - *328 responses: '204': description: Response @@ -87843,8 +88228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *428 - *429 - - *430 - 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 @@ -87892,7 +88277,7 @@ paths: required: false schema: type: string - - *333 + - *332 - name: sort description: What to sort results by. in: query @@ -88065,7 +88450,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *443 + '301': *442 '422': *15 '404': *6 x-github: @@ -88094,8 +88479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -88343,7 +88728,7 @@ paths: '422': *15 '503': *163 '404': *6 - '410': *440 + '410': *439 x-github: triggersNotification: true githubCloudOnly: false @@ -88371,8 +88756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *428 - *429 - - *430 - *204 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -88453,8 +88838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 responses: '200': @@ -88517,8 +88902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -88561,8 +88946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 responses: '204': @@ -88583,8 +88968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -88611,9 +88996,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -88634,8 +89019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -88668,16 +89053,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -88699,10 +89084,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *428 - *429 - - *430 - *194 - - *421 + - *420 responses: '204': description: Response @@ -88722,8 +89107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -89072,8 +89457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *428 - *429 - - *430 - name: event_id in: path required: true @@ -89277,7 +89662,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *440 + '410': *439 '403': *27 x-github: githubCloudOnly: false @@ -89311,8 +89696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *428 - *429 - - *430 - &620 name: issue_number description: The number that identifies the issue. @@ -89328,9 +89713,9 @@ paths: schema: *195 examples: default: *619 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 '304': *35 x-github: githubCloudOnly: false @@ -89355,8 +89740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -89482,9 +89867,9 @@ paths: '422': *15 '503': *163 '403': *27 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89502,8 +89887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -89548,8 +89933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: content: @@ -89599,8 +89984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: + - *428 - *429 - - *430 - *620 - name: assignee in: path @@ -89641,8 +90026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *428 - *429 - - *430 - *620 - *185 - *17 @@ -89660,7 +90045,7 @@ paths: headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89689,8 +90074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -89722,7 +90107,7 @@ paths: schema: type: string '403': *27 - '410': *440 + '410': *439 '422': *15 '404': *6 x-github: @@ -89750,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -89767,9 +90152,9 @@ paths: default: *622 headers: Link: *41 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89797,8 +90182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -89829,9 +90214,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *443 + '301': *442 '403': *27 - '410': *440 + '410': *439 '422': *15 '404': *6 x-github: @@ -89862,8 +90247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *428 - *429 - - *430 - *620 - name: issue_id in: path @@ -89879,12 +90264,12 @@ paths: schema: *195 examples: default: *619 - '301': *443 + '301': *442 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *440 + '410': *439 x-github: triggersNotification: true githubCloudOnly: false @@ -89910,8 +90295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -89927,9 +90312,9 @@ paths: default: *622 headers: Link: *41 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89946,8 +90331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -90741,7 +91126,7 @@ paths: color: red headers: Link: *41 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90758,8 +91143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -90843,9 +91228,9 @@ paths: default: false headers: Link: *41 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,8 +91247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -90926,9 +91311,9 @@ paths: items: *623 examples: default: *624 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 '422': *15 x-github: githubCloudOnly: false @@ -90945,8 +91330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -91010,9 +91395,9 @@ paths: items: *623 examples: default: *624 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 '422': *15 x-github: githubCloudOnly: false @@ -91029,15 +91414,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *428 - *429 - - *430 - *620 responses: '204': description: Response - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91056,8 +91441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *428 - *429 - - *430 - *620 - name: name in: path @@ -91082,9 +91467,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91104,8 +91489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: false @@ -91135,7 +91520,7 @@ paths: '204': description: Response '403': *27 - '410': *440 + '410': *439 '404': *6 '422': *15 x-github: @@ -91153,8 +91538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *428 - *429 - - *430 - *620 responses: '204': @@ -91185,8 +91570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *428 - *429 - - *430 - *620 responses: '200': @@ -91196,9 +91581,9 @@ paths: schema: *195 examples: default: *619 - '301': *443 + '301': *442 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91215,8 +91600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *428 - *429 - - *430 - *620 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -91243,13 +91628,13 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91267,8 +91652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91301,16 +91686,16 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -91332,10 +91717,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *428 - *429 - - *430 - *620 - - *421 + - *420 responses: '204': description: Response @@ -91364,8 +91749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91423,8 +91808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -91441,7 +91826,7 @@ paths: headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91469,8 +91854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91507,7 +91892,7 @@ paths: schema: type: string '403': *27 - '410': *440 + '410': *439 '422': *15 '404': *6 x-github: @@ -91527,8 +91912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *428 - *429 - - *430 - *620 requestBody: required: true @@ -91584,8 +91969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *428 - *429 - - *430 - *620 - *17 - *19 @@ -92180,7 +92565,7 @@ paths: type: string comments: type: array - items: *544 + items: *543 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92455,7 +92840,7 @@ paths: headers: Link: *41 '404': *6 - '410': *440 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92472,8 +92857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -92551,8 +92936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -92624,8 +93009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *428 - *429 - - *430 - &640 name: key_id description: The unique identifier of the key. @@ -92658,8 +93043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *428 - *429 - - *430 - *640 responses: '204': @@ -92680,8 +93065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -92714,8 +93099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -92785,8 +93170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *428 - *429 - - *430 - name: name in: path required: true @@ -92816,8 +93201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *428 - *429 - - *430 - name: name in: path required: true @@ -92882,8 +93267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *428 - *429 - - *430 - name: name in: path required: true @@ -92909,8 +93294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -92946,8 +93331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *428 - *429 - - *430 responses: '202': *37 '403': @@ -92975,8 +93360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -93002,9 +93387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *428 - *429 - - *430 - - *522 + - *521 responses: '200': description: Response @@ -93151,8 +93536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93217,8 +93602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93252,7 +93637,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *544 examples: default: *642 '204': @@ -93279,8 +93664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *428 - *429 - - *430 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93321,7 +93706,7 @@ paths: application/json: schema: type: array - items: *367 + items: *366 examples: default: value: @@ -93377,8 +93762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93418,7 +93803,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: &643 value: @@ -93479,8 +93864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *428 - *429 - - *430 - &644 name: milestone_number description: The number that identifies the milestone. @@ -93493,7 +93878,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: *643 '404': *6 @@ -93512,8 +93897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *428 - *429 - - *430 - *644 requestBody: required: false @@ -93552,7 +93937,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *366 examples: default: *643 x-github: @@ -93570,8 +93955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *428 - *429 - - *430 - *644 responses: '204': @@ -93593,8 +93978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *428 - *429 - - *430 - *644 - *17 - *19 @@ -93626,8 +94011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *428 - *429 - - *430 - *645 - *646 - *185 @@ -93667,8 +94052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -93726,8 +94111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -93918,8 +94303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -93999,8 +94384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -94108,8 +94493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -94135,8 +94520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -94238,8 +94623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *428 - *429 - - *430 responses: '201': description: Response @@ -94286,8 +94671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -94343,8 +94728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *428 - *429 - - *430 - name: build_id in: path required: true @@ -94377,8 +94762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -94486,8 +94871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *428 - *429 - - *430 - &653 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -94546,8 +94931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *428 - *429 - - *430 - *653 responses: '204': *129 @@ -94575,8 +94960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -94871,8 +95256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Private vulnerability reporting status @@ -94909,8 +95294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': *129 '422': *14 @@ -94931,8 +95316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': *129 '422': *14 @@ -94955,8 +95340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: + - *428 - *429 - - *430 - name: state description: Indicates the state of the projects to return. in: query @@ -94977,7 +95362,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -95017,7 +95402,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *440 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -95040,8 +95425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -95067,13 +95452,13 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: - default: *439 + default: *438 '401': *23 '403': *27 '404': *6 - '410': *440 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -95096,8 +95481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -95105,7 +95490,7 @@ paths: application/json: schema: type: array - items: *375 + items: *374 examples: default: value: @@ -95136,8 +95521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -95149,7 +95534,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *375 + items: *374 required: - properties examples: @@ -95199,8 +95584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *428 - *429 - - *430 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95260,7 +95645,7 @@ paths: application/json: schema: type: array - items: *549 + items: *548 examples: default: *654 headers: @@ -95294,8 +95679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -95491,7 +95876,7 @@ paths: milestone: anyOf: - type: 'null' - - *367 + - *366 active_lock_reason: type: - string @@ -95546,7 +95931,7 @@ paths: type: - array - 'null' - items: *343 + items: *342 head: type: object properties: @@ -95584,14 +95969,14 @@ paths: _links: type: object properties: - comments: *368 - commits: *368 - statuses: *368 - html: *368 - issue: *368 - review_comments: *368 - review_comment: *368 - self: *368 + comments: *367 + commits: *367 + statuses: *367 + html: *367 + issue: *367 + review_comments: *367 + review_comment: *367 + self: *367 required: - comments - commits @@ -96231,8 +96616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *428 - *429 - - *430 - name: sort in: query required: false @@ -96340,8 +96725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *194 responses: '200': @@ -96425,8 +96810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -96467,8 +96852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *194 responses: '204': @@ -96490,8 +96875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *428 - *429 - - *430 - *194 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -96518,9 +96903,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -96541,8 +96926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *428 - *429 - - *430 - *194 requestBody: required: true @@ -96575,16 +96960,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -96606,10 +96991,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *428 - *429 - - *430 - *194 - - *421 + - *420 responses: '204': description: Response @@ -96652,8 +97037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *428 - *429 - - *430 - &660 name: pull_number description: The number that identifies the pull request. @@ -96704,8 +97089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -96772,8 +97157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: true @@ -96835,17 +97220,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '401': *23 '403': *27 '404': *6 @@ -96875,8 +97260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *204 - name: direction @@ -96933,8 +97318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: true @@ -97129,8 +97514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *428 - *429 - - *430 - *660 - *194 requestBody: @@ -97240,8 +97625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *17 - *19 @@ -97252,7 +97637,7 @@ paths: application/json: schema: type: array - items: *545 + items: *544 examples: default: *662 headers: @@ -97284,8 +97669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *428 - *429 - - *430 - *660 - *17 - *19 @@ -97296,7 +97681,7 @@ paths: application/json: schema: type: array - items: *556 + items: *555 examples: default: value: @@ -97334,8 +97719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *428 - *429 - - *430 - *660 responses: '204': @@ -97359,8 +97744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -97473,8 +97858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 responses: '200': @@ -97550,8 +97935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -97589,7 +97974,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *548 examples: default: value: @@ -98125,8 +98510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: true @@ -98161,7 +98546,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *548 examples: default: value: @@ -98666,8 +99051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *17 - *19 @@ -98834,8 +99219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -98991,8 +99376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - &664 name: review_id @@ -99067,8 +99452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 requestBody: @@ -99155,8 +99540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 responses: @@ -99193,8 +99578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *428 - *429 - - *430 - *660 - *664 - *17 @@ -99294,9 +99679,9 @@ paths: _links: type: object properties: - self: *368 - html: *368 - pull_request: *368 + self: *367 + html: *367 + pull_request: *367 required: - self - html @@ -99454,8 +99839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 requestBody: @@ -99549,8 +99934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *428 - *429 - - *430 - *660 - *664 requestBody: @@ -99611,8 +99996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *428 - *429 - - *430 - *660 requestBody: required: false @@ -99677,8 +100062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *428 - *429 - - *430 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99735,8 +100120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *428 - *429 - - *430 - name: dir description: The alternate path to look for a README file in: path @@ -99780,8 +100165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -100060,8 +100445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -100244,8 +100629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *428 - *429 - - *430 - &671 name: asset_id description: The unique identifier of the asset. @@ -100295,7 +100680,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100311,8 +100696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *428 - *429 - - *430 - *671 requestBody: required: false @@ -100360,8 +100745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *428 - *429 - - *430 - *671 responses: '204': @@ -100386,8 +100771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -100473,8 +100858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -100499,8 +100884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *428 - *429 - - *430 - name: tag description: tag parameter in: path @@ -100537,8 +100922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *428 - *429 - - *430 - &674 name: release_id description: The unique identifier of the release. @@ -100573,8 +100958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *428 - *429 - - *430 - *674 requestBody: required: false @@ -100662,8 +101047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *428 - *429 - - *430 - *674 responses: '204': @@ -100684,8 +101069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *428 - *429 - - *430 - *674 - *17 - *19 @@ -100778,8 +101163,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: + - *428 - *429 - - *430 - *674 - name: name in: query @@ -100861,8 +101246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *428 - *429 - - *430 - *674 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100887,9 +101272,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 '404': *6 @@ -100910,8 +101295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *428 - *429 - - *430 - *674 requestBody: required: true @@ -100942,16 +101327,16 @@ paths: description: Reaction exists content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '201': description: Reaction created content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -100973,10 +101358,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *428 - *429 - - *430 - *674 - - *421 + - *420 responses: '204': description: Response @@ -101000,9 +101385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *428 - *429 - - *430 - - *488 + - *487 - *17 - *19 responses: @@ -101139,8 +101524,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - *17 - *19 - name: includes_parents @@ -101206,8 +101591,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 requestBody: description: Request body required: true @@ -101316,8 +101701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *428 - *429 - - *430 - *680 - *94 - *681 @@ -101352,8 +101737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *428 - *429 - - *430 - *685 responses: '200': @@ -101390,8 +101775,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101431,8 +101816,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101514,8 +101899,8 @@ paths: category: repos subcategory: rules parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101538,8 +101923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *428 - *429 - - *430 - *17 - *19 - name: ruleset_id @@ -101557,7 +101942,7 @@ paths: type: array items: *162 examples: - default: *382 + default: *381 '404': *6 '500': *38 x-github: @@ -101576,8 +101961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *428 - *429 - - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101595,7 +101980,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: default: value: @@ -101650,21 +102035,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *428 - *429 - - *430 + - *383 - *384 - *385 - *386 - - *387 - *99 - *19 - *17 - *689 - *690 + - *387 - *388 - *389 - *390 - - *391 responses: '200': description: Response @@ -101788,6 +102173,10 @@ paths: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: default: value: @@ -101880,6 +102269,25 @@ paths: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 '404': description: Repository is public or secret scanning is disabled for the repository @@ -101905,10 +102313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 - - *391 + - *515 + - *390 responses: '200': description: Response @@ -101966,9 +102374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 requestBody: required: true content: @@ -102071,9 +102479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *428 - *429 - - *430 - - *516 + - *515 - *19 - *17 responses: @@ -102209,8 +102617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -102286,8 +102694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *428 - *429 - - *430 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102408,8 +102816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *428 - *429 - - *430 - *99 - name: sort description: The property to sort the results by. @@ -102478,8 +102886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -102559,7 +102967,7 @@ paths: login: type: string description: The username of the user credited. - type: *396 + type: *395 required: - login - type @@ -102884,8 +103292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -103145,8 +103553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *428 - *429 - - *430 - *713 responses: '200': @@ -103179,8 +103587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *428 - *429 - - *430 - *713 requestBody: required: true @@ -103261,7 +103669,7 @@ paths: login: type: string description: The username of the user credited. - type: *396 + type: *395 required: - login - type @@ -103393,8 +103801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: + - *428 - *429 - - *430 - *713 responses: '202': *37 @@ -103422,17 +103830,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *428 - *429 - - *430 - *713 responses: '202': description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 '400': *14 '422': *15 '403': *27 @@ -103458,8 +103866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -103555,8 +103963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *428 - *429 - - *430 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103598,8 +104006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -103677,8 +104085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -103772,8 +104180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *428 - *429 - - *430 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103927,8 +104335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *428 - *429 - - *430 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103971,8 +104379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *428 - *429 - - *430 - name: sha in: path required: true @@ -104082,8 +104490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -104115,8 +104523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *428 - *429 - - *430 responses: '200': description: if you subscribe to the repository @@ -104195,8 +104603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *428 - *429 - - *430 requestBody: required: false content: @@ -104249,8 +104657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -104270,8 +104678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -104353,8 +104761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -104419,8 +104827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -104474,8 +104882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: + - *428 - *429 - - *430 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104512,8 +104920,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *428 - *429 - - *430 - name: ref in: path required: true @@ -104549,8 +104957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *428 - *429 - - *430 - *17 - *19 responses: @@ -104562,7 +104970,7 @@ paths: type: array items: *271 examples: - default: *344 + default: *343 headers: Link: *41 '404': *6 @@ -104582,8 +104990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *428 - *429 - - *430 - *19 - *17 responses: @@ -104626,8 +105034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -104681,8 +105089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *428 - *429 - - *430 - &721 name: per description: The time frame to display results for. @@ -104801,8 +105209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -104896,8 +105304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *428 - *429 - - *430 responses: '200': description: Response @@ -104960,8 +105368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *428 - *429 - - *430 - *721 responses: '200': @@ -105060,8 +105468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *428 - *429 - - *430 requestBody: required: true content: @@ -105335,8 +105743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *428 - *429 - - *430 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105359,8 +105767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -105382,8 +105790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -105409,8 +105817,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *428 - *429 - - *430 - name: ref in: path required: true @@ -105502,9 +105910,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108056,7 +108464,7 @@ paths: committer: anyOf: - type: 'null' - - *486 + - *485 comment_count: type: integer message: @@ -108090,7 +108498,7 @@ paths: committer: anyOf: - type: 'null' - - *486 + - *485 parents: type: array items: @@ -108405,7 +108813,7 @@ paths: milestone: anyOf: - type: 'null' - - *367 + - *366 comments: type: integer created_at: @@ -108468,7 +108876,7 @@ paths: timeline_url: type: string format: uri - type: *330 + type: *329 performed_via_github_app: anyOf: - type: 'null' @@ -109721,9 +110129,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -109814,16 +110222,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '201': description: Response content: application/json: - schema: *410 + schema: *409 examples: - default: *411 + default: *410 '404': *6 '422': *15 '403': *27 @@ -109893,7 +110301,7 @@ paths: application/json: schema: type: array - items: *412 + items: *411 examples: default: *755 headers: @@ -109958,9 +110366,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: *413 + default: *412 x-github: triggersNotification: true githubCloudOnly: false @@ -109988,15 +110396,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - *754 - - *414 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *411 examples: - default: *413 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110022,7 +110430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - *754 - - *414 + - *413 requestBody: required: false content: @@ -110045,7 +110453,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *411 examples: default: *756 x-github: @@ -110073,7 +110481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - *754 - - *414 + - *413 responses: '204': description: Response @@ -110103,7 +110511,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *754 - - *414 + - *413 - *99 - *17 - *19 @@ -110114,7 +110522,7 @@ paths: application/json: schema: type: array - items: *415 + items: *414 examples: default: *757 headers: @@ -110146,7 +110554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *754 - - *414 + - *413 requestBody: required: true content: @@ -110168,9 +110576,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: *416 + default: *415 x-github: triggersNotification: true githubCloudOnly: false @@ -110198,16 +110606,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 responses: '200': description: Response content: application/json: - schema: *415 + schema: *414 examples: - default: *416 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110233,8 +110641,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -110256,7 +110664,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *414 examples: default: *758 x-github: @@ -110284,8 +110692,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 responses: '204': description: Response @@ -110315,8 +110723,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -110342,9 +110750,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 x-github: @@ -110374,8 +110782,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *754 - - *414 - - *417 + - *413 + - *416 requestBody: required: true content: @@ -110407,9 +110815,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110436,7 +110844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *754 - - *414 + - *413 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -110462,9 +110870,9 @@ paths: application/json: schema: type: array - items: *418 + items: *417 examples: - default: *420 + default: *419 headers: Link: *41 x-github: @@ -110494,7 +110902,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *754 - - *414 + - *413 requestBody: required: true content: @@ -110526,9 +110934,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *417 examples: - default: *419 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110562,9 +110970,9 @@ paths: application/json: schema: type: array - items: *327 + items: *326 examples: - default: *328 + default: *327 headers: Link: *41 x-github: @@ -110762,7 +111170,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: response-if-user-is-a-team-maintainer: *759 '404': *6 @@ -110823,7 +111231,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *425 examples: response-if-users-membership-with-team-is-now-pending: *760 '403': @@ -110898,7 +111306,7 @@ paths: application/json: schema: type: array - items: *427 + items: *426 examples: default: *761 headers: @@ -110927,13 +111335,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *754 - - *428 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *426 examples: default: *762 '404': @@ -110960,7 +111368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *754 - - *428 + - *427 requestBody: required: false content: @@ -111028,7 +111436,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *754 - - *428 + - *427 responses: '204': description: Response @@ -111067,7 +111475,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 '404': *6 @@ -111098,8 +111506,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *754 + - *428 - *429 - - *430 responses: '200': description: Alternative response with extra repository information @@ -111257,8 +111665,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *754 + - *428 - *429 - - *430 requestBody: required: false content: @@ -111309,8 +111717,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *754 + - *428 - *429 - - *430 responses: '204': description: Response @@ -111345,9 +111753,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 '403': *27 '404': *6 x-github: @@ -111435,7 +111843,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: default: value: @@ -112124,9 +112532,9 @@ paths: type: integer codespaces: type: array - items: *335 + items: *334 examples: - default: *336 + default: *335 '304': *35 '500': *38 '401': *23 @@ -112265,17 +112673,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '401': *23 '403': *27 '404': *6 @@ -112361,7 +112769,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *537 headers: Link: *41 x-github: @@ -112729,15 +113137,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '304': *35 '500': *38 '401': *23 @@ -112763,7 +113171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 requestBody: required: false content: @@ -112793,9 +113201,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '401': *23 '403': *27 '404': *6 @@ -112817,7 +113225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '202': *37 '304': *35 @@ -112846,7 +113254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '202': description: Response @@ -112937,7 +113345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *337 + - *336 - name: export_id in: path required: true @@ -112973,7 +113381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *337 + - *336 responses: '200': description: Response @@ -112989,7 +113397,7 @@ paths: type: integer machines: type: array - items: *537 + items: *536 examples: default: *771 '304': *35 @@ -113020,7 +113428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *337 + - *336 requestBody: required: true content: @@ -113076,11 +113484,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *442 + repository: *441 machine: anyOf: - type: 'null' - - *537 + - *536 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -113877,15 +114285,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '304': *35 '500': *38 '400': *14 @@ -113917,15 +114325,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *337 + - *336 responses: '200': description: Response content: application/json: - schema: *335 + schema: *334 examples: - default: *536 + default: *535 '500': *38 '401': *23 '403': *27 @@ -113955,7 +114363,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: &783 value: @@ -115067,12 +115475,12 @@ paths: application/json: schema: anyOf: - - *325 + - *324 - type: object properties: {} additionalProperties: false examples: - default: *326 + default: *325 '204': description: Response when there are no restrictions x-github: @@ -115107,7 +115515,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *324 examples: default: value: @@ -115188,7 +115596,7 @@ paths: - closed - all default: open - - *333 + - *332 - name: sort description: What to sort results by. in: query @@ -115213,7 +115621,7 @@ paths: type: array items: *195 examples: - default: *334 + default: *333 headers: Link: *41 '404': *6 @@ -115631,7 +116039,7 @@ paths: application/json: schema: type: array - items: *338 + items: *337 examples: default: value: @@ -115739,7 +116147,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: default: value: @@ -115822,7 +116230,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *337 examples: default: value: @@ -115890,7 +116298,7 @@ paths: application/json: schema: type: array - items: *340 + items: *339 examples: default: value: @@ -116152,7 +116560,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -116332,7 +116740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *341 + - *340 - name: exclude in: query required: false @@ -116345,7 +116753,7 @@ paths: description: Response content: application/json: - schema: *340 + schema: *339 examples: default: value: @@ -116539,7 +116947,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *341 + - *340 responses: '302': description: Response @@ -116565,7 +116973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *341 + - *340 responses: '204': description: Response @@ -116594,7 +117002,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *341 + - *340 - *780 responses: '204': @@ -116619,7 +117027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *341 + - *340 - *17 - *19 responses: @@ -116631,7 +117039,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 '404': *6 @@ -116720,7 +117128,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: *783 '400': *784 @@ -116743,14 +117151,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: + - *346 - *347 - - *348 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: default: &800 value: @@ -116865,8 +117273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: + - *346 - *347 - - *348 responses: '204': description: Response @@ -116896,8 +117304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - name: token description: package token schema: @@ -116929,8 +117337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: + - *346 - *347 - - *348 - *19 - *17 - name: state @@ -116950,7 +117358,7 @@ paths: application/json: schema: type: array - items: *349 + items: *348 examples: default: value: @@ -116999,15 +117407,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 responses: '200': description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -117043,9 +117451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 responses: '204': description: Response @@ -117075,9 +117483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 responses: '204': description: Response @@ -117135,7 +117543,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *360 examples: default: value: @@ -117640,9 +118048,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *441 examples: - default: *444 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117705,7 +118113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *329 + - *328 responses: '204': description: Response @@ -117728,7 +118136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *329 + - *328 responses: '204': description: Response @@ -118302,8 +118710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: + - *428 - *429 - - *430 responses: '204': description: Response if this repository is starred by you @@ -118331,8 +118739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -118356,8 +118764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *428 - *429 - - *430 responses: '204': description: Response @@ -118392,7 +118800,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 '304': *35 @@ -118429,7 +118837,7 @@ paths: application/json: schema: type: array - items: *410 + items: *409 examples: default: value: @@ -118974,7 +119382,7 @@ paths: initiator: type: string examples: - default: *482 + default: *481 '201': description: Response content: @@ -119013,7 +119421,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: *783 '403': *27 @@ -119661,7 +120069,7 @@ paths: application/json: schema: type: array - items: *345 + items: *344 examples: default: *783 '403': *27 @@ -119686,15 +120094,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: + - *346 - *347 - - *348 - *178 responses: '200': description: Response content: application/json: - schema: *345 + schema: *344 examples: default: *800 x-github: @@ -119717,8 +120125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: + - *346 - *347 - - *348 - *178 responses: '204': @@ -119751,8 +120159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: + - *346 - *347 - - *348 - *178 - name: token description: package token @@ -119785,8 +120193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: + - *346 - *347 - - *348 - *178 responses: '200': @@ -119795,7 +120203,7 @@ paths: application/json: schema: type: array - items: *349 + items: *348 examples: default: value: @@ -119853,16 +120261,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: + - *346 - *347 - - *348 - - *350 + - *349 - *178 responses: '200': description: Response content: application/json: - schema: *349 + schema: *348 examples: default: value: @@ -119897,10 +120305,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: + - *346 - *347 - - *348 - *178 - - *350 + - *349 responses: '204': description: Response @@ -119932,10 +120340,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: + - *346 - *347 - - *348 - *178 - - *350 + - *349 responses: '204': description: Response @@ -119982,7 +120390,7 @@ paths: application/json: schema: type: array - items: *361 + items: *360 examples: default: value: @@ -120057,9 +120465,9 @@ paths: application/json: schema: type: array - items: *362 + items: *361 examples: - default: *363 + default: *362 headers: Link: *41 '304': *35 @@ -120081,16 +120489,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *364 + - *363 - *178 responses: '200': description: Response content: application/json: - schema: *362 + schema: *361 examples: - default: *363 + default: *362 headers: Link: *41 '304': *35 @@ -120112,7 +120520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *364 + - *363 - *178 - *17 - *97 @@ -120124,9 +120532,9 @@ paths: application/json: schema: type: array - items: *365 + items: *364 examples: - default: *366 + default: *365 headers: Link: *41 '304': *35 @@ -120148,7 +120556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *364 + - *363 - *801 - *178 responses: @@ -120156,9 +120564,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *364 examples: - default: *366 + default: *365 headers: Link: *41 '304': *35 @@ -120181,7 +120589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *364 + - *363 - *178 - *97 - *98 @@ -120212,9 +120620,9 @@ paths: application/json: schema: type: array - items: *371 + items: *370 examples: - default: *372 + default: *371 headers: Link: *41 '304': *35 @@ -120236,7 +120644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *178 - - *364 + - *363 requestBody: required: true description: Details of the item to add to the project. @@ -120275,8 +120683,8 @@ paths: application/json: schema: *802 examples: - issue: *370 - pull_request: *370 + issue: *369 + pull_request: *369 '304': *35 '403': *27 '401': *23 @@ -120296,9 +120704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *364 + - *363 - *178 - - *373 + - *372 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120316,9 +120724,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - default: *372 + default: *371 headers: Link: *41 '304': *35 @@ -120339,9 +120747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *364 + - *363 - *178 - - *373 + - *372 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120414,13 +120822,13 @@ paths: description: Response content: application/json: - schema: *371 + schema: *370 examples: - text_field: *372 - number_field: *372 - date_field: *372 - single_select_field: *372 - iteration_field: *372 + text_field: *371 + number_field: *371 + date_field: *371 + single_select_field: *371 + iteration_field: *371 '401': *23 '403': *27 '404': *6 @@ -120440,9 +120848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *364 + - *363 - *178 - - *373 + - *372 responses: '204': description: Response @@ -120690,7 +121098,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -120720,9 +121128,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120750,9 +121158,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: - default: *403 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120910,9 +121318,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *403 examples: - default: *405 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121141,7 +121549,7 @@ paths: type: array items: *244 examples: - default: *351 + default: *350 headers: Link: *41 x-github: @@ -124026,7 +124434,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *499 + items: *498 repository: *244 status: type: string @@ -124131,7 +124539,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *499 + items: *498 started_at: type: string format: date-time @@ -127912,7 +128320,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128244,7 +128652,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128588,7 +128996,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128947,7 +129355,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129232,7 +129640,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129521,7 +129929,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *510 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130457,11 +130865,11 @@ webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *375 + items: *374 old_property_values: type: array description: The old custom property values for the repository. - items: *375 + items: *374 required: - action - repository @@ -142566,7 +142974,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -143990,7 +144398,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -145265,7 +145673,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -146910,7 +147318,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -147933,7 +148341,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -149089,7 +149497,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -150124,7 +150532,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -151279,7 +151687,7 @@ webhooks: timeline_url: type: string format: uri - type: *330 + type: *329 title: description: Title of the issue type: string @@ -152297,7 +152705,7 @@ webhooks: timeline_url: type: string format: uri - type: *330 + type: *329 title: description: Title of the issue type: string @@ -153340,7 +153748,7 @@ webhooks: timeline_url: type: string format: uri - type: *330 + type: *329 title: description: Title of the issue type: string @@ -154355,7 +154763,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -155429,7 +155837,7 @@ webhooks: required: - login - id - type: *330 + type: *329 required: - id - number @@ -156744,7 +157152,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -157756,7 +158164,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -158874,7 +159282,7 @@ webhooks: format: uri user_view_type: type: string - type: *330 + type: *329 organization: *808 repository: *809 sender: *4 @@ -159786,7 +160194,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -160455,7 +160863,7 @@ webhooks: enterprise: *806 installation: *807 issue: *840 - type: *330 + type: *329 organization: *808 repository: *809 sender: *4 @@ -161634,7 +162042,7 @@ webhooks: title: description: Title of the issue type: string - type: *330 + type: *329 updated_at: type: string format: date-time @@ -161881,7 +162289,7 @@ webhooks: enterprise: *806 installation: *807 issue: *840 - type: *330 + type: *329 organization: *808 repository: *809 sender: *4 @@ -163887,7 +164295,7 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *502 required: - head_sha - head_ref @@ -169678,7 +170086,7 @@ webhooks: - closed installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -169761,7 +170169,7 @@ webhooks: - created installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -169844,7 +170252,7 @@ webhooks: - deleted installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -169967,7 +170375,7 @@ webhooks: type: string installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -170086,7 +170494,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *369 + content_type: *368 creator: *4 created_at: type: string @@ -170841,7 +171249,7 @@ webhooks: - reopened installation: *807 organization: *808 - projects_v2: *362 + projects_v2: *361 sender: *4 required: - action @@ -178834,7 +179242,7 @@ webhooks: enum: - demilestoned enterprise: *806 - milestone: *367 + milestone: *366 number: *858 organization: *808 pull_request: &860 @@ -191080,7 +191488,7 @@ webhooks: enum: - milestoned enterprise: *806 - milestone: *367 + milestone: *366 number: *858 organization: *808 pull_request: *860 @@ -236640,6 +237048,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - *4 enterprise: *806 installation: *807 organization: *808 @@ -237883,11 +238295,11 @@ webhooks: from: type: object properties: - security_and_analysis: *376 + security_and_analysis: *375 enterprise: *806 installation: *807 organization: *808 - repository: *442 + repository: *441 sender: *4 required: - changes diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 8116f68644..5c122b8bde 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -25564,7 +25564,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" @@ -25834,9 +25837,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -25851,8 +25861,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -35641,6 +35651,305 @@ } } }, + "/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": [ + { + "$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/enterprise-cloud@latest//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" + ], + "examples": [ + "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": [ + { + "$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/enterprise-cloud@latest//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/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": [ + { + "$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/enterprise-cloud@latest//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", @@ -60899,6 +61208,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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", @@ -117269,7 +117697,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -126681,6 +127109,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -137921,6 +138359,32 @@ ], "additionalProperties": false }, + "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" + ], + "examples": [ + "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" + ] + }, "group-mapping": { "title": "GroupMapping", "description": "External Groups to be mapped to a team for membership", @@ -148742,6 +149206,31 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -153957,6 +154446,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -172033,6 +172532,16 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -309324,7 +309833,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -331249,7 +331778,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -339332,6 +339881,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" + } + }, "alert-dismissal-reviewer-name": { "name": "reviewer", "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 75e7faaa54..9d8c55ada5 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -18423,7 +18423,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" @@ -18618,9 +18619,13 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -18630,8 +18635,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -25577,6 +25582,231 @@ 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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 + examples: + - 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. + + 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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/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`. + + 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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -44087,6 +44317,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -84362,8 +84672,8 @@ components: - write organization_custom_properties: type: string - description: The level of permission to grant the access token for custom - property management. + description: The level of permission to grant the access token for repository + custom properties management at the organization level. enum: - read - write @@ -91537,6 +91847,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -99835,6 +100149,28 @@ components: - collaborating_teams - private_fork additionalProperties: false + 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 + examples: + - 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 group-mapping: title: GroupMapping description: External Groups to be mapped to a team for membership @@ -107688,6 +108024,24 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository owner. + examples: + - false + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -111224,6 +111578,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -124570,6 +124928,10 @@ components: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -227360,6 +227722,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -246197,6 +246578,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 secret-scanning-alert-open: value: number: 42 @@ -253184,6 +253584,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 alert-dismissal-reviewer-name: name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 8116f68644..5c122b8bde 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -25564,7 +25564,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" @@ -25834,9 +25837,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -25851,8 +25861,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -35641,6 +35651,305 @@ } } }, + "/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": [ + { + "$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/enterprise-cloud@latest//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" + ], + "examples": [ + "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": [ + { + "$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/enterprise-cloud@latest//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/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": [ + { + "$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/enterprise-cloud@latest//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", @@ -60899,6 +61208,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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", @@ -117269,7 +117697,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -126681,6 +127109,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -137921,6 +138359,32 @@ ], "additionalProperties": false }, + "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" + ], + "examples": [ + "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" + ] + }, "group-mapping": { "title": "GroupMapping", "description": "External Groups to be mapped to a team for membership", @@ -148742,6 +149206,31 @@ "test_url" ] }, + "check-immutable-releases": { + "title": "Check immutable releases", + "description": "Check immutable releases", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether immutable releases are enabled for the repository.", + "examples": [ + true + ] + }, + "enforced_by_owner": { + "type": "boolean", + "description": "Whether immutable releases are enforced by the repository owner.", + "examples": [ + false + ] + } + }, + "required": [ + "enabled", + "enforced_by_owner" + ] + }, "import": { "title": "Import", "description": "A repository import from an external source.", @@ -153957,6 +154446,16 @@ "has_more_locations": { "type": "boolean", "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -172033,6 +172532,16 @@ "null" ], "description": "Whether the detected secret was found in multiple repositories in the same organization or business." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] } } }, @@ -309324,7 +309833,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -331249,7 +331778,27 @@ "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" }, - "has_more_locations": true + "has_more_locations": true, + "assigned_to": { + "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 + } } ] }, @@ -339332,6 +339881,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" + } + }, "alert-dismissal-reviewer-name": { "name": "reviewer", "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 75e7faaa54..9d8c55ada5 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -18423,7 +18423,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" @@ -18618,9 +18619,13 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -18630,8 +18635,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret @@ -25577,6 +25582,231 @@ 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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 + examples: + - 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. + + 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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/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`. + + 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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -44087,6 +44317,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -84362,8 +84672,8 @@ components: - write organization_custom_properties: type: string - description: The level of permission to grant the access token for custom - property management. + description: The level of permission to grant the access token for repository + custom properties management at the organization level. enum: - read - write @@ -91537,6 +91847,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -99835,6 +100149,28 @@ components: - collaborating_teams - private_fork additionalProperties: false + 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 + examples: + - 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 group-mapping: title: GroupMapping description: External Groups to be mapped to a team for membership @@ -107688,6 +108024,24 @@ components: - updated_at - last_response - test_url + check-immutable-releases: + title: Check immutable releases + description: Check immutable releases + type: object + properties: + enabled: + type: boolean + description: Whether immutable releases are enabled for the repository. + examples: + - true + enforced_by_owner: + type: boolean + description: Whether immutable releases are enforced by the repository owner. + examples: + - false + required: + - enabled + - enforced_by_owner import: title: Import description: A repository import from an external source. @@ -111224,6 +111578,10 @@ components: type: boolean description: A boolean value representing whether or not the token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -124570,6 +124928,10 @@ components: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -227360,6 +227722,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -246197,6 +246578,25 @@ components: commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b has_more_locations: true + assigned_to: + 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 secret-scanning-alert-open: value: number: 42 @@ -253184,6 +253584,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 alert-dismissal-reviewer-name: name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 716c5eba55..0c068cac1e 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -4538,7 +4538,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -5944,7 +5944,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -6883,7 +6883,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -12583,7 +12583,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -13674,7 +13674,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -14538,7 +14538,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -14967,7 +14967,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -18129,7 +18129,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -19252,7 +19252,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -20239,7 +20239,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -20929,7 +20929,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -22656,7 +22656,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -23787,7 +23787,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -24993,7 +24993,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -25940,7 +25940,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -27124,7 +27124,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -28071,7 +28071,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -29129,7 +29129,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -30226,7 +30226,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -99902,9 +99902,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -99919,8 +99926,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -109887,7 +109894,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -110993,7 +111000,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -310423,7 +310430,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -500024,7 +500031,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -547924,7 +547931,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -744605,7 +744612,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -747687,7 +747694,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -750674,7 +750681,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -753661,7 +753668,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -756782,7 +756789,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -759910,7 +759917,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -765049,7 +765056,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 6fb1a64471..59f2c40c03 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -2749,7 +2749,8 @@ paths: organization_custom_properties: type: string description: The level of permission to grant the - access token for custom property management. + access token for repository custom properties management + at the organization level. enum: - read - write @@ -26751,9 +26752,13 @@ paths: an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. + endpoints. Use integers when possible, as strings are supported + only to maintain backwards compatibility and may be removed in + the future. items: - type: string + anyOf: + - type: integer + - type: string required: - visibility examples: @@ -26763,8 +26768,8 @@ paths: key_id: '012345678912345678' visibility: selected selected_repository_ids: - - '1296269' - - '1296280' + - 1296269 + - 1296280 responses: '201': description: Response when creating a secret diff --git a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json index 716c5eba55..0c068cac1e 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.deref.json @@ -4538,7 +4538,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -5944,7 +5944,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -6883,7 +6883,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -12583,7 +12583,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -13674,7 +13674,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -14538,7 +14538,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -14967,7 +14967,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -18129,7 +18129,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -19252,7 +19252,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -20239,7 +20239,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -20929,7 +20929,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -22656,7 +22656,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -23787,7 +23787,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -24993,7 +24993,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -25940,7 +25940,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -27124,7 +27124,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -28071,7 +28071,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -29129,7 +29129,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -30226,7 +30226,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -99902,9 +99902,16 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.14/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", "items": { - "type": "string" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } }, @@ -99919,8 +99926,8 @@ "key_id": "012345678912345678", "visibility": "selected", "selected_repository_ids": [ - "1296269", - "1296280" + 1296269, + 1296280 ] } } @@ -109887,7 +109894,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -110993,7 +111000,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -310423,7 +310430,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -500024,7 +500031,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -547924,7 +547931,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -744605,7 +744612,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -747687,7 +747694,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -750674,7 +750681,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -753661,7 +753668,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -756782,7 +756789,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + "description": "The level of permission to grant the access token for repository custom properties management at the organization level.", "enum": [ "read", "write", @@ -759910,7 +759917,7 @@ }, "organization_custom_properties": { "type": "string", - "description": "The level of permission to grant the access token for custom property management.", + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}